HPlogo HP-UX Reference > F

fsadm(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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. However, 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 generated 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