AdvFS Guide to File System Administration: Appendix A

## Appendix A: AdvFS Commands

- - -

This appendix summarizes the AdvFS commands. It includes the following:

- AdvFS Base System Commands
- AdvFS Utilities Commands

## 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 DIGITAL UNIX license; they do not require a layered product license. If you installed the reference page subset on DIGITAL UNIX, you can access reference pages for each of these commands by issuing the `man` command.

Table 16 AdvFS Configuration Commands

Command | Description
`chfile` | Changes the attributes of a file
`chvol` | Changes the attributes of a volume
`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 17 AdvFS Information Display Commands

Command | Description
`advfsstat` | Displays file-system statistics
`ncheck` | Prints 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

Table 18 AdvFS Backup Commands

Command | Description
`vdump` | Performs full and incremental fileset backup
`vrestore` | Restores files from backup media

Table 19 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
`verify` | Checks for and repairs file-system inconsistencies

Table 20 AdvFS Quota Commands

Command | Description
`chfsets` | Changes the attributes of a fileset
`edquota` | Edits user and group quotas
`quot` | Summarizes fileset ownership
`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 21 On-Disk Structure Dumping Utilities

Command | Description
`shblk` | Displays unformatted disk blocks
`shfragbf` | Displays frag file information
`vbmtchain` | Displays mcells that describe metadata for a file
`vbmtpg` | Displays a formatted page of the bitfile metadata table (BMT)
`vfile` | Displays the contents of a file from an unmounted domain
`vfragpg` | Prints a single header page of a frag file
`vlogpg` | Displays a formatted page of the log
`vlsnpg` | Displays the logical sequence number (LSN) of a page of the log
`vtagpg` | Displays a formatted page of the tag directory

## AdvFS Utilities Commands

-

Table 22 lists and describes the 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 issuing the `man` command.

Table 22 AdvFS Utilities Commands

Command | Description
`addvol` | Adds a volume to an existing file domain
`advfsd` | Starts the AdvFS graphical user interface (GUI) daemon
`balance` | Balances the percentage of used space between volumes
`clonefset` | Creates a read-only copy of a fileset
`defragment` | Makes the files in a file domain more contiguous
`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

- - - -

© Copyright Digital Equipment Corporation 1996
All rights reserved