beautypg.com

Using a quotas file, Importing quotas from a file, Exporting quotas to a file – HP StoreAll Storage User Manual

Page 29: Format of the quotas file

background image

Using a quotas file

Quota limits can be imported into the cluster from the quotas file, and existing quotas can be
exported to the file. See

“Format of the quotas file” (page 29)

for the format of the file.

Importing quotas from a file

From the GUI, select the file system, select Quotas from the lower Navigator, and then click Import.

From the CLI, use the following command to import quotas from a file, where PATH is the path to
the quotas file:

ibrix_edquota -t -p PATH -f FSNAME

Exporting quotas to a file

From the GUI, select the file system, select Quotas from the lower Navigator, and then click Export.

From the CLI, use the following command to export the existing quotas information to a file, where
PATH

is the pathname of the quotas file:

ibrix_edquota -e -p PATH -f FSNAME

Format of the quotas file

The quotas file contains a line for each user, group, or directory tree assigned a quota. When you
add quota entries, the lines must use one of the following formats. The “A” format specifies a user
or group ID. The “B” format specifies a user or group name, or a directory tree that has already
been assigned an identifier name. The “C” format specifies a directory tree, where the path exists,
but the identifier name for the directory tree will not be created until the quotas are imported.

Using a quotas file

29