HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
f
fsadm_vxfs(1M) fsadm_vxfs(1M)
NAME
fsadm - resize or reorganize a VxFS file system
SYNOPSIS
/usr/sbin/fsadm
[-F vxfs][-V][
-d][-D][-e][-E][
-s][-v][-a days]
[
-l largesize][-p
passes][-r rawdev][-t time] mount_point
/usr/sbin/fsadm
[-F vxfs][-V][
-b newsize][-r rawdev] mount_point
/usr/sbin/fsadm
[-F vxfs][-V][
-o largefiles |nolargefiles ] mount_point|special
/usr/sbin/fsadm
[-F vxfs][-V][
-c] mount_point
DESCRIPTION
fsadm performs online administration functions on VxFS file systems.
fsadm supports file-system resiz-
ing, extent reorganization, directory reorganization, and querying or changing the
largefiles flag.
fsadm operates on file systems mounted for read/write access, however, the
-o option can also operate on
a special device containing a clean, unmounted file system. Only a privileged user can change the
lar-
gefiles
flag on a mounted file system, or resize or reorganize a file system.
VxFS file systems running on HP-UX 10.20 and later contain features that are incompatible with earlier
versions of HP-UX and applications. These features are large files (file sizes greater than two gigabytes),
and hierarchical storage management via the DMAPI (Data Management Applications Programming Inter-
face).
Options
-a days Consider files not accessed within the specified number of days as aged files. The default
is 14 days. The
-d option moves aged files to the end of the directory. The
-a days
option applies only with
-d.
-b newsize Resize the file system to newsize sectors.
-c Convert the inode format of files upgraded from the Version 2 disk layout so that they
can grow beyond a two-gigabyte offset. This option is required because some file systems
upgraded from the Version 2 disk layout could not be extended past two gigabytes or con-
tain more than 8 million inodes.
-D Report on directory fragmentation. If specified in conjunction with the
-d option, the
fragmentation report is produced both before and after the directory reorganization.
-d Reorganize directories. Directory entries are reordered to place subdirectory entries
first, then all other entries in decreasing order of time of last access. The directory is also
compacted to remove free space.
-E Report on extent fragmentation. If specified in conjunction with the
-e option, the frag-
mentation report is produced both before and after the extent reorganization.
-e Reorganize extents. Minimize file system fragmentation. Files are reorganized to have
the minimum number of extents.
-F vxfs Specify the VxFS file system type.
-l largesize
Large extent size in file system blocks. Indicates the size of extents to be considered as
large extents, that is, extents that are immovable while performing an extent defragmen-
tation. The value must be between 8 and 2048 blocks. The default is 64 blocks. The -l
largesize option applies only with -E or -e.
-o specific_options
Specify options specific to the vxfs file system type.
The following specific_options are valid on a VxFS file system:
largefiles
Set the largefiles flag for the file system. When this flag is set, large files
(greater than two gigabytes) can be created on the file system.
nolargefiles
Clear the largefiles flag for the file system. When this flag is not set, large
files cannot be created on the file system. Any attempt to clear the flag fails if a
Section 1M−−250 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005