fs.export.permission.add
ROLE: Admin, Pool Admin
Description | Grant a host with permissions to access an existing filesystem export. The client can be either a host that is defined in the system, or an IP address. | |
Syntax | fs.export.permission.add export_path=EXPORT client=CLIENT access=EXPORTACCESSLEVEL [no_root_squash=YESNO] | |
Arguments | no_root_squash | Either yes or no |
access | RO or RW | |
client | A full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10) | |
export_path | Name of an existing export | |
Example | fs.export.permission.add export_path=/fs/ client=172.16.66.172 access=READ_WRITE | |
READ_WRITE access granted to client 172.16.66.172 on /fs/ |
fs.export.permission.modify
ROLE: Admin, Pool Admin
Description | Add a new permission to an existing filesystem export. This command changes the access rights of an existing client. This command does not allow to change the client. To add a client, use the fs.export.permissions.add command. | |
Syntax | fs.export.permission.modify export_path=EXPORT client=CLIENT [access=EXPORTACCESSLEVEL] [no_root_squash=YESNO] | |
Arguments | no_root_squash | Either yes or no |
access | RO or RW | |
client | A full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10) | |
export_path | Name of an existing export | |
Example | fs.export.permission.modify export_path=/fs/ client=172.16.66.172 access=READ_ONLY | |
READ_ONLY access granted to client 172.16.66.172 on /fs/ |
fs.export.permission.query
ROLE: All Roles
Description | List permissions for existing filesystem exports. | |
Syntax | fs.export.permission.query [export_path=EXPORT[,EXPORT,...]] [fs={FS|SNAP}[,{FS|SNAP},...]] [client=CLIENT[,CLIENT,...]] [access=EXPORTACCESSLEVEL[,EXPORTACCESSLEVEL,...]] [no_root_squash=YESNO] | |
Arguments | access | RO or RW (multiple values, separated by commas) |
client | A full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10) | |
fs | Name of an existing filesystem or snapshot (multiple values, separated by commas) | |
export_path | Name of an existing export (multiple values, separated by commas) | |
no_root_squash | Either yes or no | |
Example | fs.export.permission.query export_path=/fs/ | |
|
fs.export.permission.remove
ROLE: Admin, Pool Admin
Description | Remove a permission from an existing filesystem export. Enter pairs of export path and client. | |
Syntax | fs.export.permission.remove export_path=EXPORT client=CLIENT | |
Arguments | client | A full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10) |
export_path | Name of an existing export | |
Example | fs.export.permission.remove export_path=/fs/ client=172.16.66.172 | |
READ_WRITE access revoked from client 172.16.66.172 on /fs/ |
Last edited: 2022-08-06 08:32:04 UTC
Comments