A    AdvFS Commands

This appendix summarizes the AdvFS commands. The reference pages provide detailed information.

A.1    AdvFS Base System Commands

The following tables list and describe each of the AdvFS commands available in the base portion of AdvFS. These commands are included with the basic license; they do not require a layered product license. If you installed the reference page subset, you can access reference pages for each of these commands by issuing the man command. Commands marked with an asterisk (*) are functions for which the AdvFS Graphical User Interface (GUI) has equivalent capability.

Table A-1:  AdvFS Configuration Commands

Command Description
chfile Changes the attributes of a file
chvol Changes the attributes of a volume
defragment* Makes the files in a file domain more contiguous
mkfdmn* Creates a file domain
mkfset* Creates a fileset within a file domain
renamefset* Renames an existing fileset
rmfdmn* Removes a file domain
rmfset* Removes a fileset from a file domain
switchlog Moves the AdvFS log file to a different volume in a file domain

Table A-2:  AdvFS Information Display Commands

Command Description
advfsstat* Displays file system statistics
ncheck Displays the tag and full path name for each file in the file system
showfdmn* Displays the attributes of a file domain
showfile Displays the attributes of a file
showfsets* Displays the attributes of filesets in a file domain
vdf* Displays disk space used and available disk space for a fileset or a file domain

Table A-3:  AdvFS Backup Commands

Command Description
rvdump Remotely performs full and incremental fileset backup
rvrestore Remotely restores files from backup media
vdump Performs full and incremental fileset backup
vrestore Restores files from backup media

Table A-4:  AdvFS Check and Repair Commands

Command Description
advscan Locates AdvFS partitions on disks
mountlist Checks for mounted AdvFS filesets
tag2name Prints the path name of a file given the tag number
salvage Recovers file data from damaged AdvFS file domains
verify Checks for and repairs file system inconsistencies

Table A-5:  AdvFS Quota Commands

Command Description
chfsets Changes file and block quotas
edquota Edits user and group quotas
quot Summarizes file and block information
quota Displays disk usage and limits by user or group
quotacheck Checks file system quota consistency
quotaoff Turns quotas off
quotaon Turns quotas on
repquota* Summarizes quotas for a file system

Table A-6:  AdvFS Disk Structure Commands

Command Description
nvbmtpg Displays a formatted page of the bitfile metadata table (BMT)
nvfragpg Displays file fragment information
nvlogpg Displays a formatted page of the log
nvtagpg Displays a formatted page of the tag directory
savemeta Saves on-disk metadata
shblock Displays unformatted disk blocks
shfragbf Displays file fragment information
vfilepg Displays a page of an AdvFS file
vsbmpg Displays a page of the storage bitmap

A.2    AdvFS Utilities Commands

The following table lists and describes AdvFS Utilities commands. These commands require the optional AdvFS Utilities product license. If you installed the AdvFS Utilities reference page subset, you can access reference pages for each of these commands by entering the man command. The commands marked with an asterisk (*) are functions for which the AdvFS GUI has equivalent capability.

Table A-7:  AdvFS Utilities Commands

Command Description
addvol* Adds a volume to an existing file domain
advfsd Starts the AdvFS GUI agent (daemon)
balance* Balances the percentage of used space between volumes
clonefset* Creates a read-only copy of a fileset
dtadvfs Starts the AdvFS GUI
migrate Moves a file to another volume in the file domain
mktrashcan Attaches directories to a trashcan directory, which stores deleted files
rmtrashcan Detaches a specified directory from a trashcan directory
rmvol* Removes a volume from an existing file domain
shtrashcan Shows the trashcan directory, if any, that is attached to a specified directory
stripe Interleaves storage allocation of a file across two or more volumes within a file domain