HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
m
mkfs_vxfs(1M) mkfs_vxfs(1M)
The following table defines the file system sizes and their associated values:
------------------------------------------
| Maximum File System Size
------------------------------------------------------
Block Size | In sectors | In bytes
------------------------------------------------------
1024 bytes | 4,294,967,039 | approximately 4 TB
2048 bytes | 8,589,934,078 | approximately 8 TB
4096 bytes | 17,179,868,156 | approximately 16 TB
8192 bytes | 34,359,736,312 | approximately 32 TB
------------------------------------------------------
Note: Sector size (in bytes) is specified by the DEV_BSIZE system parameter.
RETURN VALUE
mkfs returns the following value:
0 Successful completion.
1 Command failed due to syntax error.
32 Other error occurred.
EXAMPLES
Use
mkfs to create a VxFS file system on /dev/rdsk/c0t6d0
:
mkfs -F vxfs /dev/rdsk/c0t6d0 1024
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
Create a VxFS file system on /dev/vgqa/lvol1
, with a Version 4 disk layout and largefiles capability:
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 exe-
cuting 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 do not react correctly
when confronted with large files.
SEE ALSO
df_vxfs(1M), fsadm_vxfs(1M), fsck_vxfs(1M), mkfs(1M), mount_vxfs(1M), newfs_vxfs(1M), swapinfo(1M),
dir(4), fs_vxfs(4).
Veritas Volume Manager Administrator’s Guide
STANDARDS CONFORMANCE
mkfs : SVID3
HP-UX 11i Version 2: September 2004 − 3 − Hewlett-Packard Company Section 1M−−443