HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
m
mkfs_vxfs(1M) mkfs_vxfs(1M)
of ausize.
ninode=n
n is the maximum number of inodes in the file system. The actual maximum
number of inodes is n rounded up to an appropriate boundary. The digit 0 and
the string unlimited both mean that the number of inodes is unlimited. The
default is unlimited.
version=n
n is the VxFS disk layout version number. Valid values are 2, 3, and 4.
EXAMPLES
To use mkfs to create a VxFS file system on /dev/rdsk/c0t6d0:
mkfs -F vxfs /dev/rdsk/c0t6d0 1024
To use mkfs to determine the command that was used to create the VxFS file system on
/dev/rdsk/c0t6d0:
mkfs -F vxfs -m /dev/rdsk/c0t6d0
To create a VxFS file system on
/dev/vgqa/lvol1
, with a Version 4 disk layout and largefiles capabil-
ity:
mkfs -F vxfs -o version=4,largefiles /dev/vgqa/lvol1
WARNINGS
If you want to reuse a special device that was previously used by LVM, you must first wipe out all the LVM
information remaining on the disk. Use pvremove(1M) to remove the LVM information before executing
mkfs_vxfs(1M). (You can also remove the LVM information by initializing the device with mediainit(1), but
that is slower.)
The
-o largefiles option should be used with care, since older applications will not react correctly
when confronted with large files.
RETURN VALUE
Upon successful completion, the mkfs command returns a value of 0. The return value is 1 if a syntax
error occurs. Other errors return a value of 32.
SEE ALSO
bdf(1M), chmod(1), chown(2), df_vxfs(1M), fs_vxfs(4), fsadm_vxfs(1M), fsck_vxfs(1M), group(4), mkfs(1M),
mount_vxfs(1M), newfs_vxfs(1M), passwd(4), pvremove(1M).
STANDARDS CONFORMANCE
mkfs : SVID3
Section 1M472 3 HP-UX Release 11i: December 2000
___
___