cancel
Showing results for 
Search instead for 
Did you mean: 

plexvol

MIG31
Level 4

Good Morning Symantec world at the back end I am running RAID DP SAN,  on my  veritas volumes i did a mirroring  I want to get 100% disk space than 50% as per the output below how can i take out the plexes and not mess with the volumes and get 240GB

v  Mig31Data  -            ENABLED  ACTIVE   230686720 SELECT   -        fsgen
pl Mig31Data-01 Mig31Data ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk03-01    Mig31Data-01 disk03 0        230686720 0        sdj      ENA
pl Mig31Data-02 Mig31Data ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk04-01    Mig31Data-02 disk04 0        230686720 0        sdl      ENA

v  Mig31Jrnl  -            ENABLED  ACTIVE   230686720 SELECT   -        fsgen
pl Mig31Jrnl-01 Mig31Jrnl ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk05-01    Mig31Jrnl-01 disk05 0        230686720 0        sdm      ENA
pl Mig31Jrnl-02 Mig31Jrnl ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk01-01    Mig31Jrnl-02 disk01 0        230686720 0        sdp      ENA

Thanks,

Mig31

1 ACCEPTED SOLUTION

Accepted Solutions

g_lee
Level 6

From above output:

- Mig31Data is mirrored on sdj, sdl

- Mig31Jrnl is mirrored on sdm, sdp

Assuming you want to convert the volumes to concat (and still use the same disks), the following would work (assuming these volumes are the only volumes on these disk(s) - if that this not the case, provide vxprint output before proceeding):

1. remove the mirror plex from both volumes:

# vxplex -g <diskgroup> -o rm dis Mig31Data-02

# vxplex -g <diskgroup> -o rm dis Mig31Jrnl-02

2. Grow the volumes onto the freed up disks - ensure the dmname is included in the specification to grow onto the correct disk(s):

# vxresize -F <fstype> -g <diskgroup> Mig31Data +230686720 disk04

# vxresize -F <fstype> -g <diskgroup> Mig31Jrnl +230686720 disk01

3. Check

# vxprint -qhtrg <diskgroup> Mig31Data Mig31Jrnl

View solution in original post

4 REPLIES 4

g_lee
Level 6

From above output:

- Mig31Data is mirrored on sdj, sdl

- Mig31Jrnl is mirrored on sdm, sdp

Assuming you want to convert the volumes to concat (and still use the same disks), the following would work (assuming these volumes are the only volumes on these disk(s) - if that this not the case, provide vxprint output before proceeding):

1. remove the mirror plex from both volumes:

# vxplex -g <diskgroup> -o rm dis Mig31Data-02

# vxplex -g <diskgroup> -o rm dis Mig31Jrnl-02

2. Grow the volumes onto the freed up disks - ensure the dmname is included in the specification to grow onto the correct disk(s):

# vxresize -F <fstype> -g <diskgroup> Mig31Data +230686720 disk04

# vxresize -F <fstype> -g <diskgroup> Mig31Jrnl +230686720 disk01

3. Check

# vxprint -qhtrg <diskgroup> Mig31Data Mig31Jrnl

MIG31
Level 4

Hey g_lee thats the output for the vxprint

[root@system1]# vxprint -htr
Disk group: appsdg

DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
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
CO NAME         CACHEVOL     KSTATE   STATE
VT NAME         RVG          KSTATE   STATE    NVOLUME
V  NAME         RVG/VSET/CO  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
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE

dg appsdg       default      default  19000    1368667563.26.system1.managed.cln

dm disk01       sdp          auto     65536    251512096 -
dm disk02       sdh          auto     65536    52225776 -
dm disk03       sdj          auto     65536    251512096 -
dm disk04       sdl          auto     65536    251512096 -
dm disk05       sdm          auto     65536    251512096 -
dm disk06       sdr          auto     65536    104661936 -

v  Mig31App   -            ENABLED  ACTIVE   41943040 SELECT    -        fsgen
pl Mig31App-01 Mig31App  ENABLED  ACTIVE   41943040 CONCAT    -        RW
sd disk02-01    Mig31App-01 disk02  0        41943040 0         sdh      ENA

v  Mig31Cst   -            ENABLED  ACTIVE   83886080 SELECT    -        fsgen
pl Mig31Cst-01 Mig31Cst  ENABLED  ACTIVE   83886080 CONCAT    -        RW
sd disk06-01    Mig31Cst-01 disk06  0        83886080 0         sdr      ENA

v  Mig31Data  -            ENABLED  ACTIVE   230686720 SELECT   -        fsgen
pl Mig31Data-01 Mig31Data ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk03-01    Mig31Data-01 disk03 0        230686720 0        sdj      ENA
pl Mig31Data-02 Mig31Data ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk04-01    Mig31Data-02 disk04 0        230686720 0        sdl      ENA

v  Mig31Jrnl  -            ENABLED  ACTIVE   230686720 SELECT   -        fsgen
pl Mig31Jrnl-01 Mig31Jrnl ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk05-01    Mig31Jrnl-01 disk05 0        230686720 0        sdm      ENA
pl Mig31Jrnl-02 Mig31Jrnl ENABLED ACTIVE   230686720 CONCAT   -        RW
sd disk01-01    Mig31Jrnl-02 disk01 0        230686720 0        sdp      ENA
[root@system1]#

Thanks,

Mig31

stinsong
Level 5

MIG31,

The output of vxprint confirmed it's good to go with proceeding the actions g_lee given.

Good Luck !

MIG31
Level 4

Thanks Stingsong

Mig31