Red Hat Customer Portal

Skip to main content

Main Navigation

  • Products & Services
    • Back
    • View All Products
    • Infrastructure and Management
      • Back
      • Red Hat Enterprise Linux
      • Red Hat Virtualization
      • Red Hat Identity Management
      • Red Hat Directory Server
      • Red Hat Certificate System
      • Red Hat Satellite
      • Red Hat Subscription Management
      • Red Hat Update Infrastructure
      • Red Hat Insights
      • Red Hat Ansible Automation Platform
    • Cloud Computing
      • Back
      • Red Hat CloudForms
      • Red Hat OpenStack Platform
      • Red Hat OpenShift Container Platform
      • Red Hat OpenShift Online
      • Red Hat OpenShift Dedicated
      • Red Hat Advanced Cluster Management for Kubernetes
      • Red Hat Quay
      • Red Hat CodeReady Workspaces
    • Storage
      • Back
      • Red Hat Gluster Storage
      • Red Hat Hyperconverged Infrastructure
      • Red Hat Ceph Storage
      • Red Hat Openshift Container Storage
    • Runtimes
      • Back
      • Red Hat Runtimes
      • Red Hat JBoss Enterprise Application Platform
      • Red Hat Data Grid
      • Red Hat JBoss Web Server
      • Red Hat Single Sign On
      • Red Hat support for Spring Boot
      • Red Hat build of Node.js
      • Red Hat build of Thorntail
      • Red Hat build of Eclipse Vert.x
      • Red Hat build of OpenJDK
      • Red Hat build of Quarkus
      • Red Hat CodeReady Studio
    • Integration and Automation
      • Back
      • Red Hat Integration
      • Red Hat Fuse
      • Red Hat AMQ
      • Red Hat 3scale API Management
      • Red Hat JBoss Data Virtualization
      • Red Hat Process Automation
      • Red Hat Process Automation Manager
      • Red Hat Decision Manager
    • Support
    • Production Support
    • Development Support
    • Product Life Cycles
    • Documentation
    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    • Services
    • Consulting
    • Technical Account Management
    • Training & Certifications
    • Ecosystem Catalog
    • Partner Resources
    • Red Hat in the Public Cloud
  • Tools
    • Back
    • Red Hat Insights
    • Tools
    • Solution Engine
    • Packages
    • Errata
    • Customer Portal Labs
    • Explore Labs
    • Configuration
    • Deployment
    • Security
    • Troubleshooting
  • Security
    • Back
    • Product Security Center
    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Security Labs
    • Resources
    • Overview
    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community
    • Back
    • Customer Portal Community
    • Discussions
    • Blogs
    • Private Groups
    • Community Activity
    • Customer Events
    • Red Hat Convergence
    • Red Hat Summit
    • Stories
    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Account
    • Back
    • Log In
    • Register
    • Red Hat Account Number:
    • Account Details
    • User Management
    • Account Maintenance
    • My Profile
    • Notifications
    • Help
    • Log Out
  • Language
    • Back
    • English
    • 한국어
    • 日本語
    • 中文 (中国)
