Prakash Sawarkar: Kernel 3.8 Released, how to Compile in Redhat, CenOS and Fedora..

Kernel 3.8 Released, how to Compile in Redhat, CentOS and Fedora.

Sunday, 5 August 2012

GPFS Enable and Disable Quota Management

The General Parallel File System (GPFS) is a high-performance clustered file system that can be deployed in shared-disk or shared-nothing distributed parallel modes. It is developed by IBM. It is used by many of the world's largest commercial companies, as well as some of the supercomputers on the Top 500 List.[1] For example, GPFS is the filesystem of the ASC Purple Supercomputer[2] which is composed of more than 12,000 processors and has 2 petabytes of total disk storage spanning more than 11,000 disks.
In common with typical cluster filesystems, GPFS provides concurrent high-speed file access to applications executing on multiple nodes of clusters. It can be used with AIX 5L clusters, Linux clusters, on Microsoft Windows Server, or a heterogeneous cluster of AIX, Linux and Windows nodes. In addition to providing filesystem storage capabilities, GPFS provides tools for management and administration of the GPFS cluster and allows for shared access to file systems from remote GPFS clusters.

Enable and Disable Quota Management for GPFS.

Taken from GPFS Administration and Programming Reference Enabling and disabling GPFS quota management
To enable GPFS quota management on an existing GPFS file system.
1) Unmount the file system everywhere.
2) Run the mmchfs -Q yes command. This command automatically activates quota enforcement whenever   the file system is mounted.
3) Remount the file system, activating the new quota files. All subsequent mounts follow the new quota     setting.
4) Compile inode and disk block statistics using the mmcheckquota command. The values obtained can be used to establish realistic quota values when issuing the mmedquota command.
5) Issue the mmedquota command to explicitly set quota values for users, groups, or filesets.

Once GPFS quota management has been enabled, you may establish quota values by:
1.Setting default quotas for all new users, groups of users, or filesets.
2. Explicitly establishing or changing quotas for users, groups of users, or filesets.
3. Using the gpfs_quotactl() subroutine.
To Disable quota management:
Step-1 Unmount the file system everywhere.
Step-2 Run the # mmchfs -Q no command.
Step-3 Remount the file system, deactivating the quota files. All subsequent mounts obey the new quota setting.
To Enable GPFS quota management on a new GPFS file system: 
Step-1 Run  # mmcrfs -Q yes command. This option automatically activates quota enforcement whenever the file system is mounted.
Step-2 Mount the file system.
Step-3 Issue the mmedquota command to explicitly set quota values for users, groups, or filesets. See Explicitly establishing and changing quotas.