How to move data off a specific sub disk using vxsd mv command.
book
Article ID: 100023190
calendar_today
Updated On:
Resolution
Step by step procedure to move data from one sub disk to the next using the command:
1.Ensure that we have a good backup of all the volumes which need subdisk replacement.
2.Add a new disk
#vxdisksetup -i c#t#d#
3.Add the new disk to the disk group
#vxdg -g adddisk =c#t#d#
4.Create the sub disk
#vxmake -g sd ,, - See the vxprint output for subdisk offset and length.
6.Now let's move the data from the old sub disk to the new sub disk.
#vxsd -g -o rm,slow mv
7.
mount -F vxfs /dev/vx/dsk/dgname/volume /mnt
8.Remove the old disk media record from the disk group
#vxdg -g rmdisk dm_name
9.Remove the old disk from volume manager control
#vxdiskunsetup -C c#t#d#
The move operation can take some time depending on the amount of data to be moved and how busy the file system is during this sequence.
Issue/Introduction
How to move data off a specific sub disk using vxsd mv command.
Was this article helpful?
thumb_up
Yes
thumb_down
No