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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content