1 / 14

Module 7: File Systems

Module 7: File Systems. It will cover management local disks and network file system. File Systems. To a “ user ” , FS is a directory tree. (the user file system)

tao
Download Presentation

Module 7: File Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 7: File Systems • It will cover management local disks and network file system. Module 7 File Systems

  2. File Systems • To a “user”, FS is a directory tree. (the user file system) • To the OS, FS is a structure that provides efficient and convenient access to the data on the disk. The OS uses a file system to allow the data to be stored, located, and retrieved from disk easily. Module 7 File Systems

  3. Understanding File System • Block is the basic unit of disk storage. • i-Node – a control structure that points either to other I-nodes or to data blocks. • Superblock – contains important information about the file system such as its label, size, and total number of i-nodes. • Many copies of superblock resides in multiple place on disk. Module 7 File Systems

  4. Managing File System • Mounting and unmounting local disk • The FS management process begins with the root directory. Module 7 File Systems

  5. Directories / boot, bin, etc, dev, home,… sbin, rc, conf, cdrom, bill, fred . Module 7 File Systems

  6. Disk mounting The mount command associates a file system (as the OS sees it) to the file system hierarchy (directory tree, as the user sees it) at a mount point (a single directory). Module 7 File Systems

  7. mounting • Mount [options] device directory [ ]# mount /dev/hdc /mnt/cdrom • Umonut [options] directory [ ]# umount /mnt/cdrom • You cannot unmount a FS when it is in use. Module 7 File Systems

  8. Unmount FS with GUI tool System -> Disk Management (check for different OSs) Module 7 File Systems

  9. Configuration file and tool • File /etc/fstab • Tool fsck (File System Check) Module 7 File Systems

  10. About fstab • What is in /etc/fstab? device mount fstype parameters fs_freq fs_passno /dev/hda2 /home ext3 default 1 2 Module 7 File Systems

  11. fsck Tool fsck (File System Check) Used to diagnose and repair File System Module 7 File Systems

  12. Using Network File System (NFS) • Centralized disks mount servername:/dir1 /dir2 mount myserver:/mainfile/test1 /onserver Module 7 File Systems

  13. Summary • Understanding File System: i-Node, superblock, ext3 • Managing FS: mount and unmount • Using NFS: Module 7 File Systems

  14. Questions • What is a superblock? • What file contains information on how to mount the partitions on a system? Module 7 File Systems

More Related