Does GFS or GFS2 lock all the directories in the file-path for a file when it is created, deleted, or modified?
Issue
- Does
GFSorGFS2lock 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
GFSorGFS2file-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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
