Veritas Storage Foundation Cross-Platform Data Sharing 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
55Transferring data between platforms
Migrating a snapshot volume
# vxsnap -g datadg refresh snapvol source=yes syncing=yes
4 The applications can now be unquiesced.
If you temporarily suspended updates to the volume by a database in step 2,
release all the tables from hot backup mode.
5 Use the
vxsnap syncwait command to wait for the synchronization to
complete:
# vxsnap -g datadg syncwait snapvol
6 Check the integrity of the file system, and then mount it on a suitable mount
point:
# fsck -F vxfs /dev/vx/rdsk/datadg/snapvol
# mount -F vxfs /dev/vx/dsk/datadg/snapvol /mnt
7 Confirm whether the file system can be converted to the target operating
system:
# fscdstask validate Linux /mnt
8 Unmount the snapshot:
# umount /mnt
9 Convert the file system to the opposite endian:
# fscdsconv -f /tmp/fs_recov/recov.file /dev/vx/dsk/datadg/\
snapvol
This step is only required if the source and target systems have the opposite
endian configuration.
10 Split the snapshot volume into a new disk group, migdg, and deport that
disk group:
# vxdg split datadg migdg snapvol
# vxdg deport migdg
11 Import the disk group, migdg, on the Linux system:
# vxdg import migdg
It may be necessary to reboot the Linux system so that it can detect the
disks.
12 Use the following commands to recover and restart the snapshot volume:
# vxrecover -g migdg -m snapvol
# vxvol -g migdg start snapvol
13 Check the integrity of the file system, and then mount it on a suitable mount
point:
# fsck -t vxfs /dev/vx/dsk/migdg/snapvol
# mount -t vxfs /dev/vx/dsk/migdg/snapvol /mnt