This example demonstrates how to migrate a snapshot volume containing a VxFS file system from a Solaris SPARC system (big endian) to a Linux system (little endian) or HP-UX system (big endian) to a Linux system (little endian).
To migrate a snapshot volume
# vxsnap -g datadg make source=vol/newvol=snapvol/nmirror=1
# vxsnap -g datadg refresh snapvol source=yes syncing=yes
If you temporarily suspended updates to the volume by a database in 2, release all the tables from hot backup mode.
# vxsnap -g datadg syncwait snapvol
# fsck -F vxfs /dev/vx/rdsk/datadg/snapvol # mount -F vxfs /dev/vx/dsk/datadg/snapvol /mnt
# fscdstask validate Linux /mnt
# umount /mnt
# fscdsconv -e -f recoveryfile -t target_specifiers special
For example:
# fscdsconv -e -f /tmp/fs_recov/recov.file -t Linux \ /dev/vx/dsk/datadg/snapvol
This step is only required if the source and target systems have the opposite endian configuration.
# vxdg split datadg migdg snapvol # vxdg deport migdg
# vxdg import migdg
It may be necessary to reboot the Linux system so that it can detect the disks.
# vxrecover -g migdg -m snapvol
# fsck -t vxfs /dev/vx/dsk/migdg/snapvol # mount -t vxfs /dev/vx/dsk/migdg/snapvol /mnt