Installation guide

Storage Administration Guide
vi
9. The XFS File System 49
9.1. Creating an XFS File System ...................................................................................... 49
9.2. Mounting an XFS File System ..................................................................................... 50
9.3. XFS Quota Management ............................................................................................ 51
9.4. Increasing the Size of an XFS File System .................................................................. 52
9.5. Repairing an XFS File System .................................................................................... 53
9.6. Suspending an XFS File System ................................................................................. 53
9.7. Backup and Restoration of XFS File Systems .............................................................. 54
9.8. Other XFS File System Utilities ................................................................................... 55
10. Network File System (NFS) 57
10.1. How It Works ........................................................................................................... 57
10.1.1. Required Services .......................................................................................... 58
10.2. NFS Client Configuration .......................................................................................... 59
10.2.1. Mounting NFS File Systems using /etc/fstab .............................................. 60
10.3. autofs .................................................................................................................... 60
10.3.1. Improvements in autofs Version 5 over Version 4 ............................................. 61
10.3.2. autofs Configuration .................................................................................... 62
10.3.3. Overriding or Augmenting Site Configuration Files ............................................ 63
10.3.4. Using LDAP to Store Automounter Maps ......................................................... 64
10.4. Common NFS Mount Options ................................................................................... 66
10.5. Starting and Stopping NFS ....................................................................................... 67
10.6. NFS Server Configuration ......................................................................................... 68
10.6.1. The /etc/exports Configuration File ........................................................... 68
10.6.2. The exportfs Command .............................................................................. 70
10.6.3. Running NFS Behind a Firewall ...................................................................... 71
10.6.4. Hostname Formats ........................................................................................ 72
10.7. Securing NFS ........................................................................................................... 72
10.7.1. Host Access in NFSv2 or NFSv3 .................................................................... 72
10.7.2. Host Access in NFSv4 ................................................................................... 73
10.7.3. File Permissions ............................................................................................ 73
10.8. NFS and rpcbind ................................................................................................... 74
10.8.1. Troubleshooting NFS and rpcbind ................................................................ 74
10.9. Using NFS over TCP ................................................................................................ 75
10.10. References ............................................................................................................. 76
11. FS-Cache 77
11.1. Performance Guarantee ............................................................................................ 78
11.2. Setting Up a Cache .................................................................................................. 78
11.3. Using the Cache With NFS ....................................................................................... 79
11.3.1. Cache Sharing ............................................................................................... 79
11.3.2. Cache Limitations With NFS ........................................................................... 80
11.4. Setting Cache Cull Limits .......................................................................................... 80
11.5. Statistical Information ................................................................................................ 81
11.6. References ............................................................................................................... 82
12. Encrypted File System 83
12.1. Mounting a File System as Encrypted ........................................................................ 83
12.2. Additional Information ............................................................................................... 84
13. Redundant Array of Independent Disks (RAID) 85
13.1. What is RAID? ......................................................................................................... 85
13.2. Who Should Use RAID? ........................................................................................... 85
13.3. RAID Types .............................................................................................................. 85
13.4. RAID Levels and Linear Support ............................................................................... 86
13.5. Linux RAID Subsystems ........................................................................................... 88