Top
PRIMECLUSTER Global File Services Configuration and Administration Guide 4.6
FUJITSU Software

1.8.13 Notes on fcntl(2) with F_SETLEASE

If you need to execute fcntl(2) with F_SETLEASE and change the file owner (*1), perform both operations on the same node.

*1 File owner change using a command such as chown(1), chown(2), or fchown(2)

If you execute fcntl(2) with F_SETLEASE and change the file owner on each of nodes, fcntl(2) might check permission and set a file lease, with the old file owner information.

If you need to execute fcntl(2) with F_SETLEASE and change the file owner on each of nodes, please update the file information (*2) before executing fcntl(2).

*2 File information acquisition using a command such as stat(1), stat(2), or fstat(2)