Use the dumpmdiskbadblocks command to write the bad block counts and locations that are on a specified MDisk to a dump file for use by fix procedures.
Use the dumpmdiskbadblocks command to write the bad block counts and locations that are on a specified MDisk to a readable ASCII dump file for use by fix procedures. The output consists of bad blocks for which an event 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.
dumpmdiskbadblocks 3
The resulting output if the MDisk has bad blocks:
Cluster name: my_cluster Timestamp of dump: Fri Oct 31 11:27:33 2009 UTC Mdisk id: 3 Mdisk name: mdisk3 Number of bad blocks: 6 Start LBA: 0x1234123412341234 Length: 2 Event log sequence number: 1 Start LBA: 0x5678567812341234 Length: 4 Event log sequence number: 2
The resulting output if the MDisk has no bad blocks:
Cluster name: my_cluster Timestamp of dump: Fri Oct 31 11:27:33 2009 UTC Mdisk id: 3 Mdisk name: mdisk3 Number of bad blocks: 0