Download Red Hat Global File System 2 - My E-Books Web Directory

Transcript
Introduction
v
1. Audience ........................................................................................................................ v
2. Related Documentation ................................................................................................... v
3. We Need Feedback! ....................................................................................................... v
4. Document Conventions ................................................................................................... vi
4.1. Typographic Conventions ..................................................................................... vi
4.2. Pull-quote Conventions ........................................................................................ vii
4.3. Notes and Warnings ........................................................................................... viii
1. GFS2 Overview
1.1. New and Changed Features .........................................................................................
1.1.1. New and Changed Features for Red Hat Enterprise Linux 6.0 ..............................
1.1.2. New and Changed Features for Red Hat Enterprise Linux 6.1 ..............................
1.2. Before Setting Up GFS2 ...............................................................................................
1.3. Differences between GFS and GFS2 .............................................................................
1.3.1. GFS2 Command Names ....................................................................................
1.3.2. Additional Differences Between GFS and GFS2 ..................................................
1.3.3. GFS2 Performance Improvements ......................................................................
1.4. GFS2 Node Locking .....................................................................................................
1.4.1. Performance Tuning With GFS2 .........................................................................
1.4.2. Troubleshooting GFS2 Performance with the GFS2 Lock Dump ............................
1
2
2
2
3
3
3
4
6
6
7
8
2. Getting Started
11
2.1. Prerequisite Tasks ...................................................................................................... 11
2.2. Initial Setup Tasks ...................................................................................................... 11
2.3. Deploying a GFS2 Cluster .......................................................................................... 12
3. Managing GFS2
3.1. Making a File System .................................................................................................
3.2. Mounting a File System ..............................................................................................
3.3. Unmounting a File System ..........................................................................................
3.4. Special Considerations when Mounting GFS2 File Systems ..........................................
3.5. GFS2 Quota Management ..........................................................................................
3.5.1. Configuring Disk Quotas ..................................................................................
3.5.2. Managing Disk Quotas .....................................................................................
3.5.3. Keeping Quotas Accurate ................................................................................
3.5.4. Synchronizing Quotas with the quotasync Command .......................................
3.5.5. References ......................................................................................................
3.6. Growing a File System ...............................................................................................
3.7. Adding Journals to a File System ................................................................................
3.8. Data Journaling ..........................................................................................................
3.9. Configuring atime Updates ........................................................................................
3.9.1. Mount with relatime .....................................................................................
3.9.2. Mount with noatime .......................................................................................
3.10. Suspending Activity on a File System ........................................................................
3.11. Repairing a File System ............................................................................................
3.12. Bind Mounts and Context-Dependent Path Names .....................................................
3.13. Bind Mounts and File System Mount Order ................................................................
3.14. The GFS2 Withdraw Function ...................................................................................
13
13
16
19
20
20
20
23
24
24
25
26
27
29
30
30
31
31
32
33
35
36
4. Diagnosing and Correcting Problems with GFS2 File Systems
4.1. GFS2 File System Shows Slow Performance ...............................................................
4.2. Setting Up NFS Over GFS2 ........................................................................................
4.3. GFS2 File System Hangs and Requires Reboot of One Node .......................................
4.4. GFS2 File System Hangs and Requires Reboot of All Nodes ........................................
4.5. GFS2 File System Does Not Mount on Newly-Added Cluster Node ................................
39
39
39
40
40
41
iii