HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
f
fsadm_vxfs(1M) fsadm_vxfs(1M)
-k ckpt_name
Reorganizes or reports directories or extent fragmentation on the specified Storage
Checkpoint.
-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 large
file exists on the file system.
You can set or clear the flag on a mounted file system by specifying mount_point ,oronan
unmounted file system on the device special .
When invoked without arguments,
fsadm prints the current state of the largefiles flag.
The
-o option cannot be used with the -bcdDeE options.
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.
-p passes Maximum number of passes to run. The default is 5 passes. Reorganizations are pro-
cessed until reorganization is complete, or the specified number of passes are run.
-r rawdev
Pathname of raw device to read to determine file layout and fragmentation. This option
can be used when fsadm cannot determine the raw device.
-s Print a summary of activity at the end of each pass.
-t time Maximum time to run. Reorganizations are processed until reorganization is complete,
or the time limit has expired. time is specified in seconds.
-V Echo the completed command line, but do not execute the command. The command line
is generated by incorporating the user-specified options. This option allows the user to
verify the command line.
-v Specify verbose mode. Report reorganization activity.
If no options are specified,
fsadm prints the current largefiles flag setting, then exits. The -b, -o
largefiles, and -o nolargefiles options cannot be specified if any other options are given. If
both -e and -d are specified, fsadm first completes the directory reorganization, then does the extent
reorganization.
Operands
fsadm recognizes the following operands:
mount_point
Name of the mount_point for a mounted VxFS file.
special Name of a special device containing a clean, unmounted file system.
Largefiles Flag
Files larger than two gigabytes are called large files. The
-o largefiles and -o nolargefiles
options change the largefiles flag, allowing or disallowing large files in the file system.
Large files can be created only on file systems with disk layout Version 3 or above. A file system with
large files cannot be mounted on an HP-UX system older than HP-UX 10.20. Many existing applications
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 1M−−207