23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note – ACL support is a system-range feature, meaning that all clients have ACL<br />

enabled or not. You cannot specify which clients should enable ACL.<br />

26.1.2 Using ACLs with <strong>Lustre</strong><br />

<strong>Lustre</strong> supports POSIX Access Control Lists (ACLs). An ACL consists of file entries<br />

representing permissions based on standard POSIX file system object permissions<br />

that define three classes of user (owner, group and other). Each class is associated<br />

with a set of permissions [read (r), write (w) and execute (x)].<br />

■<br />

■<br />

■<br />

Owner class permissions define access privileges of the file owner.<br />

Group class permissions define access privileges of the owning group.<br />

Other class permissions define access privileges of all users not in the owner or<br />

group class.<br />

The ls -l command displays the owner, group, and other class permissions in the<br />

first column of its output (for example, -rw-r- -- for a regular file with read and<br />

write access for the owner class, read access for the group class, and no access for<br />

others).<br />

Minimal ACLs have three entries. Extended ACLs have more than the three entries.<br />

Extended ACLs also contain a mask entry and may contain any number of named<br />

user and named group entries.<br />

<strong>Lustre</strong> ACL support depends on the MDS, which needs to be configured to enable<br />

ACLs. Use --mountfsoptions to enable ACL support when creating your<br />

configuration:<br />

$ mkfs.lustre --fsname spfs --mountfsoptions=acl --mdt –mgs /dev/sda<br />

Alternately, you can enable ACLs at run time by using the --acl option with<br />

mkfs.lustre:<br />

$ mount -t lustre -o acl /dev/sda /mnt/mdt<br />

To check ACLs on the MDS:<br />

$ lctl get_param -n mdc.home-MDT0000-mdc-*.connect_flags | grep acl<br />

acl<br />

To mount the client with no ACLs:<br />

$ mount -t lustre -o noacl ibmds2@o2ib:/home /home<br />

26-2 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

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

Saved successfully!

Ooh no, something went wrong!