Linux File Systems Partitioning Mounting File Systems

Slides:



Advertisements
Similar presentations
ITI-481: Unix Administration Rutgers University Center for Applied Computer Technologies Christopher Uriarte, Instructor Meeting 4.
Advertisements

Linux+ Guide to Linux Certification, Second Edition
Chapter 9 Part III Linux File System Administration
System Administration Storage Systems. Agenda Storage Devices Partitioning LVM File Systems.
Understanding the Boot Process and Command Line
Basic Unix system administration
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
LinuxChix Africa UNIX BASICS. To r00t or not to r00t ● Unix security is (in most cases) binary. Either you are root or you are not. – Effects on permissions.
Chapter 3 Understanding the Boot Process and Command Line.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
System Startup and Shutdown
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Laksh mi.  fdisk is an interactive utility to manipulate disk partitions.  Use fdisk –l to review the disks and partitions on the system.  Use fdisk.
Chapter 8: Adding a Disk — Unix Hard Disk Basics Installation and Configuration Barry Kane CMSC-691X.
Partitioning the SD card ● First of all remember that check the drive which you are formatting otherwise you will loose all your data, “SDA” is reserved.
Week 10 Project 3: An Introduction to File Systems
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Linux Operations and Administration
Linux+ Guide to Linux Certification, Third Edition
Linux Installation and Administration – Lesson 5 Tutor: George Papamarkos Topic: Devices in Linux.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
1 Chapter Overview Floppy Disk Drives Hard Disk Drives.
Day 8 Exporting Displays Cronjobs Mount. Chapter 5 Chapter 5 talks about X windows. –You should read the chapter. –However, you do not need to pay particular.
1 Project 3: An Introduction to File Systems CS3430 Operating Systems University of Northern Iowa.
Chapter 6: Linux Filesystem Administration
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
1 Objectives Manage and install new file systems.
Chapter 2 (Cont.) The Unix Way Essential System Administration, 3rd Edition.
Sys Admin Course Physical Storage and File Systems Fourie Joubert.
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
Windows Vista Inside Out Chapter 28 - Chapter 28 - Managing Disks and Drives Last modified
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 10 Understanding.
1 C1-UD 6-6 BASIC LINUX FILE MANAGEMENT. Part IV. File System Administration Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems)
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
Linux Filesystem Administration
Boot Diskettes, Bootable USB Keys and Live CDs Used when the computer can't start for some reason, as a diagnostic, repair and recovery tool. Boot diskettes.
Partitioning.
Configuring Disk Quotas
OPS235: Week 2 Installing Linux
Guide to Linux Installation and Administration, 2e
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Introduction to Operating Systems
Basic Commands ls cp ls –l (in detail format) echo ls –a
Unix System Administration
Project 3: An Introduction to File Systems
Introduction to Computers
Introduction to Computers
Exploring the UNIX File System and File Security
Operating System Module 1: Linux Installation
Troubleshooting (CPU)
OPS235: Week 5 Lab4: Investigations 1 – 3
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
Instructor Materials Chapter 5: Windows Installation
Configuring Disk Quotas
Presentation transcript:

Linux File Systems Partitioning Mounting File Systems OPS235

Lab 4 – Part 1 Topics Linux File Systems (ext2 / ext3 / ext4) Linux Partitioning / Formatting Mounting Linux File Systems

Linux File Systems A file system is necessary part of an operating system since it is a structure that is used to store data. When the operating system is installed, one of the first operations is to create a partition and then format the storage device to create the file system. There are many types of file system architectures for the Unix and Linux operating systems that have evolved over the years (for example: ext2, ext3, Reiser, ext4) . Each of them have their own characteristics and advantages...

Linux File Systems Which Linux File System Type to Use? Second Extended file system (ext2) is older, but is good for supporting large database storage (more efficient write and access) Third Extended file system (ext3) allows for journalling. Journalling tracks changes in the file-system, which helps to prevent data corruption in case of system crashes. Fourth Extended file system (ext4) newer that allows support for extremely large files. Features include journalling, and easy migration from ext3 to ext4. Normally when partition is formatted, can specify the number of boot prior to file-system checks.

Linux Partitioning / Formatting Device names for storage are located in the /dev directory and have different names based on the number of hard disks, and type of disk. For example: /dev/sda (for sata drives), /dev/hdb (for IDE drives), etc. Storage devices can be subdivided into smaller containers called partitions (which are numbered). For example: /dev/sda5, /dev/sda6, /dev/sdb1, /dev/sdb2. There are graphical tools to create hard disk partitions (eg. gparted), as well as command line utilities (eg. fdisk). Graphical tools (such as gparted) can also format the partitions, but you can also use command-line utilities (such as mkfs.ext2, mkfs.ext3, mkfs.ext4)

Mounting File Systems Mounting a partition allows the computer to “connect” to a storage device for writing and access. Un-mounting simply disconnects the storage device from the computer system. Users have become accustomed to computers automatically mounting devices (plug and play). On the other hand, it is beneficial for system administrators to learn how to perform mounting and un-mounting storage devices manually. An example of the usefulness of manually mounting a storage device can be when the system fails to boot-up into graphical mode. The system administrator, may be able to switch to a text-based console (single user mode, CTRL-ALT-F#), or boot from a live CD, and mount to existing file system on hard-disk...

Mounting File Systems The manual mount command for newer Linux file systems is: mount [device-name] [mount-point-directoryname] (For example: mount /dev/sda5 rescue-dir) Note: the system administrator may need to create a directory prior to use the mount command to connect the storage area to the directory or “mount-point”. To disconnect the storage area from the computer, the system administrator can issue the Linux command: umount [mount-point-directoryname] (Note: the command is umount, not unmount!)

Mounting File Systems It would get annoying if the system administrator had to manually mount partitions upon boot-up. Fortunately, the system has a file that will automatically mount partitions upon bootup called fstab (short for File System Table). fstab is located in the /etc directory. The system administrator can edit the fstab file by issuing the command: vi /etc/fstab. This file contains fields for mounting. Issue the command man fstab for more details. NOTE: Take great care when editing the fstab file. Incorrect entries may not allow the partition to be properly connected to the system which can cause problems when booting-up system!