HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

f
fsadm_hfs(1M) fsadm_hfs(1M)
NAME
fsadm - an HFS file system administration command
SYNOPSIS
/usr/sbin/fsadm
[-F hfs][-V][-o specific_options] special
DESCRIPTION
The
fsadm command is designed to perform selected administration tasks on a HFS file systems. special
is a device file containing an unmounted file system.
Only a superuser can invoke
fsadm.
Options
-F hfs Specify the HFS file system type.
-o specific_options
Specify a list of comma separated suboptions and/or keyword/attribute pairs from the list
below. The following specific_options are valid on HFS file systems.
largefiles Converts a nolargefiles file system to a largefiles file sys-
tem. The file system should be unmounted and must be in a clean
state (see fsck(1M)). A largefiles file system supports file sizes
greater than 2 gigabytes.
nolargefiles
Converts a largefiles file system to a nolargefiles file sys-
tem. The file system should be umounted and must be in a clean state
(see fsck(1M)). All largefiles should be purged from the file sys-
tem for the conversion to succeed.
-V Echo the completed command line, but perform no other action. The command line is gen-
erated by incorporating the user-specified options and other information derived from
/etc/fstab . This option allows the user to verify the command line.
DIAGNOSTICS
Error and warning messages may originate from fsadm and fsck. See fsadm(1M) or fsck(1M) to inter-
pret the error and warning messages.
EXAMPLES
Convert a
nolargefiles HFS file system to a largefiles HFS file system:
fsadm -F hfs -o largefiles /dev/vg02/rlvol1
Convert a largefiles HFS file system to a nolargefiles file system:
fsadm -F hfs -o nolargefiles /dev/vg02/rlvol1
Display relevant HFS file system statistics:
fsadm -F hfs /dev/vg02/rlvol1
WARNINGS
The size of a file system will impact the performance of the fsadm command.
During conversion from largefiles file system to a nolargefiles file system fsadm scans the entire file sys-
tem for a large file. This functionality degrades the performance of the fsadm command.
FILES
/etc/fstab Static information about the systems
SEE ALSO
fsadm(1M), fsadm_vxfs(1M), fsck(1M), fstab(4), fs_wrapper(5).
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1M249