Red Hat Customer Portal
  • Products & Services
    • Back
    • View All Products
    • Infrastructure and Management
      • Back
      • Red Hat Enterprise Linux
      • Red Hat Virtualization
      • Red Hat Identity Management
      • Red Hat Directory Server
      • Red Hat Certificate System
      • Red Hat Satellite
      • Red Hat Subscription Management
      • Red Hat Update Infrastructure
      • Red Hat Insights
      • Red Hat Ansible Automation Platform
    • Cloud Computing
      • Back
      • Red Hat CloudForms
      • Red Hat OpenStack Platform
      • Red Hat OpenShift Container Platform
      • Red Hat OpenShift Online
      • Red Hat OpenShift Dedicated
      • Red Hat Advanced Cluster Management for Kubernetes
      • Red Hat Quay
      • Red Hat CodeReady Workspaces
    • Storage
      • Back
      • Red Hat Gluster Storage
      • Red Hat Hyperconverged Infrastructure
      • Red Hat Ceph Storage
      • Red Hat Openshift Container Storage
    • Runtimes
      • Back
      • Red Hat Runtimes
      • Red Hat JBoss Enterprise Application Platform
      • Red Hat Data Grid
      • Red Hat JBoss Web Server
      • Red Hat Single Sign On
      • Red Hat support for Spring Boot
      • Red Hat build of Node.js
      • Red Hat build of Thorntail
      • Red Hat build of Eclipse Vert.x
      • Red Hat build of OpenJDK
      • Red Hat build of Quarkus
      • Red Hat CodeReady Studio
    • Integration and Automation
      • Back
      • Red Hat Integration
      • Red Hat Fuse
      • Red Hat AMQ
      • Red Hat 3scale API Management
      • Red Hat JBoss Data Virtualization
      • Red Hat Process Automation
      • Red Hat Process Automation Manager
      • Red Hat Decision Manager
    • Support
    • Production Support
    • Development Support
    • Product Life Cycles
    • Documentation
    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    • Services
    • Consulting
    • Technical Account Management
    • Training & Certifications
    • Ecosystem Catalog
    • Partner Resources
    • Red Hat in the Public Cloud
  • Tools
    • Back
    • Red Hat Insights
    • Tools
    • Solution Engine
    • Packages
    • Errata
    • Customer Portal Labs
    • Explore Labs
    • Configuration
    • Deployment
    • Security
    • Troubleshooting
  • Security
    • Back
    • Product Security Center
    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Security Labs
    • Resources
    • Overview
    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community
    • Back
    • Customer Portal Community
    • Discussions
    • Blogs
    • Private Groups
    • Community Activity
    • Customer Events
    • Red Hat Convergence
    • Red Hat Summit
    • Stories
    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Account
    • Back
    • Log In
    • Register
    • Red Hat Account Number:
    • Account Details
    • User Management
    • Account Maintenance
    • My Profile
    • Notifications
    • Help
    • Log Out
  • Language
    • Back
    • English
    • 한국어
    • 日本語
    • 中文 (中国)
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Search
  • Log In
  • Language
Or troubleshoot an issue.

Log in to Your Red Hat Account

Log In

Your Red Hat account gives you access to your profile, preferences, and services, depending on your status.

Register

If you are a new customer, register now for access to product evaluations and purchasing capabilities.

Need access to an account?

If your company has an existing Red Hat account, your organization administrator can grant you access.

If you have any questions, please contact customer service.

Red Hat Account Number:

Red Hat Account

  • Account Details
  • User Management
  • Account Maintenance
  • Account Team

Customer Portal

  • My Profile
  • Notifications
  • Help

For your security, if you’re on a public computer and have finished using your Red Hat services, please be sure to log out.

Log Out

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)
Red Hat Customer Portal Red Hat Customer Portal
  • Products & Services
  • Tools
  • Security
  • Community
  • Infrastructure and Management

  • Cloud Computing

  • Storage

  • Runtimes

  • Integration and Automation

  • Red Hat Enterprise Linux
  • Red Hat Virtualization
  • Red Hat Identity Management
  • Red Hat Directory Server
  • Red Hat Certificate System
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Update Infrastructure
  • Red Hat Insights
  • Red Hat Ansible Automation Platform
  • Red Hat CloudForms
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Online
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat CodeReady Workspaces
  • Red Hat OpenShift Service on AWS
  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat Openshift Container Storage
  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Thorntail
  • Red Hat build of Eclipse Vert.x
  • Red Hat build of OpenJDK
  • Red Hat build of Quarkus
  • Red Hat CodeReady Studio
  • Red Hat Integration
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
  • Red Hat JBoss Data Virtualization
  • Red Hat Process Automation
  • Red Hat Process Automation Manager
  • Red Hat Decision Manager
View All Products
  • Support
  • Production Support
  • Development Support
  • Product Life Cycles

