HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
m
mkfs_vxfs(1M) mkfs_vxfs(1M)
inosize=n
n is the on-disk inode structure size for files on the file system. The valid
values are 256 and 512 bytes. The default is 256. There is usually no reason
to increase the inode size, and not using the default value can adversely affect
file system performance.
largefiles|nolargefiles
Controls the largefiles flag for the file system. If
largefiles is specified,
the bit is set and files two gigabytes or larger can be created. If
nolarge-
files is specified, the bit is cleared and files created on the file system are
limited to less than two gigabytes. The default is
nolargefiles. See
fsadm_vxfs (1M) and mkfs(1M).
If
largefiles is not specified, and inosize is 256 the maximum number of
inodes on the file system is approximately 8,380,000. If
largefiles is not
specified, and inosize is 512, the maximum number of inodes on the file system
is approximately 4,190,000.
Note: Large files are supported on HP-UX 10.20 systems and above. Be care-
ful when implementing large file system capability. System administration
utilities such as backup may not operate correctly if they are not large-file
aware.
logsize=n
is the number of file system blocks to allocate for an activity logging area. The
minimum value for the Version 4 and Version 5 disk layout is the number of
blocks that make the log no less than 256K. The maximum value for n is the
number of blocks that make the log no greater than 16384K. The default log-
size is 16 megabytes for file systems that are are 512 megabytes or larger. For
a small file system the default may be smaller to avoid wasting space.
A large log provides better performance on metadata-intensive workloads. A
small log uses less space on the disk and leaves more room for file data. for
example, and NFS-intensive workload performs better with a large log; a
small floppy device requires a small log.
Note: The amount of virtual memory required by
fsck (see fsck_vxfs (1M)) to
check a VxFS file system is proportional to the size of the log. The maximum
amount of virtual memory used is twice the size of the log. Therefore, the sum
of physical memory and swap space must be at least 32 MB to ensure that a
file system with a 16384K log can be cleaned. On small systems, take care not
to create a file system with a log larger than half the available swap space. A
maximum log size of one third the total of memory and swap space is a good
rule of thumb (see swapinfo (1M)).
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 4 and 5. The
default is disk layout Version 5. The Version 5 disk layout supports file sys-
tems up to 32 terabytes in size.
Operands
mkfs recognizes the following operands:
special Name of the special device file for the VxFS file system.
size The number of sectors in the VxFS file system.
RETURN VALUE
mkfs returns the following value:
0 Successful completion.
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 1M−−433