Does GFS or GFS2 lock all the directories in the file-path for a file when it is created, deleted, or modified?

Solution Verified - Updated -

Issue

  • Does GFS or GFS2 lock all the directories in the file-path for a file when it is created, deleted, or modified?
  • If one process want to write to a file on GFS or GFS2 file-system, how many exclusive lock will be acquired?

Environment

  • Red Hat Enterprise Linux Server 5 (with the High Availability and Resilient Storage Add Ons)
  • Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
  • Red Hat Enterprise Linux Server 7 (with the High Availability and Resilient Storage Add Ons)
  • Global File System (GFS)
  • Global File System 2 (GFS2)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.