PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 24 File System Backing-up and Restoring

24.6 Backing up and Restoring User Limit Values of the quota function

When a file is backed up or restored, the user limit values of the quota functionTerm of the GFS Share File System can be backed up or restored by backing up or restoring the quotas file for each GFS Share File System. The GFS Shared File System manages the user limit values with the internal and external quota files. When backing up or restoring, sfcquotadm(1M) must be used to ensure that the contents of the files are consistent.

For details on sfcquotadm(1M), see Appendix F.2.22, "sfcquotadm(1M)."

The following shows the procedure by which the user limit values of the quota function of the file system to be mounted in /sfcfs are saved onto another file system using cp(1):

# sfcquotadm -e /sfcfs
# cp /sfcfs/quotas /work/quotas

The following shows the procedure by which the user limit values are restored by restoring the quotas file "/work/quotas" previously backed up to the file system mounted in /sfcfs:

# cp /work/quotas /sfcfs/quotas
# sfcquotadm -i /sfcfs

When the quota function is disabled, it must be enabled for restoration.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004