vos_listvol - Displays information from a volume header
vos listvol -server <file server> [-partition <partition name>] [-id <volume name or id>] [-fast] [-long] [-quiet] [-extended] [-format] [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]
The vos listvol command formats and displays state information for volumes housed on the File Server and partition specified by the -server and -partition arguments.
Combine the command's arguments as indicated:
To display every volume on a File Server regardless of partition, specify the File Server's name with the -server argument and provide neither the -partition nor the -id argument.
To display every volume on a specific partition, combine the -server argument with the -partition argument but do not provide the -id argument.
To display one volume on a specific partition, combine the -server argument with the -partition argument and the -id argument.
To display the volume location information for one or more volumes, use the vos_listloc(1) command.
To display both the volume location and state information for a single volume, use the vos_examine(1) command.
Identifies the file server machine that houses volumes for which to display the volume state information. Provide a fully qualified host name, an IP address or UUID as reported by vos_listfs(1).
This argument can be combined with the -partition argument, as well as the -fast, -long, or -extended flag.
Identifies the partition (on the File Server specified by the -server argument) that houses volumes for which state information will be displayed. Provide the partition's complete name with preceding slash (for example, /vicepa) or use one of the three acceptable abbreviated forms. For details, see vos(1).
Identifies the name or id of the volume to be displayed. Must be combined with the -server and -partition arguments.
Displays only the volume ID numbers of volumes stored at the site specified by the -server, and optionally -partition, argument. Do not combine this flag with the -extended flag.
Displays more detailed information about each volume stored at the site specified by the -server, and optionally -partition, argument. The information includes the volume IDs of all three volume types associated with the volume, and the read/write volume's quota, the space used, the file count, creation date, copy date, backup date, last access date, and last update date.
Suppresses the header and footer that summarize the number of volumes listed and their status, which otherwise appear at the beginning and end of the output when the output includes more than one volume.
Displays extensive statistics about access patterns for each volume stored at the site specified by the -server, and optionally -partition, argument. The statistics include the number of reads and writes to files in the volume, and how recently files and directories have been updated by their owners or other users. Do not combine this flag with the -fast flag.
Displays information in a format suitable for machine parsing. Each field is separated by a single tab character.
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1).
Assigns the unprivileged identity anonymous
to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
see vos(1).
Obtains an authentication token using the server encryption key with the highest key version number in the local /etc/yfs/server/KeyFileExt file. The resulting token never expires and has Super User privileges. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos(1).
Use the calling user's tokens from the kernel or as obtained using the active Kerberos ticket granting ticket to communicate with the Volume Server and Location Service. This is the default if neither -localauth nor -noauth is given.
Since this option is the default, it is usually not useful for running single command line operations. However, it can be useful when running commands via vos_interactive(1) or vos_source(1), since otherwise it would be impossible to switch from, for example, -localauth back to using regular tokens during a bulk operation.
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear.
Enables or disables encrytion for the command so that the operation's results are not transmitted across the network in clear text.
Shows all servers as IP addresses instead of the reverse DNS lookup hostname.
-noresolve useful when troubleshooting no such volume
and volume moved
errors.
Set the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.
Prints the online help for this command. All other valid options are ignored.
The output is ordered alphabetically by volume name and by default provides the following information on a single line for each volume:
Name
Volume ID number
Type (the flag is RW
for read/write,
RO
for read-only,
BK
for backup)
Size in kilobytes (1024
equals a megabyte)
Number of files in the volume, if the -extended flag is provided
Status on the file server machine, which is one of the following:
The volume is completely accessible to Cache Managers.
The volume is not accessible to Cache Managers, but does not seem to be corrupted. This status appears while a volume is being dumped, for example.
The volume is not accessible to Cache Managers, because it seems to be corrupted. Use the bos_salvage(8) or salvager(8) command to repair the corruption.
If the following message appears instead of the previously listed information, it indicates that a volume is not accessible to Cache Managers or the vos(1) command interpreter, for example because a clone is being created.
**** Volume <volume_ID> is busy ****
If the following message appears instead of the previously listed information, it indicates that the File Server is unable to attach the volume, perhaps because it is seriously corrupted. The FileLog and VolserLog log files in the /var/log/yfs directory on the File Server can provide additional information; use the bos_getlog(8) command to display their contents.
**** Could not attach volume <volume_ID> ****
The information about individual volumes is bracketed by summary lines. The first line of output specifies the number of volumes in the listing. The last line of output summarizes the number of volumes that are online, offline, and busy. These lines do not appear if the -quiet flag is used.
If the -fast flag is added, the output displays only the volume ID number of each volume, arranged in increasing numerical order. The final line (which summarizes the number of online, offline, and busy volumes) is omitted.
If the -long flag is included, the output for each volume includes all of the information in the default listing plus the following. Each item in this list corresponds to a separate line of output:
Basic information about the specified volume (displayed on a single line):
Name
Volume ID number
Type (the flag is RW
for read/write, RO
for read-only, BK
for backup)
Status on the file server machine, which is one of the following:
The volume is completely accessible to Cache Managers.
The volume is not accessible to Cache Managers, but does not seem to be corrupted. This status appears while a volume is being dumped live, for example.
The volume is not accessible to Cache Managers, because it seems to be corrupted. Use the bos_salvage(8) or salvager(8) command to repair the corruption.
The File Server and partition from which the vos examine command is obtaining the volume state (and statistics) information.
The volume ID numbers associated with the various versions of the volume: read/write (RWrite
), read-only (ROnly
), and backup (Backup
). One of them matches the volume ID number that appears on the first line of the volume's output. If the value in the RWrite
, ROnly
, or Backup
field is 0
(zero), there is no volume ID number assigned to that type.
If there is a current ReleaseClone
, an additional field, RClone
, will display the volume ID number of the temporary ReleaseClone
volume. The appearance of the RClone
field normally indicates that a release operation is in progress or did not complete successfully.
The MaxQuota
field displays the maximum space quota allotted to the read/write copy of the volume, expressed in kilobyte blocks.
The Used
field displays the allocated size, expressed in kilobyte blocks.
The FileCount
field displays the nuumber of files in the volume.
The Creation
field displays the date and time the volume was created. If the volume has been restored with the backup_diskrestore(8), backup_volrestore(8), or vos_restore(1) commands, this is the restore time.
For a read-only volume, this is the last release time. For a backup volume, this is the last backup time.
The Copy
field displays the date and time this copy of this volume was created. This is the time when the volume was created on the File Server and partition from which statistics are obtained.
For read/write volumes, it is date and time of initial creation if the volume has never been moved or restored, or the date and time of the most recent move or restore operation.
For read-only volumes, it is the date and time of the initial vos_release(1) command that copied the volume data to the File Server and partition.
For backup volumes, it is the date and time of the initial vos_backup(1) or vos_backupsys(1) command on the specified File Server and partition. It will match the Creation
field.
The copy date is not stored in volume dumps and cannot be restored or migrated to another File Server or partition.
The Backup
field displays the date and time the last time a read/write volume had a .backup
volume created or updated. If there is no backup volume the string "Never"
will be displayed.
For read-only volumes this field will always display "Never"
.
For backup volumes this field will match the Creation
field.
The Last Access
field displays the date and time when the contents of the volume last accessed.
For backup volumes, the date and time will indicate the last access at the time of the most recent "vos backup"|vos_backup(1)> command. This field is not updated.
The Last Update
field displays the date and time when the contents of the volume last changed. For read-only and backup volumes, it matches the timestamp in the Creation
field.
The number of times the volume has been accessed for a fetch or store operation since the later of the two following times:
12:00 a.m. on the day the command is issued
The last time the volume changed location
For backup volumes, this value will always be zero.
When the -extended flag is included, two tables appear next:
The table labeled Raw Read/Write Stats
contains information on the number of reads (fetches) and writes (stores) made on the specified volume.
The table labeled Writes Affecting Authorship
contains information on writes made to files and directories in the specified volume.
The following example shows the output for the /vicepb partition on the File Server fs2.your-cell-name.com
when no flags are provided:
% vos listvol -server fs2.your-cell-name.com -partition b Total number of volumes on server fs2.your-cell-name.com partition /vicepb : 66 sys 1969534847 RW 1582 K On-line sys.backup 1969535105 BK 1582 K On-line . . . . . . . . . . . . user.pat 1969534536 RW 17518 K On-line user.pat.backup 1969534538 BK 17537 K On-line Total volumes onLine 66 ; Total volumes offLine 0 ; Total busy 0
The following example shows the output when the -fast flag is added:
% vos listvol -server fs2.your-cell-name.com -partition b -fast Total number of volumes on server fs2.your-cell-name.com partition /vicepb : 66 1969516782 1969516784 . . 1969535796
The following example shows two volumes from the output that appears when the -long flag is added:
% vos listvol -server fs2.your-cell-name.com -partition b -long Total number of volumes on server fs2.your-cell-name.com partition /vicepb: 66 . . . . . . . . . . . . user.pat 1969534536 RW 17518 K On-line fs2.your-cell-name.com /vicepb RWrite 1969534536 ROnly 0 Backup 1969534538 MaxQuota 20000 K Used 1382 K FileCount 23 Creation Mon Jun 12 09:02:25 1989 Copy Mon Jun 12 09:02:25 1989 Backup Thu May 20 09:02:25 1999 Last Access Thu May 20 17:39:34 1999 Last Update Thu May 20 17:39:34 1999 1573 accesses in the past day (i.e., vnode references) user.pat.backup 1969534538 BK 17537 K On-line fs2.your-cell-name.com /vicepb RWrite 1969534536 ROnly 0 Backup 1969534538 MaxQuota 20000 K Used 18929 K FileCount 328 Creation Tue Jun 13 04:37:59 1989 Copy Tue Jun 13 04:37:59 1989 Backup Tue Jun 13 04:37:59 1989 Last Access Wed May 19 06:37:59 1999 Last Update Wed May 19 06:37:59 1999 0 accesses in the past day (i.e., vnode references) . . . . . . . . . . . . Total volumes onLine 66 ; Total volumes offLine 0 ; Total busy 0
The issuer must be listed in the /etc/yfs/server/UserListExt file on the File Server specified by the -server argument and on each Location Server. If the -localauth flag is included, the issuer must instead be logged on to a server with an account capable of reading the /etc/yfs/server/KeyFileExt file.
backup_diskrestore(8), backup_volrestore(8), bos_getlog(8), bos_salvage(8), salvager(8), vos(1), vos_examine(1), vos_listloc(1), vos_restore(1)
IBM Corporation 2000. http://www.ibm.com/ All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.