You can display the current state of one or more disks in your file system by issuing the mmlsdisk command. The information includes parameters that were specified on the mmcrfs command, and the current availability and status of the disks. For example, to display the current status of the disk gpfslv09 in the file system fs1, enter:
mmlsdisk fs1 -d "gpfslv09"
Status will be displayed in the format:
disk driver sector failure holds holds name type size group metadata data status availability ------------ -------- ------ ------- -------- ----- ------------- ------------ gpfslv09 disk 512 -1 yes yes ready up
Refer to mmlsdisk Command for syntax and usage information.
A disk's availability determines whether GPFS is able to read and write to the disk. There are four possible values for availability:
Disk availability is automatically changed from up to down when GPFS detects repeated I/O errors. You can also change the availability of a disk by issuing the mmchdisk command.
Disk status controls data placement and migration. Status changes as a result of a pending delete operation, or when the mmchdisk command is issued to allow file rebalancing or rereplicating prior to disk replacement or deletion.
Disk status has five possible values, but three are transitional:
GPFS allocates space only on disks with a status of ready or replacement.
GPFS migrates data off of disks with a status of being emptied, replacing, or suspended, onto disks with a status of ready or replacement. During disk deletion or replacement, data is automatically migrated as part of the operation. The mmrestripefs command must be issued to initiate data migration from a suspended disk.
See Deleting disks from a file system, Replacing disks in a GPFS file system, and Restriping a GPFS file system.