HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
v
vxfsconvert(1M) vxfsconvert(1M)
- 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|Y Assume 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
unknown inode type is detected during the conversion,
vxfsconvert ignores it.
Operands
vxfsconvert recognizes the following operand:
special Name of the character (raw) device that contains the file system to convert.
Notes
To take full advantage of the VxFS file system, use fsadm to reorganize the file system after the conver-
sion. The online reorganization feature of
fsadm is available in only with the HP OnLineJFS product.
vxfsconvert cannot convert a Version 4 disk layout to a Version 5 disk layout. Use the
vxupgrade
online upgrade procedure instead.
Use the
vxupgrade command to upgrade mounted file systems.
To take full advantage of the VxFS file system, use
fsadm to reorganize the file system after the conver-
sion. The online reorganization feature of
fsadm is available in only with the HP OnLineJFS product.
The converted VxFS file system uses the Version 4 disk layout, which is only recognized by JFS 3.3 and
later versions. Do not convert a file system which is shared by a system running HP-UX 10.x or HP-UX
11.00 without JFS 3.3.
The ability to shrink a VxFS file system after conversion depends on the amount and location of free
space in the original file system. If an attempt to shrink a converted file system fails, try shrinking again
specifying a smaller shrink size. Shrinking is generally not possible for conversions performed using the
-s option. For VxFS file systems on a Volume Manager volume, always shrink the file system before
shrinking the volume. Use the fsadm command to shrink a file system.
You must call
vxfsconvert with its full pathname: /sbin/fs/vxfs/vxfsconvert
.
Quota conversion is not supported.
Conversion Process
To prepare a file system for conversion:
• Install VxFS 3.2 or higher release on your system. vxfsconvert creates a Version 4 disk layout.
• Clean and unmount the file system to convert. vxfsconvert cannot convert a mounted or dirty
file system.
• Unmount the filesystem and make sure it is clean (you may need to use
fsck(1m) to clean the
filesystem). vxfsconvert cannot convert a mounted or dirty file system.
• Do a full backup on the file system before starting the conversion process.
Now run
vxfsconvert. vxfsconvert does the following steps to convert a file system:
1. Examines the superblock to make sure it is marked CLEAN.
2. Based on information in the file system superblock, sets up VxFS metadata. This includes ini-
tializing all metadata required by the VxFS Version 4 disk layout (for example OLT, log, struc-
tural fileset). At this time, the original file system superblock is marked DIRTY unless you
specified the
-e or -s option.
3. Reads every inode in the file system and converts it to a VxFS inode.
Section 1M−−894 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003