VERITAS Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide

Appendix A, Cross-Platform Transfer
Data Migration Example
49
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
Note 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
Note 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