Follow

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. 

Syntaxfs.export.permission.add export_path=EXPORT client=CLIENT access=EXPORTACCESSLEVEL [no_root_squash=YESNO]
Argumentsno_root_squashEither yes or no 
accessRO or RW
clientA full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10)
export_pathName of an existing export
Examplefs.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. 

Syntaxfs.export.permission.modify export_path=EXPORT client=CLIENT [access=EXPORTACCESSLEVEL] [no_root_squash=YESNO]
Argumentsno_root_squashEither yes or no 
accessRO or RW
clientA full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10)
export_pathName of an existing export
Examplefs.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. 

Syntaxfs.export.permission.query [export_path=EXPORT[,EXPORT,...]] [fs={FS|SNAP}[,{FS|SNAP},...]] [client=CLIENT[,CLIENT,...]] [access=EXPORTACCESSLEVEL[,EXPORTACCESSLEVEL,...]] [no_root_squash=YESNO]
ArgumentsaccessRO or RW (multiple values, separated by commas) 
clientA full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10)
fsName of an existing filesystem or snapshot (multiple values, separated by commas)
export_pathName of an existing export (multiple values, separated by commas)
no_root_squashEither yes or no
Examplefs.export.permission.query export_path=/fs/

EXPORT PATH   CLIENT          ACCESS LEVEL 
/fs/          172.16.66.172   READ_WRITE
/fs/          172.16.66.173   READ_ONLY



fs.export.permission.remove  

ROLE: Admin, Pool Admin

Description

Remove a permission from an existing filesystem export.

Enter pairs of export path and client

Syntaxfs.export.permission.remove export_path=EXPORT client=CLIENT
ArgumentsclientA full wildcard (i.e: *), IP address or IP range (e.g 10.0.0.1-10.0.0.10)
export_pathName of an existing export
Examplefs.export.permission.remove export_path=/fs/ client=172.16.66.172
READ_WRITE access revoked from client 172.16.66.172 on /fs/
Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:32:04 UTC

Comments