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. Mounting NFS shares2.1. Introduction to NFS2.2. Supported NFS versions2.3. Services required by NFS2.4. NFS host name formats2.5. Installing NFS2.6. Discovering NFS exports2.7. Mounting an NFS share with mount2.8. Common NFS mount options2.9. Related information3. Exporting NFS shares3.1. Introduction to NFS3.2. Supported NFS versions3.3. The TCP and UDP protocols in NFSv3 and NFSv43.4. Services required by NFS3.5. NFS host name formats3.6. NFS server configuration3.6.1. The /etc/exports configuration file3.6.2. The exportfs utility3.7. NFS and rpcbind3.8. Installing NFS3.9. Starting the NFS server3.10. Troubleshooting NFS and rpcbind3.11. Configuring the NFS server to run behind a firewall3.12. Exporting RPC quota through a firewall3.13. Enabling NFS over RDMA (NFSoRDMA)3.14. Configuring an NFSv4-only server3.14.1. Benefits and drawbacks of an NFSv4-only server3.14.2. NFS and rpcbind3.14.3. Configuring the NFS server to support only NFSv43.14.4. Verifying the NFSv4-only configuration3.15. Related information4. Securing NFS4.1. NFS security with AUTH_SYS and export controls4.2. NFS security with AUTH_GSS4.2.1. Configuring Kerberos4.2.2. NFSv4 security options4.3. File permissions on mounted NFS exports5. Mounting an SMB Share on Red Hat Enterprise Linux5.1. Prerequisites5.2. Supported SMB protocol versions5.3. UNIX extensions support5.4. Manually mounting an SMB share5.5. Mounting an SMB share automatically when the system boots5.6. Authenticating to an SMB share using a credentials file5.7. Performing a multi-user SMB mount5.7.1. Prerequisites5.7.2. Mounting a share with the multiuser option5.7.3. Verifying if an SMB share is mounted with the multiuser option5.7.4. Accessing a share as a user5.8. Frequently used mount options6. Overview of persistent naming attributes6.1. Disadvantages of non-persistent naming attributes6.2. File system and device identifiers6.3. Device names managed by the udev mechanism in /dev/disk/6.3.1. File system identifiers6.3.2. Device identifiers6.4. The World Wide Identifier with DM Multipath6.5. Limitations of the udev device naming convention6.6. Listing persistent naming attributes6.7. Modifying persistent naming attributes7. Getting started with partitions7.1. Viewing the partition table7.1.1. Viewing the partition table with parted7.1.2. Example output of parted print7.2. Creating a partition table on a disk7.2.1. Considerations before modifying partitions on a disk7.2.2. Comparison of partition table types7.2.3. Creating a partition table on a disk with parted7.3. Creating a partition7.3.1. Considerations before modifying partitions on a disk7.3.2. Partition types7.3.3. Creating a partition with parted7.3.4. Setting a partition type with fdisk7.4. Removing a partition7.4.1. Considerations before modifying partitions on a disk7.4.2. Removing a partition with parted7.5. Resizing a partition7.5.1. Considerations before modifying partitions on a disk7.5.2. Resizing a partition with parted8. Getting started with XFS8.1. The XFS file system8.2. Creating an XFS file system8.2.1. Creating an XFS file system with mkfs.xfs8.2.2. Additional resources8.3. Backing up an XFS file system8.3.1. Features of XFS backup8.3.2. Backing up an XFS file system with xfsdump8.3.3. Additional resources8.4. Restoring an XFS file system from backup8.4.1. Features of restoring XFS from backup8.4.2. Restoring an XFS file system from backup with xfsrestore8.4.3. Informational messages when restoring an XFS backup from a tape8.4.4. Additional resources8.5. Repairing an XFS file system8.5.1. Error-handling mechanisms in XFS8.5.2. Repairing an XFS file system with xfs_repair8.6. Increasing the size of an XFS file system8.6.1. Increasing the size of an XFS file system with xfs_growfs9. Mounting file systems9.1. The Linux mount mechanism9.2. Listing currently mounted file systems9.3. Mounting a file system with mount9.4. Moving a mount point9.5. Unmounting a file system with umount9.6. Common mount options9.7. Sharing a mount on multiple mount points9.7.1. Types of shared mounts9.7.2. Creating a private mount point duplicate9.7.3. Creating a shared mount point duplicate9.7.4. Creating a slave mount point duplicate9.7.5. Preventing a mount point from being duplicated9.7.6. Related information9.8. Persistently mounting file systems9.8.1. The /etc/fstab file9.8.2. Adding a file system to /etc/fstab9.9. Mounting file systems on demand9.9.1. The autofs service9.9.2. The autofs configuration files9.9.3. Configuring autofs mount points9.9.4. Overriding or augmenting autofs site configuration files9.9.5. Using LDAP to store automounter maps9.10. Setting read-only permissions for the root file system9.10.1. Files and directories that always retain write permissions9.10.2. Configuring the root file system to mount with read-only permissions on boot10. Discarding unused blocks10.1. Block discard operations10.2. Types of block discard operations10.3. Performing batch block discard10.4. Enabling online block discard10.5. Enabling periodic block discard11. Managing layered local storage with Stratis11.1. Setting up Stratis file systems11.1.1. The purpose and features of Stratis11.1.2. Components of a Stratis volume11.1.3. Block devices usable with Stratis11.1.4. Installing Stratis11.1.5. Creating a Stratis pool11.1.6. Creating a Stratis file system11.1.7. Mounting a Stratis file system11.1.8. Persistently mounting a Stratis file system11.1.9. Related information11.2. Extending a Stratis volume with additional block devices11.2.1. Components of a Stratis volume11.2.2. Adding block devices to a Stratis pool11.2.3. Related information11.3. Monitoring Stratis file systems11.3.1. Stratis sizes reported by different utilities11.3.2. Displaying information about Stratis volumes11.3.3. Related information11.4. Using snapshots on Stratis file systems11.4.1. Characteristics of Stratis snapshots11.4.2. Creating a Stratis snapshot11.4.3. Accessing the content of a Stratis snapshot11.4.4. Reverting a Stratis file system to a previous snapshot11.4.5. Removing a Stratis snapshot11.4.6. Related information11.5. Removing Stratis file systems11.5.1. Components of a Stratis volume11.5.2. Removing a Stratis file system11.5.3. Removing a Stratis pool11.5.4. Related information12. Getting started with an ext3 file system12.1. Features of an ext3 file system12.2. Creating an ext3 file system12.3. Mounting an ext3 file system12.4. Resizing an ext3 file system13. Getting started with an ext4 file system13.1. Features of an ext4 file system13.2. Creating an ext4 file system13.3. Mounting an ext4 file system13.4. Resizing an ext4 file systemLegal 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.