Show Table of Contents Hide Table of Contents English 日本語 English Multi-page HTML Single-page HTML PDF ePub Managing file systemsProviding feedback on Red Hat documentation1. Overview of available file systems1.1. Types of file systems1.2. Local file systems1.3. The XFS file system1.4. The ext4 file system1.5. Choosing a local file system1.6. Network file systems1.7. Shared storage file systems1.8. Choosing between network and shared storage file systems1.9. Volume-managing file systems2. Managing local storage using RHEL System Roles2.1. Introduction to the storage role2.2. Storage role parameters3. Mounting NFS shares3.1. Introduction to NFS3.2. Supported NFS versions3.3. Services required by NFS3.4. NFS host name formats3.5. Installing NFS3.6. Discovering NFS exports3.7. Mounting an NFS share with mount3.8. Common NFS mount options3.9. Related information4. Exporting NFS shares4.1. Introduction to NFS4.2. Supported NFS versions4.3. The TCP and UDP protocols in NFSv3 and NFSv44.4. Services required by NFS4.5. NFS host name formats4.6. NFS server configuration4.6.1. The /etc/exports configuration file4.6.2. The exportfs utility4.7. NFS and rpcbind4.8. Installing NFS4.9. Starting the NFS server4.10. Troubleshooting NFS and rpcbind4.11. Configuring the NFS server to run behind a firewall4.12. Exporting RPC quota through a firewall4.13. Enabling NFS over RDMA (NFSoRDMA)4.14. Configuring an NFSv4-only server4.14.1. Benefits and drawbacks of an NFSv4-only server4.14.2. NFS and rpcbind4.14.3. Configuring the NFS server to support only NFSv44.14.4. Verifying the NFSv4-only configuration4.15. Related information5. Securing NFS5.1. NFS security with AUTH_SYS and export controls5.2. NFS security with AUTH_GSS5.3. Configuring an NFS server and client to use Kerberos5.4. NFSv4 security options5.5. File permissions on mounted NFS exports6. Enabling pNFS SCSI layouts in NFS6.1. The pNFS technology6.2. pNFS SCSI layouts6.3. Checking for a SCSI device compatible with pNFS6.4. Setting up pNFS SCSI on the server6.5. Setting up pNFS SCSI on the client6.6. Releasing the pNFS SCSI reservation on the server6.7. Monitoring pNFS SCSI layouts functionality6.7.1. Checking pNFS SCSI operations from the server using nfsstat6.7.2. Checking pNFS SCSI operations from the client using mountstats7. Mounting an SMB Share on Red Hat Enterprise Linux7.1. Supported SMB protocol versions7.2. UNIX extensions support7.3. Manually mounting an SMB share7.4. Mounting an SMB share automatically when the system boots7.5. Authenticating to an SMB share using a credentials file7.6. Performing a multi-user SMB mount7.6.1. Mounting a share with the multiuser option7.6.2. Verifying if an SMB share is mounted with the multiuser option7.6.3. Accessing a share as a user7.7. Frequently used mount options8. Overview of persistent naming attributes8.1. Disadvantages of non-persistent naming attributes8.2. File system and device identifiers8.3. Device names managed by the udev mechanism in /dev/disk/8.3.1. File system identifiers8.3.2. Device identifiers8.4. The World Wide Identifier with DM Multipath8.5. Limitations of the udev device naming convention8.6. Listing persistent naming attributes8.7. Modifying persistent naming attributes9. Getting started with partitions9.1. Viewing the partition table9.1.1. Viewing the partition table with parted9.1.2. Example output of parted print9.2. Creating a partition table on a disk9.2.1. Considerations before modifying partitions on a disk9.2.2. Comparison of partition table types9.2.3. Creating a partition table on a disk with parted9.3. Creating a partition9.3.1. Considerations before modifying partitions on a disk9.3.2. Partition types9.3.3. Creating a partition with parted9.3.4. Setting a partition type with fdisk9.4. Removing a partition9.4.1. Considerations before modifying partitions on a disk9.4.2. Removing a partition with parted9.5. Resizing a partition9.5.1. Considerations before modifying partitions on a disk9.5.2. Resizing a partition with parted10. Getting started with XFS10.1. The XFS file system10.2. Creating an XFS file system10.2.1. Creating an XFS file system with mkfs.xfs10.2.2. Creating an XFS file system on a block device using RHEL System Roles10.3. Backing up an XFS file system10.3.1. Features of XFS backup10.3.2. Backing up an XFS file system with xfsdump10.3.3. Additional resources10.4. Restoring an XFS file system from backup10.4.1. Features of restoring XFS from backup10.4.2. Restoring an XFS file system from backup with xfsrestore10.4.3. Informational messages when restoring an XFS backup from a tape10.4.4. Additional resources10.5. Repairing an XFS file system10.5.1. Error-handling mechanisms in XFS10.5.2. Repairing an XFS file system with xfs_repair10.6. Increasing the size of an XFS file system10.6.1. Increasing the size of an XFS file system with xfs_growfs11. Mounting file systems11.1. The Linux mount mechanism11.2. Listing currently mounted file systems11.3. Mounting a file system with mount11.4. Moving a mount point11.5. Unmounting a file system with umount11.6. Common mount options11.7. Sharing a mount on multiple mount points11.7.1. Types of shared mounts11.7.2. Creating a private mount point duplicate11.7.3. Creating a shared mount point duplicate11.7.4. Creating a slave mount point duplicate11.7.5. Preventing a mount point from being duplicated11.7.6. Related information11.8. Persistently mounting file systems11.8.1. The /etc/fstab file11.8.2. Adding a file system to /etc/fstab11.8.3. Persistently mounting a file system using RHEL System Roles11.9. Mounting file systems on demand11.9.1. The autofs service11.9.2. The autofs configuration files11.9.3. Configuring autofs mount points11.9.4. Overriding or augmenting autofs site configuration files11.9.5. Using LDAP to store automounter maps11.10. Setting read-only permissions for the root file system11.10.1. Files and directories that always retain write permissions11.10.2. Configuring the root file system to mount with read-only permissions on boot12. Discarding unused blocks12.1. Block discard operations12.2. Types of block discard operations12.3. Performing batch block discard12.4. Enabling online block discard12.5. Enabling online block discard using RHEL System Roles12.5.1. An example Ansible playbook to enable online block discard12.5.2. Additional resources12.6. Enabling periodic block discard13. Managing layered local storage with Stratis13.1. Setting up Stratis file systems13.1.1. The purpose and features of Stratis13.1.2. Components of a Stratis volume13.1.3. Block devices usable with Stratis13.1.4. Installing Stratis13.1.5. Creating a Stratis pool13.1.6. Creating a Stratis file system13.1.7. Mounting a Stratis file system13.1.8. Persistently mounting a Stratis file system13.1.9. Related information13.2. Extending a Stratis volume with additional block devices13.2.1. Components of a Stratis volume13.2.2. Adding block devices to a Stratis pool13.2.3. Related information13.3. Monitoring Stratis file systems13.3.1. Stratis sizes reported by different utilities13.3.2. Displaying information about Stratis volumes13.3.3. Related information13.4. Using snapshots on Stratis file systems13.4.1. Characteristics of Stratis snapshots13.4.2. Creating a Stratis snapshot13.4.3. Accessing the content of a Stratis snapshot13.4.4. Reverting a Stratis file system to a previous snapshot13.4.5. Removing a Stratis snapshot13.4.6. Related information13.5. Removing Stratis file systems13.5.1. Components of a Stratis volume13.5.2. Removing a Stratis file system13.5.3. Removing a Stratis pool13.5.4. Related information14. Getting started with an ext3 file system14.1. Features of an ext3 file system14.2. Creating an ext3 file system14.3. Mounting an ext3 file system14.4. Resizing an ext3 file system14.5. Creating and mounting ext3 file systems using RHEL System Roles14.5.1. An example Ansible playbook to create and mount an ext3 file system14.5.2. Additional resources15. Getting started with an ext4 file system15.1. Features of an ext4 file system15.2. Creating an ext4 file system15.3. Mounting an ext4 file system15.4. Resizing an ext4 file system15.5. Creating and mounting ext4 file systems using RHEL System Roles15.5.1. An example Ansible playbook to create and mount an ext4 file system15.5.2. Additional resourcesLegal Notice Managing file systems Red Hat Enterprise Linux 8Creating, modifying, and administering file systems in Red Hat Enterprise Linux 8Red Hat Customer Content ServicesLegal NoticeAbstract This documentation collection provides instructions on how to effectively manage file systems in Red Hat Enterprise Linux 8. Providing feedback on Red Hat documentation Where did the comment section go?Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.