Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
5
Use the fscdsconv command to export the file system to the required target:
# fscdsconv -f recovery_file -t target -e special_device
target specifies the system to which you are migrating the file system.
See “Specifying the migration target” on page 487.
recovery_file is the name of the recovery file to be created by the fscdsconv
command. special_device is the raw device or volume that contains the file
system to be converted.
Include the file system that you chose in 3 when designating the recovery
file.
For example, if the file system chosen to contain the recovery file is mounted
on /data/fs3, the recovery file could be specified as
/data/fs3/jan04recovery. If there is not enough disk space on the chosen
file system for the recovery file to be created, the conversion aborts and the
file system to be converted is left intact.
The recovery file is not only used for recovery purposes after a failure, but
is also used to perform the conversion. The directory that will contain the
recovery file should not allow non-system administrator users to remove or
replace the file, as this could lead to data loss or security breaches. The file
should be located in a directory that is not subject to system or local scripts
will remove the file after a system reboot, such as that which occurs with the
/tmp and /var/tmp directories on the Solaris operating system.
The recovery file is almost always a sparse file. The disk utilization of this
file can best be determined by using the following command:
# du -sk filename
The recovery file is used only when the byte order of the file system must be
converted to suit the specified migration target.
6
If you are converting multiple file systems at the same time, which requires
the use of one recovery file per file system, record the names of the recovery
files and their corresponding file systems being converted in the event that
recovery from failures is required at a later time.
7
Based on the information provided regarding the migration target, fscdsconv
constructs and displays the complete migration target and prompts the user
to verify all details of the target. If the migration target must be changed,
enter n to exit fscdsconv without modifying the file system. At this point in
the process, fscdsconv has not used the specified recovery file.
495Migrating data between platforms
File system considerations