29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This ACL shows four ACL entries (an allow <strong>and</strong> deny entry for each of owner@ <strong>and</strong> guest).<br />

In general, constructing NFS V4 ACLs is more complicated than traditional ACLs. Users new to NFS V4<br />

ACLs may find it useful to start with a traditional ACL <strong>and</strong> allow either mmgetacl or mmeditacl to provide<br />

the NFS V4 translation, using the -k nfs4 flag as a starting point when creating an ACL for a new file.<br />

Displaying NFS V4 access control lists<br />

The mmgetacl comm<strong>and</strong> displays an existing ACL regardless of its type (traditional or NFS V4). The<br />

format of the ACL that is returned depends on the file system setting (-k flag), as well as the format of the<br />

actual ACL associated with the file. For details, see “NFS V4 ACL translation” on page 50.<br />

Applying an existing NFS V4 access control lists<br />

This function is identical, whether using traditional or NFS V4 ACLs. See “Applying an existing traditional<br />

<strong>GPFS</strong> access control list” on page 47.<br />

Changing NFS V4 access control lists<br />

This function is identical, whether using traditional or NFS V4 ACLs. See “Changing traditional <strong>GPFS</strong><br />

access control lists” on page 48.<br />

Deleting NFS V4 access control lists<br />

Use the mmdelacl comm<strong>and</strong> to delete NFS V4 ACLs. Once the ACL has been deleted, permissions revert<br />

to the mode bits. If the mmgetacl comm<strong>and</strong> is then used to display the ACL (mmgetacl -k native), it<br />

appears as a traditional <strong>GPFS</strong> ACL.<br />

When assigning an ACL to a file that already has an NFS V4 ACL, there are some NFS rules that must be<br />

followed. Specifically, in the case of a directory, there will not be two separate (access <strong>and</strong> default) ACLs,<br />

as there are with traditional ACLs. NFS V4 requires a single ACL entity <strong>and</strong> allows individual ACL entries<br />

to be flagged if they are to be inherited. Consequently, mmputacl -d is not allowed if the existing ACL was<br />

the NFS V4 type, since this attempts to change only the default ACL. Likewise mmputacl (without the -d<br />

flag) is not allowed because it attempts to change only the access ACL, leaving the default unchanged. To<br />

change such an ACL, use the mmeditacl comm<strong>and</strong> to change the entire ACL as a unit. Alternatively, use<br />

the mmdelacl comm<strong>and</strong> to remove an NFS V4 ACL, followed by the mmputacl comm<strong>and</strong>.<br />

<strong>GPFS</strong> exceptions <strong>and</strong> limitations to NFS V4 ACLs<br />

For a list of <strong>GPFS</strong> exceptions <strong>and</strong> limitations with NFS V4 ACLs, see “<strong>GPFS</strong> exceptions <strong>and</strong> limitations to<br />

NFS V4 ACLs” on page 372.<br />

NFS <strong>and</strong> <strong>GPFS</strong><br />

®<br />

<strong>GPFS</strong> file systems may be exported using the Network File System (NFS ) protocol from one or more<br />

nodes. After export, normal access to the file system may proceed from <strong>GPFS</strong> cluster nodes or NFS client<br />

nodes.<br />

Considerations for the interoperability of a <strong>GPFS</strong> file system include:<br />

v “Exporting a <strong>GPFS</strong> file system using NFS”<br />

v “NFS usage of <strong>GPFS</strong> cache” on page 54<br />

v “Synchronous writing using NFS” on page 55<br />

v “Unmounting a file system after NFS export” on page 55<br />

v “NIS automount considerations” on page 55<br />

Exporting a <strong>GPFS</strong> file system using NFS<br />

To export a <strong>GPFS</strong> file system:<br />

52 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!