Setting and Listing Fileset Quota

By default, every newly created DCE LFS fileset has a quota of 5000 kilobytes (5000 units of 1024 bytes each). The fts setquota command can be used to modify the quota of a DCE LFS fileset. The fts lsquota command can be used to examine the available quota and quota usage for a DCE LFS fileset.

Because it does not represent the amount of physical data stored on the fileset, the quota of a DCE LFS fileset can be larger than the size of the aggregate on which the fileset resides. Similarly and more commonly, the combined quota limits of all filesets on a DCE LFS aggregate can exceed the size of the aggregate. Assuming that all users who own filesets on an aggregate do not use all of their quota, you can allocate more quota than an aggregate actually contains to minimize user requests for additional quota. If additional quota is allocated to filesets that reside on an aggregate whose size can be increased, the aggregate can be grown to accommodate the additional quota if necessary (see Increasing the Size of a DCE LFS Aggregate).

The size of a non-LFS fileset is always equivalent to the size of the partition on which it resides. In the UNIX operating system, you can use the df command to determine the size of a non-LFS partition. The df command can also be used to check the size of an exported DCE LFS aggregate, but it cannot be used to display the size of a DCE LFS fileset unless the fileset is mounted locally. In addition, although you can use the fts lsquota command to check the space that is used and available on a non-LFS fileset, you cannot use the fts setquota command to set the quota of a non-LFS fileset.

With both the fts setquota and fts lsquota commands, you can indicate the fileset whose quota you want to set or display either directly, by specifying the name (or ID number) of the fileset, or indirectly, by specifying the name of a file or directory located in the fileset. With the fts lsquota command, you can display quota information about multiple filesets by specifying either multiple fileset names (or ID numbers) or multiple file or directory names.

The fts lsquota command displays different information for DCE LFS and non-LFS filesets. For a DCE LFS fileset, the command displays the following information:

· The name of the fileset.

· The quota for the fileset (expressed as a number of kilobytes), the number of kilobytes currently in use on the fileset, and the percentage of the quota currently in use on the fileset.

· The percentage of disk space in use, the number of kilobytes in use, and the number of kilobytes available on the aggregate on which the fileset resides.

· An LFS indicator to show that the fileset is stored on a DCE LFS aggregate.

For a non-LFS fileset, the command displays the following information:

· The name of the fileset.

· Zeros for the quota, usage, and percentage used of the fileset. Ignore these values for a non-LFS fileset; refer instead to the corresponding values for the partition on which the fileset resides.

· The percentage of disk space in use, the number of kilobytes in use, and the number of kilobytes available on the partition on which the fileset resides.

· A non-LFS indicator to show that the fileset is stored on a non-LFS aggregate (partition).

Note again that the UNIX df command can be used to display the same information for the partition on which a non-LFS fileset resides.

More:

Setting Quota for a DCE LFS Fileset

Listing Quota, Size, and Other Information for a Fileset