To view the volume configuration, use one of the following methods:
From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. For more information, see the online help.
Use the following format of the metastat command:
metastat -p -i component-name |
-p specifies to output a condensed summary, suitable for use in creating the md.tab file.
-i specifies to verify that all devices can be accessed.
component-name is the name of the volume to view. If no volume name is specified, a complete list of components will be displayed.
The metastat command does not sort output. Pipe the output of the metastat -p command to the sort or grep commands for a more managable listing of your configuration.
For more information, see metastat(1M).
The following example illustrates output from the metastat command.
# metastat d50: RAID State: Okay Interlace: 32 blocks Size: 20985804 blocks Original device: Size: 20987680 blocks Device Start Block Dbase State Reloc Hot Spare c1t4d0s5 330 No Okay Yes c1t5d0s5 330 No Okay Yes c2t4d0s5 330 No Okay Yes c2t5d0s5 330 No Okay Yes c1t1d0s5 330 No Okay Yes c2t1d0s5 330 No Okay Yes d1: Concat/Stripe Size: 4197879 blocks Stripe 0: Device Start Block Dbase Reloc c1t2d0s3 0 No Yes d2: Concat/Stripe Size: 4197879 blocks Stripe 0: Device Start Block Dbase Reloc c2t2d0s3 0 No Yes d80: Soft Partition Device: d70 State: Okay Size: 2097152 blocks Extent Start Block Block count 0 1 2097152 d81: Soft Partition Device: d70 State: Okay Size: 2097152 blocks Extent Start Block Block count 0 2097154 2097152 d70: Mirror Submirror 0: d71 State: Okay Submirror 1: d72 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 12593637 blocks d71: Submirror of d70 State: Okay Size: 12593637 blocks Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t3d0s3 0 No Okay Yes Stripe 1: Device Start Block Dbase State Reloc Hot Spare c1t3d0s4 0 No Okay Yes Stripe 2: Device Start Block Dbase State Reloc Hot Spare c1t3d0s5 0 No Okay Yes d72: Submirror of d70 State: Okay Size: 12593637 blocks Stripe 0: Device Start Block Dbase State Reloc Hot Spare c2t3d0s3 0 No Okay Yes Stripe 1: Device Start Block Dbase State Reloc Hot Spare c2t3d0s4 0 No Okay Yes Stripe 2: Device Start Block Dbase State Reloc Hot Spare c2t3d0s5 0 No Okay Yes hsp010: is empty hsp014: 2 hot spares Device Status Length Reloc c1t2d0s1 Available 617652 blocks Yes c2t2d0s1 Available 617652 blocks Yes hsp050: 2 hot spares Device Status Length Reloc c1t2d0s5 Available 4197879 blocks Yes c2t2d0s5 Available 4197879 blocks Yes hsp070: 2 hot spares Device Status Length Reloc c1t2d0s4 Available 4197879 blocks Yes c2t2d0s4 Available 4197879 blocks Yes Device Relocation Information: Device Reloc Device ID c1t2d0 Yes id1,sd@SSEAGATE_ST39204LCSUN9.0G3BV0N1S200002103AF29 c2t2d0 Yes id1,sd@SSEAGATE_ST39204LCSUN9.0G3BV0P64Z00002105Q6J7 c1t1d0 Yes id1,sd@SSEAGATE_ST39204LCSUN9.0G3BV0N1EM00002104NP2J c2t1d0 Yes id1,sd@SSEAGATE_ST39204LCSUN9.0G3BV0N93J000071040L3S c0t0d0 Yes id1,dad@s53554e575f4154415f5f53543339313430412525415933 |