VERITAS Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide
Converting a File System
44 VERITAS Storage Foundation CDS Administrator’s Guide
6. Use the fscdsconv command to convert the file system.
# fscdsconv -f recovery_file special
recovery_file is the name of the recovery file to be created by the fscdsconv
command. special is the raw device or volume that contains the file system to be converted.
Include the file system chosen in step 4 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.
Note 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 that might cause the file’s removal after a system reboot, such
as that which occurs with the /tmp and /var/tmp directories on the Solaris OS.
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
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. After some time, fscdsconv creates the recovery file and prompts for confirmation to
proceed with the conversion.
Do you wish to commit to conversion? (y/n)
a. Inputting n causes fscdsconv to remove the recovery file and leave the file system
intact.
b. Inputting y causes fscdsconv to proceed with the conversion. No other interactions are
required. The recovery file is not removed after the conversion completes. The recovery
file can be used to restore the file system to its orginal state. Some situations in which the
recovery file can be used are if the conversion is done accidentally or if no conversion is
necessary. For example, migrating a file system from the Solaris operating system to the
AIX operating system does not require a conversion because both operating systems use
the big endian format.