Use the dumpallmdiskbadblocks command to dump bad block counts to a dump file used by the fix procedures and the satask snap command.
Use the dumpallmdiskbadblocks command to dump bad block counts to a readable ASCII dump file for use by fix procedures and the satask snap command. The output contains bad blocks for which an error log has been raised.
Use lsdumps-prefix/dumps/mdisk to list the output files. Use cleardumps-prefix/dumps/mdisk to clear the output files.
The maximum number of dump files is 20.
dumpallmdiskbadblocks
The resulting output if MDisk 2 and MDisk 5 have bad blocks:
Cluster name: my_cluster Timestamp of dump: Fri Oct 31 11:27:33 2009 UTC Mdisk id: 2 Mdisk name: mdisk2 Number of bad blocks: 4 Mdisk id: 5 Mdisk name: mdisk 5 Number of bad blocks: 1 Total mdisks with bad blocks: 2 Total number of bad blocks: 5
The resulting output if the MDisks have no bad blocks
Cluster name: my_cluster Timestamp of dump: Fri Oct 31 11:27:33 2009 UTC Total mdisks with bad blocks: 0 Total number of bad blocks: 0