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

f
fsadm(1M) fsadm(1M)
NAME
fsadm - a file system administration command
SYNOPSIS
/usr/sbin/fsadm
[-F FStype][-V][-o specific_options] special
DESCRIPTION
The
fsadm command is designed to perform selected administration tasks on file systems. These tasks
may differ between file system types. special is a device file containing an unmounted file system. How-
ever, if the file system is of the type that provides online administration capabilities the special could be a
directory. directory must be the root of a mounted file system.
Only a superuser can invoke
fsadm.
Options
-F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this
option is not included on the command line, then the file system type is determined from
the file
/etc/fstab by matching each special with an entry in that file. If there is no
entry in
/etc/fstab , then the file system type is determined from the file
/etc/default/fs.
-o specific_options
Specify options specific to each file system type. specific_options is a list of comma
separated suboptions and/or keyword/attribute pairs intended for a specific FStype-specific
module of the command. See the file system specific manual entries for a description of the
specific_options supported, if any.
-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.
EXAMPLES
Convert a HFS file system from a nolargefiles file system to a largefiles file system:
fsadm -F hfs -o largefiles /dev/vg02/lvol1
Display HFS relevant file system statistics:
fsadm -F hfs /dev/vg02/lvol1
FILES
/etc/fstab Static information about the systems
SEE ALSO
fsadm_hfs(1M), fsadm_vxfs(1M), fsck(1M), fstab(4), fs_wrapper(5).
Section 1M248 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005