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

m
mkfs_vxfs(1M) mkfs_vxfs(1M)
set and files two gigabytes or larger can be created. If
nolargefiles is specified,
the bit is cleared and files created on the file system are limited to less than two giga-
bytes. 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 careful 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
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 logsize 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 vir-
tual 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 systems up to 32 tera-
bytes 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. See the "VxFS Version 5 Disk Layout File
System Sizes" topic in this section for more information.
You can specify size with a suffix to indicate a unit of measure other than sectors. Append
k or K to indicate the value is in kilobytes, m or M to indicate megabytes, or g or G to
indicate gigabytes. An appended letter can be separated from the number by a space. In
that case, enclose the letter and number in a set of quotes, for example:
"512 k"
VxFS Version 5 Disk Layout File System Sizes
The Version 5 disk layout supports file systems up to 32 terabytes. The maximum size of the file system
you can create depends on the block size. (The actual maximum file system size is slightly less than the
maximum values in bytes, described below.)
570 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update