GPFS Policy Engine
Total Page:16
File Type:pdf, Size:1020Kb
General Parallel File System Version 4 Release 1 Administration and Programming Reference SA23-1452-00 General Parallel File System Version 4 Release 1 Administration and Programming Reference SA23-1452-00 Note Before using this information and the product it supports, read the information in “Notices” on page 655. This edition applies to version 4 release 1 modification 0 of the following products, and to all subsequent releases and modifications until otherwise indicated in new editions: v IBM General Parallel File System ordered through Passport Advantage® (product number 5725-Q01) v IBM General Parallel File System ordered through AAS/eConfig (product number 5641-GPF) v IBM General Parallel File System ordered through HVEC/Xcel (product number 5641-GP6, 5641-GP7, or 5641-GP8) Significant changes or additions to the text and illustrations are indicated by a vertical line (|) to the left of the change. IBM welcomes your comments; see the topic “How to send your comments” on page xii. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright IBM Corporation 2014. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Tables ...............vii Backing up a file system using the mmbackup command ..............34 About this information ........ix Backing up a file system using the GPFS policy engine ...............40 Prerequisite and related information ......x Backing up file system configuration information 40 Conventions used in this information ......xi Using APIs to develop backup applications. 40 How to send your comments ........xii Scale Out Backup and Restore (SOBAR) .....41 || Summary of changes ........xiii Chapter 4. Managing disks ......43 Displaying disks in a GPFS cluster ......43 Chapter 1. Performing GPFS Adding disks to a file system ........44 administration tasks .........1 Deleting disks from a file system .......44 Requirements for administering a GPFS file system . 1 Replacing disks in a GPFS file system .....46 adminMode configuration parameter .....2 Additional considerations for managing disks . 47 Common GPFS command principles ......3 Displaying GPFS disk states .........48 Specifying nodes as input to GPFS commands . 3 Disk availability ............48 Stanza files ..............4 Disk status .............48 Changing GPFS disk states and parameters....49 Chapter 2. Managing your GPFS cluster 7 Changing your NSD configuration.......50 Creating your GPFS cluster .........7 Changing NSD server usage and failback ....51 Displaying GPFS cluster configuration information . 7 Enabling and disabling Persistent Reserve ....52 Adding nodes to a GPFS cluster ........8 Deleting nodes from a GPFS cluster ......9 Chapter 5. Managing GPFS quotas. 53 Changing the GPFS cluster configuration data . 10 Enabling and disabling GPFS quota management. 53 Node quorum considerations ........18 Default quotas .............54 Node quorum with tiebreaker considerations . 18 Explicitly establishing and changing quotas . 55 Displaying and changing the file system manager Checking quotas.............56 node.................18 Listing quotas .............57 Determining how long mmrestripefs takes to Activating quota limit checking........58 complete ...............19 Deactivating quota limit checking .......59 Starting and stopping GPFS .........20 Changing the scope of quota limit checking . 59 Creating file system quota reports .......60 Chapter 3. Managing file systems . 23 Restoring quota files ...........60 Mounting a file system ..........23 Mounting a file system on multiple nodes . 23 Chapter 6. Managing GPFS access GPFS-specific mount options .......23 control lists and NFS export .....63 Unmounting a file system .........25 Traditional GPFS ACL administration......63 Unmounting a file system on multiple nodes . 25 Setting traditional GPFS access control lists . 64 Deleting a file system ...........25 Displaying traditional GPFS access control lists 65 Determining which nodes have a file system Applying an existing traditional GPFS access mounted ...............26 control list ..............65 Checking and repairing a file system ......26 Changing traditional GPFS access control lists . 66 Listing file system attributes .........28 Deleting traditional GPFS access control lists . 66 Modifying file system attributes .......29 NFS V4 ACL administration .........66 Querying and changing file replication attributes . 29 NFS V4 ACL Syntax ..........67 Querying file replication .........29 NFS V4 ACL translation .........69 Changing file replication attributes .....29 Setting NFS V4 access control lists......69 Using Direct I/O on a file in a GPFS file system . 30 Displaying NFS V4 access control lists ....70 Restriping a GPFS file system ........30 Applying an existing NFS V4 access control list 70 Querying file system space .........31 Changing NFS V4 access control lists .....70 Querying and reducing file system fragmentation . 32 Deleting NFS V4 access control lists .....70 Querying file system fragmentation .....33 Considerations when using GPFS with NFS V4 Reducing file system fragmentation .....33 ACLs ...............71 Backing up a file system ..........34 NFS and GPFS .............71 Exporting a GPFS file system using NFS....71 © Copyright IBM Corp. 2014 iii NFS usage of GPFS cache.........74 mmdelnode command ..........288 || Local read-only cache ..........74 || mmdelnodeclass command .........291 Synchronous writing using NFS ......75 mmdelnsd command ...........293 Unmounting a file system after NFS export. 75 mmdelpdisk command ..........295 NFS automount considerations .......75 mmdelrecoverygroup command .......298 Clustered NFS and GPFS on Linux .....75 mmdelsnapshot command .........300 mmdelvdisk command ..........302 Chapter 7. GPFS commands .....77 mmdf command ............304 mmaddcallback command .........82 mmdiag command ...........307 mmaddcomp command ..........92 mmdiscovercomp command ........312 mmadddisk command...........95 mmeditacl command ...........314 mmaddnode command ..........101 mmedquota command ..........317 mmaddpdisk command ..........104 mmexportfs command ..........321 || mmafmconfig command..........106 mmfsck command............323 mmafmctl command ...........108 mmfsctl command............328 mmafmlocal command ..........115 mmgetacl command ...........332 mmapplypolicy command .........117 mmgetstate command ..........335 mmauth command ...........126 mmimgbackup command .........338 mmbackup command ..........131 mmimgrestore command .........341 mmbackupconfig command ........138 mmimportfs command ..........344 mmchattr command ...........140 mmlinkfileset command ..........348 mmchcarrier command ..........145 mmlsattr command ...........350 mmchcluster command ..........148 mmlscallback command ..........353 mmchcomp command ..........152 mmlscluster command ..........355 mmchcomploc command .........155 mmlscomp command...........357 mmchconfig command ..........157 mmlscomploc command..........360 mmchdisk command ...........176 mmlscompspec command .........362 mmcheckquota command .........181 mmlsconfig command ..........364 mmchenclosure command .........184 mmlsdisk command ...........366 mmchfileset command ..........186 mmlsenclosure command .........369 mmchfirmware command .........191 mmlsfileset command ..........372 mmchfs command............194 mmlsfirmware command .........376 mmchlicense command ..........199 mmlsfs command ............378 mmchmgr command ...........201 mmlslicense command ..........382 mmchnode command ..........203 mmlsmgr command ...........384 || mmchnodeclass command .........207 mmlsmount command ..........386 mmchnsd command ...........210 || mmlsnodeclass command .........388 mmchpdisk command ..........213 mmlsnsd command ...........391 mmchpolicy command ..........215 mmlspdisk command...........394 mmchpool command ...........217 mmlspolicy command ..........397 mmchrecoverygroup command .......219 mmlspool command ...........399 mmclone command ...........221 mmlsquota command ..........401 mmcrcluster command ..........224 mmlsrecoverygroup command .......405 mmcrfileset command ..........228 mmlsrecoverygroupevents command .....408 mmcrfs command ............233 mmlssnapshot command .........410 || mmcrnodeclass command .........242 mmlsvdisk command...........412 mmcrnsd command ...........244 mmmigratefs command ..........415 mmcrrecoverygroup command .......249 mmmount command ...........417 mmcrsnapshot command .........252 mmnsddiscover command .........419 mmcrvdisk command ..........255 mmpmon command ...........421 mmdefedquota command .........260 mmpsnap command ...........426 mmdefquotaoff command .........263 mmputacl command ...........429 mmdefquotaon command .........266 mmquotaoff command ..........432 mmdefragfs command ..........270 mmquotaon command ..........434 mmdelacl command ...........273 mmremotecluster command ........437 mmdelcallback command .........275 mmremotefs command ..........440 mmdelcomp command ..........276 mmrepquota command ..........443 mmdelcomploc command .........278 mmrestoreconfig command.........447 mmdeldisk command ..........280 mmrestorefs command ..........451 mmdelfileset command ..........283 mmrestripefile command .........455 mmdelfs command ...........286 mmrestripefs command ..........458 iv GPFS: Administration and Programming Reference mmrpldisk