Veritas Volume Manager
1) To add disk to the existing diskgroup
vxdg -g dg adddisk d1=c0t0d1
(Creating a volume)
vxassist -g dg make con 200m;
(creating a vxfs filesystem)
vxprint -hvpst | grep conmkfs -F vxfs /dev/vx/rdsk/dg/con
(mounting)
mount -F vxfs /dev/vx/dsk/dg/con /con
Mirroring the plex/volume ( Minimum two plexes are required for mirroring)
#vxassist -g dg mirror con (creates 2nd volume/plex automatically)
vxprint -hvpst
2) Bringing the volume from mirror state to concat state
vxplex -g dg dis con-02 (disassociating plex from mirror and then remove the volume)
vxprint -vpvst
vxedit -g dg -rf rm con-02 (it deletes though the plex has associated subdisks)
vxprint -hvpst
vxprint -vpvst
vxedit -g dg -rf rm con-02 (it deletes though the plex has associated subdisks)
vxprint -hvpst
3) Relayout from concat to stripped
vxassist -g dg relayout con layout=stripe stwidth=32k ncols=2 (ncols=number of subdisks in each plex)
vxassist -g dg relayout con layout=concat
vxprint -hvpst
vxassist -g dg relayout con layout=concat
vxprint -hvpst
4) concat to stripped-mirror volume
vxassist -g dg relayout con layout=stripe-mirror stwidth=32k ncols=2
No comments:
Post a Comment