Professional Documents
Culture Documents
Here using vxassist re-layout command, we are converting existing concatenate volume
to raid5
# vxassist -g UXDG relayout concatv1 layout=raid5
Here using vxassist re-layout command, we are converting existing concatenate volume
to stripe.
#vxassist -g UXDG relayout concatv1 layout=stripe
bash-3.00# vxprint -hvt
Disk group: UXDG
v concatv1 - ENABLED ACTIVE 102400 SELECT concatv1-01 fsgen
pl concatv1-01 concatv1 ENABLED ACTIVE 102400 STRIPE 2/128 RW
sd UXDISK0-02 concatv1-01 UXDISK0 0 51200 0/0 disk_0 ENA
sd UXDISK1-01 concatv1-01 UXDISK1 0 51200 1/0 disk_1 ENA
Here using vxassist re-layout command, we are converting existing concatenate volume
to stripe-mirror.
# vxassist -g UXDG relayout concatv1 layout=stripe-mirror
bash-3.00# vxprint -hvt
Disk group: UXDG
v concatv1 - ENABLED ACTIVE 102400 SELECT concatv1-01 fsgen
pl concatv1-01 concatv1 ENABLED ACTIVE 102400 STRIPE 2/128 RW
sv concatv1-Ds01 concatv1-01 concatv1-d01 1 51200 0/0 2/2 ENA
sv concatv1-Ds02 concatv1-01 concatv1-d02 1 51200 1/0 2/2 ENA
Method:2
In other way you can delete the plex using single command,
# vxplex -g UXDG -o rm dis uxvol2-02
# vxprint -hvt
Disk group: UXDG
v uxoravol1 - ENABLED ACTIVE 102400 SELECT - fsgen
pl uxoravol1-01 uxoravol1 ENABLED ACTIVE 102400 CONCAT - RW
sd UXDISK1-01 uxoravol1-01 UXDISK1 0 102400 0 disk_0 ENA
bash-3.00# df -h /uxvol2
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/UXDG/uxvol2 50M 3.1M 44M 7% /uxvol2
Command Syntax:
# vxassist [-b] [-g diskgroup] relayout volume [layout=layout] \
[relayout_options]
To monitor the relayout status:
# vxrelayout status volume
In similar way you can covert other existing volume layouts to new volume layout.