Chapter 10. Filesystems and Disks

Managing Unix filesystems is one of the system administrator’s most importanttasks. You are responsible for ensuring that users have access to the files they need and that these files remain uncorrupted and secure. Administering afilesystem includes tasks such as:

  • Making local and remote files available to users

  • Monitoring and managing the system’s disk resources

  • Protecting against file corruption, hardware failures, and user errors via a well-planned backup schedule

  • Ensuring data confidentiality by limiting file and system access

  • Checking for and correcting filesystem corruption

  • Connecting and configuring new storage devices when needed

Some of these tasks—such as checking for and correcting filesystem corruption—are usually done automatically at boot time, as part of the initial system startup. Others—like monitoring disk space usage and backups—are often done manually, on a periodic or as-needed basis.

This chapter describes how Unix handles disks and filesystems. It covers such topics as mounting and dismounting local and remote filesystems, the filesystem configuration file, making local filesystems available to remote Unix and Windows users, checking local filesystem integrity with the fsck utility, and adding new disks to the system. It also looks at some optional filesystem features offered in some Unix implementations.

Tip

We looked at file ownership and protection in Section 2.1. This chapter considers filesystem protection for network shared filesystems. ...

Get Essential System Administration, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.