Product SiteDocumentation Site

Red Hat Enterprise Linux 6

Global File System 2

Red Hat Global File System 2

Edition 7

Legal Notice

Copyright © 2010 Red Hat Inc..
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other trademarks are the property of their respective owners.

1801 Varsity Drive
 RaleighNC 27606-2072 USA
 Phone: +1 919 754 3700
 Phone: 888 733 4281
 Fax: +1 919 754 3701

This book provides information about configuring and maintaining Red Hat GFS2 (Red Hat Global File System 2) for Red Hat Enterprise Linux 6.

1. Audience
2. Related Documentation
3. We Need Feedback!
4. Document Conventions
4.1. Typographic Conventions
4.2. Pull-quote Conventions
4.3. Notes and Warnings
1. GFS2 Overview
1.1. New and Changed Features
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
2. Getting Started
2.1. Prerequisite Tasks
2.2. Initial Setup Tasks
2.3. Deploying a GFS2 Cluster
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. Setting Quotas
3.5.2. Displaying Quota Limits and Usage
3.5.3. Synchronizing Quotas
3.5.4. Enabling/Disabling Quota Enforcement
3.5.5. Enabling Quota Accounting
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
A. Converting a File System from GFS to GFS2
B. Revision History