Services

  • Consulting
  • Technical Account Management
  • Training & Certifications
  • Documentation
  • Red Hat Enterprise Linux
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Ecosystem Catalog
  • Red Hat in the Public Cloud
  • Partner Resources

Tools

  • Solution Engine
  • Packages
  • Errata
  • Customer Portal Labs
  • Configuration
  • Deployment
  • Security
  • Troubleshooting

Red Hat Insights

Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

  • Learn more
  • Go to Insights

Red Hat Product Security Center

Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

Product Security Center

Security Updates

  • Security Advisories
  • Red Hat CVE Database
  • Security Labs

Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

  • View Responses

Resources

  • Overview
  • Security Blog
  • Security Measurement
  • Severity Ratings
  • Backporting Policies
  • Product Signing (GPG) Keys

Customer Portal Community

  • Discussions
  • Blogs
  • Private Groups
  • Community Activity

Customer Events

  • Red Hat Convergence
  • Red Hat Summit

Stories

  • Red Hat Subscription Value
  • You Asked. We Acted.
  • Open Source Communities
Show Table of Contents
Hide Table of Contents
  • English
  • Español
  • Русский
  • Português
  • 한국어
  • 日本語
  • Italiano
  • Deutsch
  • Français
  • 繁體中文
  • 简体中文
  • Single-page HTML
  • PDF
  • ePub
  1. Global File System 2
  2. Introduction
    1. 1. Audience
    2. 2. Related Documentation
    3. 3. We Need Feedback!
  3. 1. GFS2 Overview
    1. 1.1. New and Changed Features
      1. 1.1.1. New and Changed Features for Red Hat Enterprise Linux 6.0
      2. 1.1.2. New and Changed Features for Red Hat Enterprise Linux 6.1
      3. 1.1.3. New and Changed Features for Red Hat Enterprise Linux 6.2
      4. 1.1.4. New and Changed Features for Red Hat Enterprise Linux 6.3
      5. 1.1.5. New and Changed Features for Red Hat Enterprise Linux 6.4
      6. 1.1.6. New and Changed Features for Red Hat Enterprise Linux 6.6
    2. 1.2. Before Setting Up GFS2
    3. 1.3. Installing GFS2
    4. 1.4. Differences between GFS and GFS2
      1. 1.4.1. GFS2 Command Names
      2. 1.4.2. Additional Differences Between GFS and GFS2
      3. 1.4.3. GFS2 Performance Improvements
  4. 2. GFS2 Configuration and Operational Considerations
    1. 2.1. Formatting Considerations
      1. 2.1.1. File System Size: Smaller is Better
      2. 2.1.2. Block Size: Default (4K) Blocks Are Preferred
      3. 2.1.3. Number of Journals: One for Each Node that Mounts
      4. 2.1.4. Journal Size: Default (128MB) Is Usually Optimal
      5. 2.1.5. Size and Number of Resource Groups
    2. 2.2. File System Fragmentation
    3. 2.3. Block Allocation Issues
      1. 2.3.1. Leave Free Space in the File System
      2. 2.3.2. Have Each Node Allocate its Own Files, If Possible
      3. 2.3.3. Preallocate, If Possible
    4. 2.4. Cluster Considerations
    5. 2.5. Usage Considerations
      1. 2.5.1. Mount Options: noatime and nodiratime
      2. 2.5.2. DLM Tuning Options: Increase DLM Table Sizes
      3. 2.5.3. VFS Tuning Options: Research and Experiment
      4. 2.5.4. SELinux: Avoid SELinux on GFS2
      5. 2.5.5. Setting Up NFS Over GFS2
      6. 2.5.6. Samba (SMB or Windows) File Serving over GFS2
    6. 2.6. File System Backups
    7. 2.7. Hardware Considerations
    8. 2.8. Performance Issues: Check the Red Hat Customer Portal
    9. 2.9. GFS2 Node Locking
      1. 2.9.1. Issues with Posix Locking
      2. 2.9.2. Performance Tuning With GFS2
      3. 2.9.3. Troubleshooting GFS2 Performance with the GFS2 Lock Dump
  5. 3. Getting Started
    1. 3.1. Prerequisite Tasks
    2. 3.2. Initial Setup Tasks
  6. 4. Managing GFS2
    1. 4.1. Making a File System
    2. 4.2. Mounting a File System
    3. 4.3. Unmounting a File System
    4. 4.4. Special Considerations when Mounting GFS2 File Systems
    5. 4.5. GFS2 Quota Management
      1. 4.5.1. Configuring Disk Quotas
      2. 4.5.2. Managing Disk Quotas
      3. 4.5.3. Keeping Quotas Accurate
      4. 4.5.4. Synchronizing Quotas with the quotasync Command
      5. 4.5.5. References
    6. 4.6. Growing a File System
    7. 4.7. Adding Journals to a File System
    8. 4.8. Data Journaling
    9. 4.9. Configuring atime Updates
      1. 4.9.1. Mount with relatime
      2. 4.9.2. Mount with noatime
    10. 4.10. Suspending Activity on a File System
    11. 4.11. Repairing a File System
    12. 4.12. Bind Mounts and Context-Dependent Path Names
    13. 4.13. Bind Mounts and File System Mount Order
    14. 4.14. The GFS2 Withdraw Function
  7. 5. Diagnosing and Correcting Problems with GFS2 File Systems
    1. 5.1. GFS2 File System Shows Slow Performance
    2. 5.2. GFS2 File System Hangs and Requires Reboot of One Node
    3. 5.3. GFS2 File System Hangs and Requires Reboot of All Nodes
    4. 5.4. GFS2 File System Does Not Mount on Newly-Added Cluster Node
    5. 5.5. Space Indicated as Used in Empty File System
  8. 6. Configuring a GFS2 File System in a Pacemaker Cluster
  9. A. GFS2 Quota Management with the gfs2_quota Command
    1. A.1. Setting Quotas with the gfs2_quota command
    2. A.2. Displaying Quota Limits and Usage with the gfs2_quota Command
    3. A.3. Synchronizing Quotas with the gfs2_quota Command
    4. A.4. Enabling/Disabling Quota Enforcement
    5. A.5. Enabling Quota Accounting
  10. B. Converting a File System from GFS to GFS2
    1. B.1. Conversion of Context-Dependent Path Names
    2. B.2. GFS to GFS2 Conversion Procedure
  11. C. GFS2 tracepoints and the debugfs glocks File
    1. C.1. GFS2 tracepoint Types
    2. C.2. Tracepoints
    3. C.3. Glocks
    4. C.4. The glock debugfs Interface
    5. C.5. Glock Holders
    6. C.6. Glock tracepoints
    7. C.7. Bmap tracepoints
    8. C.8. Log tracepoints
    9. C.9. Glock Statistics
    10. C.10. References
  12. D. Revision History
  13. Index
  14. Legal Notice

C.10. References

For more information about tracepoints and the GFS2 glocks file, see the following resources:
  • For information on glock internal locking rules, see http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/gfs2-glocks.txt;h=0494f78d87e40c225eb1dc1a1489acd891210761;hb=HEAD.
  • For information on event tracing, see http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/trace/events.txt;h=09bd8e9029892e4e1d48078de4d076e24eff3dd2;hb=HEAD.
  • For information on the trace-cmd utility, see http://lwn.net/Articles/341902/.
  • C.9. Glock Statistics
  • D. Revision History
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • openshift.com
  • developers.redhat.com
  • connect.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2021 Red Hat, Inc.
  • Privacy Statement
  • Customer Portal Terms of Use
  • All Policies and Guidelines
Red Hat Summit
Twitter Facebook

Formatting Tips

Here are the common uses of Markdown.

Code blocks
~~~
Code surrounded in tildes is easier to read
~~~
Links/URLs
[Red Hat Customer Portal](https://access.redhat.com)
Learn more