How do I list the SVM soft partition information on a disk slice?
-
To list soft partition information on a disk slice, do the following; note that the -n switch just displays information, it doesn't do anything, this is best used for safety. I think we've all been there.
Without verbose option just displays verification information:
# metarecover -n /dev/rdsk/c1t3d0s6 -p c1t3d0s6: Soft Partition metadb configuration is valid c1t3d0s6: Soft Partition metadb matches extent header configuration
With the verbose option:
# metarecover -v -n /dev/rdsk/c1t3d0s6 -p Verifying on-disk structures on c1t3d0s6. The following extent headers were found on c1t3d0s6. Name Seq# Type Offset Length d83 0 ALLOC 0 4194305 d88 0 ALLOC 4194305 4194305 NONE 0 END 286169471 1 NONE 0 FREE 12582915 273586556 NONE 0 FREE 8388610 4194305 Found 2 soft partition(s) on c1t3d0s6. Checking sequence numbers. c1t3d0s6: Validating soft partition metadb entries. Verifying device d88. d88: Status "Okay" is valid. Extent Number Virtual Offset Physical Offset Length 0 0 4194306 4194304 Verifying device d83. d83: Status "Okay" is valid. Extent Number Virtual Offset Physical Offset Length 0 0 1 4194304 c1t3d0s6: Soft Partition metadb configuration is valid c1t3d0s6: Verifying metadb allocations match extent headers. Metadb extent: Name Seq# Type Offset Length d83 0 ALLOC 0 4194305 Extent header extent: Name Seq# Type Offset Length d83 0 ALLOC 0 4194305 Metadb extent: Name Seq# Type Offset Length d88 0 ALLOC 4194305 4194305 Extent header extent: Name Seq# Type Offset Length d88 0 ALLOC 4194305 4194305 c1t3d0s6: Soft Partition metadb matches extent header configuration
© Lightnetics 2024