logo © 1996 Phil Waclawski
Felitaur Site
Offerings
About Me
Crafts
Services
ftp files
Help Files
What's New?
Home Page
Other Links
Anatomy &
Physiology
Arthropods
Biology
Computers
Ferrets
Fun Links
Internet
Linux
S.C.A.
Win 95/NT
Comments or
Suggestions
webmaster@ felitaur.com
   
Hard Drive and File System Management
Lecture Overview Index | Linux SysAdmin Homepage
Overview
Week 5 for CIS126DL Linux Administration Course

Managing File Systems, Swap, Devices

The following commands/programs will be used/discussed this week:

mount and umount (gnome-mount)
fdisk
fsck
mkswap
mkfs.ext4 (and others)
quota
quotaon
quotaoff (Must do this before shutting down)
edquota
quotacheck
rpm -Va
du
df
e2label
mdadm
lvm

Directories/files:
/etc/fstab
/etc/mtab

Questions
What is rpm?
What do the following do?
rpm -Uvh
rpm -Va
rpm -Vf
rpm -qfl
Why do you need quotas?
Why can't you just pop a floppy in the drive and type a: like in DOS?
Why might you have troubles umount-ing a drive or partition?
What file determines what file systems are mounted at bootup?
What file has the list of the presently mounted filesystems?
What is the file system NUMBER for a NTFS file system? What command can be used to find it?
What is the difference between raid 0, raid 1 and raid 5? How many drives/partitions do you need for each?
How is LVM (logical volume manager) different than raid? What are it's advantages?
What other file systems can be used in linux? What are the differences between JFS, XFS, Reiser and ZFS?
Activities & Assignments

  • Check out the man pages for lvm and mdadm, then check out a couple of the commands they suggest at the bottom of each man page
  • As root, carefully try "fdisk /dev/sda" and hit "m" for menu, try "p" to print the, partition table, "l" to list known partition types and "q" to quit
Resources