==========online relayout============
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-01 vol1-01 d3 0 2097152 0 c2d15 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=stripe d0 d1
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-03 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-02 vol1-01 d1 0 1048576 1/0 c2d17 ENA
relayout ncol=2 to ncol=3
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-03 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-02 vol1-01 d1 0 1048576 1/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=stripe ncol=3
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097408 STRIPE 3/128 RW
sd d3-02 vol1-01 d3 0 699136 0/0 c2d15 ENA
sd d1-03 vol1-01 d1 0 699136 1/0 c2d17 ENA
sd d2-03 vol1-01 d2 0 699136 2/0 c2d16 ENA
stripe 3==>2
-bash-4.1# vxassist -g test relayout vol1 layout=stripe ncol=2
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-04 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-04 vol1-01 d1 0 1048576 1/0 c2d17 ENA
MONITORING:-
-bash-4.1# vxtask list
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/R 05.02% 0/4194304/210688 RELAYOUT vol1 test
-bash-4.1# vxtask monitor 198
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/R 91.76% 0/4194304/3848704 RELAYOUT vol1 test
198 - RELAYOUT/R 91.81% 0/4194304/3850752 RELAYOUT vol1 test
198 - RELAYOUT/R 91.86% 0/4194304/3852800 RELAYOUT vol1 test
198 - RELAYOUT/R 91.91% 0/4194304/3854848 RELAYOUT vol1 test
198 - RELAYOUT/R 91.96% 0/4194304/3856896 RELAYOUT vol1 test
198 - RELAYOUT/R 92.00% 0/4194304/3858944 RELAYOUT vol1 test
198 - RELAYOUT/R 92.05% 0/4194304/3860992 RELAYOUT vol1 test
198 - RELAYOUT/R 92.10% 0/4194304/3863040 RELAYOUT vol1 test
198 - RELAYOUT/R 92.15% 0/4194304/3865088 RELAYOUT vol1 test
198 - RELAYOUT/R 92.20% 0/4194304/3867136 RELAYOUT vol1 test
198 - RELAYOUT/R 92.25% 0/4194304/3869184 RELAYOUT vol1 test
vxt 198 - RELAYOUT/R 92.30% 0/4194304/3871232 RELAYOUT vol1 test
ask 198 - RELAYOUT/R 92.35% 0/4194304/3873280 RELAYOUT vol1 test
^R
vxtas^C
-bash-4.1# vxtask pause 198
-bash-4.1# vxtask monitor 198
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/P 93.03% 0/4194304/3901952 RELAYOUT vol1 test
^C
-bash-4.1# vxtask resume 198
-bash-4.1# vxtask monitor 198
VxVM vxtask ERROR V-5-1-2473 Task 198 does not exist
to convert stripe volume to concat volume
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-04 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-04 vol1-01 d1 0 1048576 1/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-03 vol1-01 d3 0 2097152 0 c2d15 ENA
to convert concat volume to mirror volume
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-03 vol1-01 d3 0 2097152 0 c2d15 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=raid5
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 RAID - raid5
pl vol1-Dp02 vol1 ENABLED LOG 2880 CONCAT - RW
sd d0-02 vol1-Dp02 d0 209664 2880 0 c2d18 ENA
pl vol1-01 vol1 ENABLED ACTIVE 2097152 RAID 3/32 RW
sd d3-02 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d2-03 vol1-01 d2 0 1048576 1/0 c2d16 ENA
sd d1-02 vol1-01 d1 0 1048576 2/0 c2d17 ENA
to convert raid-5 to raid-0 concatination
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 RAID - raid5
pl vol1-Dp02 vol1 ENABLED LOG 2880 CONCAT - RW
sd d0-02 vol1-Dp02 d0 209664 2880 0 c2d18 ENA
pl vol1-01 vol1 ENABLED ACTIVE 2097152 RAID 3/32 RW
sd d3-02 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d2-03 vol1-01 d2 0 1048576 1/0 c2d16 ENA
sd d1-02 vol1-01 d1 0 1048576 2/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=concat
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-04 vol1-01 d3 0 2097152 0 c2d15 ENA
try to conver concat volume to mirror volume
-bash-4.1# vxassist -g test relayout vol1 layout=mirror
VxVM vxassist INFO V-5-1-2140 This operation is not a relayout -- trying convert
VxVM vxassist ERROR V-5-1-4847 Volume vol1 not converted. Volume has same layout as target volume
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-01 vol1-01 d3 0 2097152 0 c2d15 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=stripe d0 d1
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-03 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-02 vol1-01 d1 0 1048576 1/0 c2d17 ENA
relayout ncol=2 to ncol=3
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-03 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-02 vol1-01 d1 0 1048576 1/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=stripe ncol=3
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097408 STRIPE 3/128 RW
sd d3-02 vol1-01 d3 0 699136 0/0 c2d15 ENA
sd d1-03 vol1-01 d1 0 699136 1/0 c2d17 ENA
sd d2-03 vol1-01 d2 0 699136 2/0 c2d16 ENA
stripe 3==>2
-bash-4.1# vxassist -g test relayout vol1 layout=stripe ncol=2
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-04 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-04 vol1-01 d1 0 1048576 1/0 c2d17 ENA
MONITORING:-
-bash-4.1# vxtask list
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/R 05.02% 0/4194304/210688 RELAYOUT vol1 test
-bash-4.1# vxtask monitor 198
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/R 91.76% 0/4194304/3848704 RELAYOUT vol1 test
198 - RELAYOUT/R 91.81% 0/4194304/3850752 RELAYOUT vol1 test
198 - RELAYOUT/R 91.86% 0/4194304/3852800 RELAYOUT vol1 test
198 - RELAYOUT/R 91.91% 0/4194304/3854848 RELAYOUT vol1 test
198 - RELAYOUT/R 91.96% 0/4194304/3856896 RELAYOUT vol1 test
198 - RELAYOUT/R 92.00% 0/4194304/3858944 RELAYOUT vol1 test
198 - RELAYOUT/R 92.05% 0/4194304/3860992 RELAYOUT vol1 test
198 - RELAYOUT/R 92.10% 0/4194304/3863040 RELAYOUT vol1 test
198 - RELAYOUT/R 92.15% 0/4194304/3865088 RELAYOUT vol1 test
198 - RELAYOUT/R 92.20% 0/4194304/3867136 RELAYOUT vol1 test
198 - RELAYOUT/R 92.25% 0/4194304/3869184 RELAYOUT vol1 test
vxt 198 - RELAYOUT/R 92.30% 0/4194304/3871232 RELAYOUT vol1 test
ask 198 - RELAYOUT/R 92.35% 0/4194304/3873280 RELAYOUT vol1 test
^R
vxtas^C
-bash-4.1# vxtask pause 198
-bash-4.1# vxtask monitor 198
TASKID PTID TYPE/STATE PCT PROGRESS
198 - RELAYOUT/P 93.03% 0/4194304/3901952 RELAYOUT vol1 test
^C
-bash-4.1# vxtask resume 198
-bash-4.1# vxtask monitor 198
VxVM vxtask ERROR V-5-1-2473 Task 198 does not exist
to convert stripe volume to concat volume
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT vol1-01 fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 STRIPE 2/128 RW
sd d3-04 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d1-04 vol1-01 d1 0 1048576 1/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-03 vol1-01 d3 0 2097152 0 c2d15 ENA
to convert concat volume to mirror volume
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-03 vol1-01 d3 0 2097152 0 c2d15 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=raid5
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 RAID - raid5
pl vol1-Dp02 vol1 ENABLED LOG 2880 CONCAT - RW
sd d0-02 vol1-Dp02 d0 209664 2880 0 c2d18 ENA
pl vol1-01 vol1 ENABLED ACTIVE 2097152 RAID 3/32 RW
sd d3-02 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d2-03 vol1-01 d2 0 1048576 1/0 c2d16 ENA
sd d1-02 vol1-01 d1 0 1048576 2/0 c2d17 ENA
to convert raid-5 to raid-0 concatination
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 RAID - raid5
pl vol1-Dp02 vol1 ENABLED LOG 2880 CONCAT - RW
sd d0-02 vol1-Dp02 d0 209664 2880 0 c2d18 ENA
pl vol1-01 vol1 ENABLED ACTIVE 2097152 RAID 3/32 RW
sd d3-02 vol1-01 d3 0 1048576 0/0 c2d15 ENA
sd d2-03 vol1-01 d2 0 1048576 1/0 c2d16 ENA
sd d1-02 vol1-01 d1 0 1048576 2/0 c2d17 ENA
-bash-4.1# vxassist -g test relayout vol1 layout=concat
-bash-4.1# vxprint -hvt
Disk group: test
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
v vol1 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 2097152 CONCAT - RW
sd d3-04 vol1-01 d3 0 2097152 0 c2d15 ENA
try to conver concat volume to mirror volume
-bash-4.1# vxassist -g test relayout vol1 layout=mirror
VxVM vxassist INFO V-5-1-2140 This operation is not a relayout -- trying convert
VxVM vxassist ERROR V-5-1-4847 Volume vol1 not converted. Volume has same layout as target volume
No comments:
Post a Comment