vxprint output description
Hi I am nwbie in vxvm, I want to understand a scenario,Kindly help me on this,
a) In this vxprint o/p, what does these 4 plexes means.. which type of RAID configuration it is, if there are 2 plexes or 5 plexes what would be the RAID configuration.
b) What is meant by DISKOFFS & LENGTH mentioned here.. in SD section. Does that size in 512-byte blocks or 1024-byte blocks?
c) What is 0 denoted here after LENGTH in SD section?
Here is the output,
vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced rootdisk rootdg online
c1t1d0s2 sliced rootmirror rootdg online
c1t2d0s2 sliced awasdat02 awasdatadg online
c1t3d0s2 sliced awasdat01 awasdatadg online
c1t4d0s2 sliced awasdat03 awasdatadg online
c1t5d0s2 sliced awasdat04 awasdatadg online
Disk group: awasdatadg
DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
dg awasdatadg default default 48000 1066928446.1328.awasexp1
dm awasdat01 c1t3d0s2 sliced 2888 71124291 - <---
dm awasdat02 c1t2d0s2 sliced 2888 71124291 - <---
dm awasdat03 c1t4d0s2 sliced 2888 71124291 - <---
dm awasdat04 c1t5d0s2 sliced 2888 71124291 - <---
v migration fsgen ENABLED ACTIVE 8388608 SELECT -
pl migration-05 migration ENABLED ACTIVE 8388608 CONCAT - RW
sv migration-S02 migration-05 migration-L02 1 8388608 0 3/3 ENA
v migration-L02 fsgen ENABLED ACTIVE 8388608 SELECT -
pl migration-P04 migration-L02 ENABLED ACTIVE LOGONLY CONCAT - RW
sd awasdat02-16 migration-P04 awasdat02 26226342 15 LOG c1t2d0 ENA
pl migration-P05 migration-L02 ENABLED ACTIVE 8388608 CONCAT - RW
sd awasdat02-19 migration-P05 awasdat02 54526986 8388608 0 c1t2d0 ENA
pl migration-P06 migration-L02 ENABLED ACTIVE 8388608 CONCAT - RW
sd awasdat01-04 migration-P06 awasdat01 54524097 8388608 0 c1t3d0 ENA
vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced rootdisk rootdg online
c1t1d0s2 sliced rootmirror rootdg online
c1t2d0s2 sliced awasdat02 awasdatadg online
c1t3d0s2 sliced awasdat01 awasdatadg online
c1t4d0s2 sliced awasdat03 awasdatadg online
c1t5d0s2 sliced awasdat04 awasdatadg online
Hello,
I would recommend to read through the guides to understand different types of volume layouts . Start with sf admin guide
To answer your questions
a) In this vxprint o/p, what does these 4 plexes means.. which type of RAID configuration it is, if there are 2 plexes or 5 plexes what would be the RAID configuration.
--> This depends on how volume was created. You can have two plexes in RAID 1 i.e. mirrored state (if both the size of plex is same), you can have them in concat or stripe. OR you can also have them in RAID 1+0 or vice versa which means concat-mirror, mirror-concat, stripe-mirror or mirror-stripe. These are called layered volumes. A layered volume will have an object called sub-volume which is denoted by "sv". You seem to have a sub-volume which indicates you might have a layered volume which may be concat-mirror or mirror-concat. Read through below link in detail
https://sort.symantec.com/public/documents/sfha/6.2/solaris/productguides/html/sf_admin/ch06s02s01.htm
b) What is meant by DISKOFFS & LENGTH mentioned here.. in SD section. Does that size in 512-byte blocks or 1024-byte blocks?
Length would actually denote the size of subdisk in a volume .. depending on layout of volume, various sub-disks will form a volume. )Length x 512) / 1024 / 1024 /1024 will give you size in GB. you can try converting a volume size into GB. Diskoffs as the name indicates are disk offsets
c) What is 0 denoted here after LENGTH in SD section?
refer to legends at the beginning of the vxprint output, the sd line legends are
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
the 0 here would indicate the column/offset
G