29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. To restore the user quota file for the file system fs1 from the backup file userQuotaInfo, enter:<br />

mmcheckquota -u userQuotaInfo fs1<br />

2. This will restore the user quota limits set for the file system, but the usage information will not be<br />

current. To bring the usage information to current values, the comm<strong>and</strong> must be reissued:<br />

mmcheckquota fs1<br />

If no backup files are available <strong>and</strong> the quota files are to be restored using a new file, these steps must be<br />

followed:<br />

1. The existing corrupted quota files need to be removed:<br />

a. Disable quota management:<br />

mmchfs fs1 -Q no<br />

b. Unmount the file system.<br />

c. Remount the file system.<br />

d. Remove the user.quota, group.quota, <strong>and</strong> fileset.quota files.<br />

2. Enable quota management:<br />

mmchfs fs1 -Q yes<br />

3. Unmount the file system.<br />

4. Remount the file system.<br />

5. Reestablish quota limits by issuing the mmedquota comm<strong>and</strong>.<br />

6. Gather the current quota usage values by issuing the mmcheckquota comm<strong>and</strong>.<br />

Chapter 5. Managing <strong>GPFS</strong> quotas 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!