13.5 Quotas


13.5 Quotas

Tru64 UNIX provides quota support on three levels:

  • User

  • Group

  • Fileset (AdvFS-only)

The TruCluster Server has always supported fileset quotas, but user and group quota support was not added until V5.1A.

In order to keep quota support from adversely affecting the cluster file system's performance, a compromise was made in quota enforcement. The compromise is that it is possible for a user or group to exceed its quota by up to the quota_excess_blocks attribute in the cfs subsystem. By default, this value is set to 1 MB per member – so on an eight-node cluster any user or group may exceed its quota by up to 8 MB. The quota_excess_blocks attribute can be reconfigured while the system is running (notice the "R" in the "op" field in the following example).

 # sysconfig -Q cfs quota_excess_blocks cfs: quota_excess_blocks - type=ULONG op=CRQ min_val=0 max_val=18446744073709551615 

The attribute value is expressed in kilobytes as you can see in the next example.

 # sysconfig -q cfs quota_excess_blocks cfs: quota_excess_blocks = 1024 

If you want to increase the value to 2 MB, for example, you can use the following command:

 # sysconfig -r cfs quota_excess_blocks=2048 quota_excess_blocks: reconfigured 
 # sysconfig -q cfs quota_excess_blocks cfs: quota_excess_blocks = 2048 

Note that you have only increased the value on the member you are logged into at this point. The value of the cfs:quota_excess_blocks attribute does not have to be the same on every member in the cluster.

For additional information on the cfs subsystem attributes see the sys_attrs_cfs(5) reference page.




TruCluster Server Handbook
TruCluster Server Handbook (HP Technologies)
ISBN: 1555582591
EAN: 2147483647
Year: 2005
Pages: 273

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net