# vxmake –g <diskgroup> sd disk1-01 disk1,0,100m
This
would create a sub-disk called disk1-01 at the start of disk disk01 and would
be 100m long.
If
you want to create another sub-disk on the same disk (disk01) the offset would
be 100m as this is where the next freespace would be on the disk. So
# vxmake –g <diskgroup> sd disk01-02 disk1,100m,100m
This would create another 100m subdisk.
# vxedit rm <sub-disk>
# vxsd mv <old sub-disk> <new
sub-disk>
# vxmake plex <plex>
sd=<sub-disk>
# vxmake plex home-1 sd=disk02-01,
disk02-00, disk02-02
# vxsd dis <sub-disk>
# vxsd –s<size> split sd<new
sub><newsub2>
# vxsd join
<subdisk1><subdisk2><newsubdisk>
Evacuate the
subdisk from one of the disk in the volume
# /etc/vx/bin/vxevac –g <dg_name> <dm_name_old>
<dm_name_new>
# /etc/vx/bin/vxevac –g ccdg ccdg01 ccdg02
No comments:
Post a Comment