Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vdf(8) [osf1 man page]

vdf(8)							      System Manager's Manual							    vdf(8)

NAME
vdf - Display disk information for AdvFS domains and filesets SYNOPSIS
/sbin/advfs/vdf [-k] [-l] domain | domain#fileset OPTIONS
Display disk blocks as 1024-byte blocks instead of the default of 512-byte blocks. When the -l option is specified, the default informa- tion for both the domain and filesets is reformatted to show the relationships between them. For example, any domain metadata displayed is the total metadata shared by filesets in the domain. OPERANDS
The full path name of an AdvFS file domain. When a domain argument is specified, the default display contains information about the number of disk blocks allocated to the domain, the number of disk blocks in use by the domain, and the number of disk blocks that are available to the domain. The name of an AdvFS fileset in an AdvFS file domain. When a domain#fileset argument is specified, the default display contains information about the number of disk blocks allocated to the fileset, the number of disk blocks in use by the fileset, and the number of disk blocks that are available to the fileset. This information is in the same format as that displayed by the df command. DESCRIPTION
The vdf utility is a script that reformats output from the showfdmn, showfsets, shfragbf, and df utilities in order to display information about the disk usage of AdvFS file domains and filesets. In addition, the utility computes and displays the sizes of metadata files in a domain or fileset. NOTES
The disk space used by clone filesets is not calculated. If clone filesets are present in the specified domain, the utility displays the following warning message: Clone fileset(s) in this domain; totals may not be accurate RESTRICTIONS
You must be the root user to use this command. The command cannot be used on filesets that are NFS mounted. All filesets in a domain must be mounted in order to calculate the disk usage of the domain. EXIT STATUS
The utility returns a value of 0 (zero) on successful completion. It returns a value of 1 on failure. EXAMPLES
The following example shows the summary information for a fileset named testfs in a domain named test. The output is the same as for the df command: # vdf test#testfs Filesystem 512-blocks Used Available Capacity Mounted on test#testfs 60000 20800 39200 35% /mnt The following example shows the summary information for a domain named usr_domain where the number of blocks used for meta- data and data equal 89% of the domain's capacity: # vdf usr_domain Domain 512-blocks Metadata Used Available Capacity usr_domain 65536 11219 47549 6768 89% The following example shows a detailed display of the domain that contains the fileset test#testfs. There are two filesets in the domain; each has a quota limit of 60,000 blocks: # vdf -l test#testfs Domain 512-blocks Metadata Used Available Capacity test 266240 5824 29128 231288 13% Fileset QuotaLimit Used Available Capacity testfs 60000 20800 39200 35% testfs2 60000 8328 51672 14% The following example shows a detailed display of a fileset that is the only fileset in the domain and that the fileset has a quota limit that is greater than the domain can hold: # vdf -l test#testfs Domain 512-blocks Metadata Used Avail- able Capacity test 266240 5824 29128 231288 13% Fileset QuotaLimit Used Available Capacity testfs 300000 20800 231288 8% FILES
SEE ALSO
Commands: df(1), showfdmn(8), showfsets(8), shfragbf(8) Files: advfs(4) vdf(8)

Check Out this Related Man Page

rmfset(8)						      System Manager's Manual							 rmfset(8)

NAME
rmfset - Removes a fileset or a clone fileset from an AdvFS file domain SYNOPSIS
/sbin/rmfset [-f] domain fileset OPTIONS
Turns off the message prompt. OPERANDS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain. DESCRIPTION
The rmfset command removes a fileset (and all of its files) from an existing AdvFS file domain. Unless you use the -f option, you are prompted with the following request before a fileset is removed: rmfset: remove fileset <filesetname>? [y/n] If you answer n, the fileset is not removed. If you answer y, the fileset is removed. The -f option is useful for scripts or when you do not want to be queried about each fileset. If you choose the -f option, no prompts are displayed. The rmfset command operates as if you responded yes to the prompt. Unmount a fileset before removing it with the rmfset command. RESTRICTIONS
A fileset or clone fileset cannot be removed with this command if it is mounted. A fileset that has a clone fileset cannot be removed with this command until the clone fileset has been removed. You must be the root user to use this command. An rmfset operation can hang if you attempt to remove a fileset and the target AdvFS domain is experiencing heavy I/O. To work around the restriction, avoid using the utility on busy AdvFS domains. EXAMPLES
The following example deletes the test_fset fileset from the test_domain file domain. In this example, the test_fset fileset is mounted on the /mnt3 directory: # umount /mnt3 # rmfset test_domain test_fset rmfset: remove fileset test_fset? [y/n] y # SEE ALSO
Commands: mkfset(8), showfdmn(8), showfsets(8), mount(8) Functions: advfs_rmfset(3) File Formats: advfs(4) rmfset(8)
Man Page