Felitaur Site
Offerings
|
   
|
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
mke2fs
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 |
|
- Make /tmp noexec in /etc/fstab (does this really help?)
- 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
You can also check out the hard drives by mount -t vfat /dev/hda1 (or is it hda2 now?)
/mnt/windows (Note, you need to make the directory "windows" under "mnt"
first, and as our kernel isn't compiled for NTFS support, no go)
|
| Resources |
|
|
|
|