fs.export.create
ROLE: Admin, Pool Admin
Description | Create a new filesystem export. The following parameters accept values up to 910241024*1024 byte: maximum_write_size, maximum_read_size, preferred_write_size, preferred_readdir_size. | |
Syntax | fs.export.create fs={FS|SNAP} export_path=STR [internal_path=STR] [copy_permissions_from=EXPORT] [squash_all_users=YESNO] [anonymous_gid=INT] [anonymous_uid=INT] [maximum_write_size=SIZE] [maximum_read_size=SIZE] [preferred_write_size=SIZE] [preferred_read_size=SIZE] [preferred_readdir_size=SIZE] [privileged_port=YESNO] [snapshot_directory_visible=YESNO] [character_encoding=Character Encoding] | |
Arguments | fs | Name of an existing filesystem or snapshot |
maximum_write_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
anonymous_uid | An integer number | |
anonymous_gid | An integer number | |
squash_all_users | Either yes or no | |
copy_permission_from | Name of an existing export | |
internal_path | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
export_path | Any sequence of characters | |
compression | Either yes or no | |
maximum_read_size | The character set of clients using the NFS export | |
character_encoding | The character encoding | |
snapshot_directory_visible | Either yes or no | |
privileged_port | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
preferred_readdir_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
preferred_write_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
Example | fs.export.create fs=fs1 export_path=/fs/ | |
Export /fs/ created | ||
Example | Setting the visibility of the snapshot directory to the export. By default, the directory is visible. | |
fs.export.create fs=fs-1 export_path=/no_visibility_settings | ||
Export "/no_visibility_settings" created | ||
Example | Setting the visibility of the snapshot directory to the export. In this example, the export is set not to see the directory. | |
fs.export.create fs=fs-1 export_path=/invisible snapshot_directory_visible=no | ||
Export "/invisible" created |
fs.export.delete
ROLE: Admin, Pool Admin
Description | Delete filesystem export. | |
---|---|---|
Syntax | fs.export.delete export_path=EXPORT[,EXPORT,...] | |
Arguments | export_path | Name of an existing export (multiple values, separated by commas) |
Example | ||
fs.export.delete export_path=/fs/ | ||
Export /fs/ deleted |
fs.export.disable
ROLE: Admin, Pool Admin
Description | Disable filesystem export. | |
---|---|---|
Syntax | fs.export.disable export_path=EXPORT | |
Arguments | export_path | Name of an existing export |
Example | ||
fs.export.disable export_path=/fs/ | ||
Export /fs/ disabled |
fs.export.enable
ROLE: Admin, Pool Admin
Description | Enable filesystem export. | |
---|---|---|
Syntax | fs.export.enable export_path=EXPORT | |
Arguments | export_path | Name of an existing export |
Example | ||
fs.export.enable export_path=/fs/ | ||
Export /fs/ enabled |
fs.export.modify
ROLE: Admin, Pool Admin
Description | Modify existing filesystem export. The following parameters accept values up to 910241024*1024 byte: maximum_write_size, maximum_read_size, preferred_write_size, preferred_readdir_size. | |
Syntax | fs.export.modify export_path=EXPORT [copy_permissions_from=EXPORT] [squash_all_users=YESNO] [anonymous_gid=INT] [anonymous_uid=INT] [maximum_write_size=SIZE] [maximum_read_size=SIZE] [preferred_write_size=SIZE] [preferred_read_size=SIZE] [preferred_readdir_size=SIZE] [privileged_port=YESNO] [snapshot_directory_visible=YESNO] | |
Arguments | export_path | Name of an existing filesystem or snapshot |
maximum_read_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
maximum_write_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
anonymous_uid | An integer number | |
anonymous_gid | An integer number | |
squash_all_users | Either yes or no | |
copy_permission_from | Name of an existing export | |
preferred_write_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
snapshot_directory_visible | Either yes or no | |
privileged_port | Either yes or no | |
preferred_readdir_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
preferred_write_size | A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000 | |
Example | fs.export.modify export_path=/fs/ copy_permissions_from=/fs1/ | |
Export /fs/ modified |
fs.export.query
ROLE: All Roles
Description | List existing filesystem exports. | |
---|---|---|
Syntax | fs.export.query [export_path=EXPORT[,EXPORT,...]] [internal_path=STR[,STR,...]] [fs={FS|SNAP}[,{FS|SNAP},...]] | |
Arguments | internal_path | Any sequence of characters (multiple values, separated by commas) |
export_path | Name of an existing export (multiple values, separated by commas) | |
fs | Name of an existing filesystem or snapshot (multiple values, separated by commas) | |
Example | ||
Running the command for a filesystem. | ||
fs.export.query name=FS1010 | ||
EXPORT PATH INTERNAL PATH FILESYSTEM TYPE ENABLED PERMISSIONS /export/FS1010_a / FS1010 FILESYSTEM yes 1 /export/FS1010_b / FS1010 FILESYSTEM yes 1 | ||
Example | Running the command for the same filesystem, with detailed output. | |
fs.export.query name=FS1010 --detailed | ||
|
Last edited: 2022-08-06 08:32:00 UTC
Comments