Friday, 10 April 2009

Idenitfying a Simple Raid / CONCAT on vxvm

here we have 2 instances of simple RAID (ie CONCAT), where the disks are all lumped together to make big virtual disks. In these examples, we see just one plex with several sub disks under it. A quick way to check that it is simple raid is to calculate the size of the volume and if that tallies with the amount of subdisks, you know it is simple raid as all the available disks are jsut being utilised to create a big virtual disk;

v APP - ENABLED ACTIVE 142748172 SELECT - fsgen
pl APP-01 APP ENABLED ACTIVE 142748172 CONCAT - RW
sd PWDAML02-01 APP-01 PWDAML02 0 71374086 0 sdc ENA
sd PWDAML03-01 APP-01 PWDAML03 0 71374086 71374086 sdd ENA

71374086 x 2 = 142748172


Also, we know it is concat becuase the LAYOUT column says so on the PLEX line;

pl APP-01 APP ENABLED ACTIVE 142748172 CONCAT



Anyway, here are a couple of examples;

Disk group: dgdaml01

DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
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
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO

dg dgdaml01 default default 0 1146651645.1063.eupr0085

dm PWDAML02 sdc sliced 2330 71374086 -
dm PWDAML03 sdd sliced 2330 71374086 -

v APP - ENABLED ACTIVE 142748172 SELECT - fsgen
pl APP-01 APP ENABLED ACTIVE 142748172 CONCAT - RW
sd PWDAML02-01 APP-01 PWDAML02 0 71374086 0 sdc ENA
sd PWDAML03-01 APP-01 PWDAML03 0 71374086 71374086 sdd ENA





Disk group: dgdaml01

DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
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
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO

dg dgdaml01 default default 0 1118057845.1098.eupr0045

dm PWDAML01 sdc sliced 2074 71374086 -
dm PWDAML02 sdd sliced 2330 71374086 -
dm PWDAML03 sde sliced 2330 71374086 -
dm PWDAML04 sdf sliced 2330 71374086 -
dm PWDAML05 sdg sliced 2330 71374086 -

v amlapp01 - ENABLED ACTIVE 356870430 SELECT - fsgen
pl amlapp01-01 amlapp01 ENABLED ACTIVE 356870430 CONCAT - RW
sd PWDAML01-01 amlapp01-01 PWDAML01 0 71374086 0 sdc ENA
sd PWDAML02-01 amlapp01-01 PWDAML02 0 71374086 71374086 sdd ENA
sd PWDAML03-01 amlapp01-01 PWDAML03 0 71374086 142748172 sde ENA
sd PWDAML04-01 amlapp01-01 PWDAML04 0 71374086 214122258 sdf ENA
sd PWDAML05-01 amlapp01-01 PWDAML05 0 71374086 285496344 sdg ENA

No comments: