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.

mmchfs Comm<strong>and</strong><br />

If your file system has additional disks added or the number of inodes was insufficiently sized at<br />

file system creation, you may change the number of inodes <strong>and</strong> hence the maximum number of<br />

files that can be created.<br />

The initial setting of the number of inodes at file system creation is used as the minimum value.<br />

The new value, set by using the mmchfs comm<strong>and</strong>, determines the maximum value. The inode<br />

file exp<strong>and</strong>s on dem<strong>and</strong>, from the initial minimum value set up to the new maximum value as<br />

needed.<br />

For file systems that will be doing parallel file creates, if the total number of free inodes is not<br />

greater than 5% of the total number of inodes, there is the potential for slowdown in file system<br />

access. Take this into consideration when changing your file system.<br />

-k {posix | nfs4 | all}<br />

Specifies the type of authorization supported by the file system:<br />

posix Traditional <strong>GPFS</strong> ACLs only (NFS V4 ACLs are not allowed). Authorization controls are<br />

unchanged from earlier releases.<br />

nfs4 Support for NFS V4 ACLs only. Users are not allowed to assign traditional <strong>GPFS</strong> ACLs to<br />

any file system objects (directories <strong>and</strong> individual files).<br />

all Any supported ACL type is permitted. This includes traditional <strong>GPFS</strong> (posix) <strong>and</strong> NFS V4<br />

ACLs (nfs4).<br />

The administrator is allowing a mixture of ACL types. For example, fileA may have a<br />

posix ACL, while fileB in the same file system may have an NFS V4 ACL, implying<br />

different access characteristics for each file depending on the ACL type that is currently<br />

assigned.<br />

Neither nfs4 nor all should be specified here unless the file system is going to be exported to NFS<br />

V4 clients. NFS V4 ACLs affect file attributes (mode) <strong>and</strong> have access <strong>and</strong> authorization<br />

characteristics that are different from traditional <strong>GPFS</strong> ACLs.<br />

-m DefaultMetaDataReplicas<br />

Changes the default number of metadata replicas. Valid values are 1 <strong>and</strong> 2 but cannot exceed the<br />

values of MaxMetaDataReplicas set when the file system was created.<br />

-o MountOptions<br />

Specifies the mount options to pass to the mount comm<strong>and</strong> when mounting the file system. For a<br />

detailed description of the available mount options, see “<strong>GPFS</strong>-specific mount options” on page<br />

13.<br />

-Q {yes | no}<br />

If yes is specified, quotas are activated automatically when the file system is mounted. If no is<br />

specified, the quota files remain in the file system, but are not used.<br />

To activate quota management after the mmchfs -Q yes comm<strong>and</strong> has been issued:<br />

1. Unmount the file system everywhere.<br />

2. Remount the file system, activating the new quota files. All subsequent mounts obey the new<br />

quota setting.<br />

3. Compile inode <strong>and</strong> disk block statistics using the mmcheckquota comm<strong>and</strong>. Use these values<br />

as a reference to establish realistic quota values when issuing the mmedquota <strong>and</strong><br />

mmdefedquota comm<strong>and</strong>s.<br />

4. For default quotas:<br />

a. Issue the mmdefedquota comm<strong>and</strong> to establish default quota values.<br />

b. Issue the mmdefquotaon -d comm<strong>and</strong> to activate default quotas.<br />

5. For explicit quotas:<br />

a. Issue the mmedquota comm<strong>and</strong> to establish quota values.<br />

104 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!