I am just exploring the output of "metastat" command . I created 3 volumes as follows
d80 - RAID5 Volume, d40- Stripped volume having interlace 64k, d20- Concatenated Volume.
I have taken the full device for making all the above volumes.
The "Start Block" as per sun documentation indicates "start block on which the slice begins"
If I understand it literally the full device beings from Block number '0'.
Why it shows different value of "Start Block" for different devices on different volume.
Can anyone explain what exactly does the 'Start Block' mean?
bash-2.05# metainit d80 -r c3t3d6s2 c3t3d7s2 c3t3d8s2 -i 20k
d80: RAID is setup
bash-2.05# metastat d80
Interlace: 40 blocks
Size: 2033280 blocks (992 MB)
Size: 2034320 blocks (993 MB)
Device Start Block Dbase State Reloc Hot Spare
c3t3d6s2 2330 No Okay Yes
c3t3d7s2 2330 No Okay Yes
c3t3d8s2 2330 No Okay Yes
I did further analysis on this.
For Concat & Stripped volumes ( d20 & d40), SVM is using the 1st device from Start Block "0". Then for all other subsequent devices, it is leaving the 1st cylinder (i.e 1920 blocks) and using the rest of the space available on the disk.
But for RAID5 volumes, SVM leaves 2330 blocks from the beginning of all devices and using the rest of the space.
Anyone knows the reason for this ?
This can be found out using prtvtoc & devinfo cmds