tunefs(1M) DG/UX 5.4 Rel. 2.01 tunefs(1M)
NAME
tunefs - tune an existing file system
SYNOPSIS
/etc/tunefs [option ...] filesys|special
where:
option -e, -E, -m, -s, -S, -e, -x, or -X, followed by an argument.
filesys The pathname of the directory with which the file system is
associated in the file /etc/fstab
special The pathname of a special file referring to a device
containing a file system
DESCRIPTION
Tunefs changes the dynamic parameters of a file system that affect
the layout policies. Defaults are set according to the values
established by mkfs(1M). The file system must be unmounted.
Options are:
-e maxblksfirstdar Specifies that when allocating disk space for
a file, maxblksfirstdar disk blocks should
be allocated from the disk allocation region
(DAR) chosen for the initial file space
allocation, before moving on to another DAR.
The valid range for maxblksfirstdar is from
1 to the number of available disk blocks in
the DAR.
-E maxblksperdar Specifies that when allocating disk space for
a file, after the initial disk allocation
region (DAR) has been exhausted (see the -e
option), then max.blocksperdar disk blocks
should be allocated from each subsequent DAR.
The valid range for max.blksperdar is from
maxblocksfirstdar (see the -e option) to
the number of available disk blocks in the
DAR.
-m minfree Specifies the minimum percentage of the file
system that should be maintained as free
space. Only superuser processes may allocate
these blocks. If minfree is greater than the
percentage of space currently free, then non-
superuser processes will not be able to
allocate any blocks on the file system until
the percentage free reaches minfree. The
valid range for minfree is from 1 to 100
percent; however, the disk I/O performance may
degrade as the amount of free space approaches
0 percent.
-s maxdata Specifies the block size for a file's data
blocks on the file system, given as log base 2
Licensed material--property of copyright holder(s) 1
tunefs(1M) DG/UX 5.4 Rel. 2.01 tunefs(1M)
of the block size. The disk space for a
file's data is allocated 2^maxdata blocks at
a time. The valid range for maxdata is from
1 to the log of the number of user blocks per
disk allocation region in the file system.
-S maxdir Specifies the block size for directories on
the file system, given as log base 2 of the
block size. The disk space for the file
system's directory blocks is allocated
2^maxdir blocks at a time. The valid range
for maxdir is from 1 to the log of the number
of user blocks per disk allocation region in
the file system.
-x maxidxdata Specifies the block size for a file's index
blocks (the space used for addressing a file's
data blocks) in the file system, given as log
base 2 of the block size. The disk space for
a file's index blocks is allocated
2^maxidxdata blocks at a time. The valid
range for maxidxdata is from 1 to the log of
the number of blocks available for use as
index blocks per disk allocation region (DAR),
which is usually less than the number of user
blocks per DAR.
-X maxidxdir Specifies the block size for the file system's
index blocks (the space used for addressing a
directory's blocks) in the file system, given
as log base 2 of the block size. The disk
space for a directory's index blocks is
allocated 2^maxidxdir blocks at at time.
The valid range for maxidxdir is from 1 to
the log of the number of blocks available for
use as index blocks per disk allocation region
(DAR), which is usually less than the number
of user blocks per DAR.
Specifying an invalid option value causes the program to print the
valid range of values for that option and then exit.
SEE ALSO
fsck(1M), mkfs(1M), fstab(4).
BUGS
Tunefs cannot be run on the root file system because that system
cannot be unmounted.
Licensed material--property of copyright holder(s) 2