HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
v
vxfsconvert(1M) vxfsconvert(1M)
NAME
vxfsconvert - convert a file system to a vxfs file system
SYNOPSIS
/sbin/fs/vxfs/vxfsconvert [-l logsize][-s size][-efnNvyY] special
DESCRIPTION
vxfsconvert converts a file system of a supported type to a vxfs file system with a Version 4 disk lay-
out. Currently vxfsconvert only supports conversion of an hfs file system to a vxfs file system.
Conversion of all file system block and fragment sizes is supported.
Do a full backup of the file system before running vxfsconvert . File system conversion is complex and
while most file systems will convert without problems, some may not. You could lose data if you don’t have
a backup. See the WARNINGS section.
vxfsconvert requires sufficient disk space to convert existing metadata to vxfs metadata. The space is
acquired from free space within the file system or from the space available immediately after the end of the
file system. In either case, the space must be available on the same device or volume that contains the file
system. vxfsconvert requires approximately 12%-15% of the total file system size as free space,
depending on the number of directories and files.
special is the character disk or volume manager device. Running vxfsconvert on the character device
is usually faster than running it on a block device.
vxfsconvert converts HFS access control list (ACL) entries to the respective VxFS ACL entries with
limitations. Only the entries that comply with the VxFS ACL standard are converted. See the description
of the conversion process, below, for details.
vxfsconvert takes approximately 2 to 3 times longer to convert a file system than running a full
fsck
on an hfs file system.
Options
-e Estimate the amount of space required to complete the conversion. This option does not convert
the file system to VxFS. No data is written to the file system and the file system remains clean.
-e generally overestimates the free space because it considers the worst case scenario for allo-
cating blocks (that is, fully fragmented).
-f Display the list of supported file system types. Currently only hfs.
-l logsize
Specify the size of the file system intent log. The default logsize is the value of the
hfs frag-
ment size before conversion.
-n|N Assume a no response to all questions asked by vxfsconvert . This option implies that the
conversion is never committed and the file system is not converted to VxFS.
-s size Specify the amount of available disk space at the end of the file system in kilobytes With this
option all disk space required for the conversion process is taken from the end of the file system;
the existing free space within the file system remains intact.
-v Specify verbose mode. Verbose mode shows the progress of the conversion process. For every
inode converted, one of the following characters is displayed.
- The inode is a regular file.
b The inode is a block special file.
c The inode is a character special file.
d The inode is a directory.
l The inode is a symbolic link.
p The inode is a fifo.
s The inode is a socket.
? The inode type is unknown.
-y|YAssume a yes response to all questions asked by vxfsconvert . This option implies that the
conversion is committed unless
vxfsconvert fails to allocate the required disk space. If an
Section 1M1048 1 HP-UX Release 11i: December 2000
___
___