Veritas Storage Foundation Cross-Platform Data Sharing 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

47File system data sharing
Migrating a file system on an ongoing basis
If such files exist, move the files to another file system or reduce the size of
the files.
4 Unmount the file system:
# umount
mount_point
5 Use the fscdsconv command to convert the file system to the opposite
endian.
See “Converting the byte order of a file system” on page 48.
6 Make the physical storage and Volume Manager logical storage accessible on
the Linux system by exporting the disk group from the source system and
importing the disk group on the target system after resolving any other
physical storage attachment issues.
See “Maintaining your system” on page 27.
7 Mount the file system on the target system.
Migrating a file system on an ongoing basis
This example describes how to migrate a file system between HP-UX and Linux
on an ongoing basis. Some of the following steps require a backup of the file
system to be created. To simplify the process, you can create one backup before
performing any of the steps instead of creating multiple backups as you go.
To perform an ongoing migration
1 Use the following command to ensure that there are no files in the file
system that will be inaccessible after migrating the data due to large file size
or to differences in user or group ID between platforms:
# fscdsadm -v -t
target
mount_point
If such files exist, move the files to another file system or reduce the size of
the files.
2 Add HP-UX and Linux to the target_list file:
# fscdsadm -o add -t os_name=HP-UX /mnt1
# fscdsadm -o add -t os_name=Linux /mnt1
3 Enforce the limits:
# fscdsadm -l enforce
mount_point
This is the last of the preparation steps. When the file system is to be
migrated, it must be unmounted, and then the storage moved and mounted
on the target system:
4 Unmount the file system:
# umount
mount_point