vos_remove - Removes a volume from a partition on a file server
vos remove -id <volume name or ID> [-server <machine name>] [-partition <partition name>] [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]
The vos remove command removes the indicated volume from the File Server and partition on which it resides. The Location Service is reference to the site is updated for the removed volume, as described in the following paragraphs. Use this command to remove any of the three types of volumes; the effect depends on the type.
If the -id argument names the read/write volume (that is,
specifies the volume's base name),
both the read/write volume and the associated backup volume (if present) are removed from the partition that houses them.
The -server and -partition arguments are optional,
because there can be only one read/write site.
When the volume is removed,
the site information is also removed from the Location Service.
The read/write and backup volume ID numbers no longer appear in the output from the vos listloc or vos examine commands,
but they are preserved internally.
are not affected,
but cannot be changed unless a read/write site is again defined.
The site count reported by the vos examine and vos listloc commands as
number of sites decrements by one.
The volume will be delisted in its entirety from the Location Service after removing the read/write volume if if there are no read-only sites.
If the -id argument names a read-only volume,
it is removed from the partition that houses it,
and the corresponding site information is removed from the Location Service.
The site count reported by the vos examine and vos listloc commands as
number of sites decrements by one for each volume you remove.
If there is more than one read-only site,
the -server argument (and optionally -partition argument) must be used to specify the site from which to remove the volume.
If there is only one read-only site,
the -id argument is sufficient.
The volume will be delisted in its entirety from the Location Service if there is no read/write volume and the last read-only volume site is removed.
If the -id argument names a backup volume, it is removed from the partition that houses it. The -server and -partition arguments are optional, because there can be only one backup site. The backup volume ID number no longer appears in the output from the vos listloc or vos examine commands, but is preserved internally.
This command is the most appropriate one for removing volumes in almost all cases. Other commands that remove only volumes or only update the Location Service (such as the vos delentry, vos remsite and vos zap commands) by definition can put the volumes and Location Service out of sync. Use them only in the special circumstances mentioned on their reference pages.
This command can remove a volume in its entirety from the Location Service when no corresponding volumes exist on the File Server machine.
This command can remove a read-only site from the Location Service when the read-only site was added by mistake and the vos release command has not yet been issued.
This command can remove a volume from a site that is not listed in the Location Service, as long as the volume is online, -server and -partition arguments are provided, and the -id argument specifies the volume's ID number.
Identifies the File Server that houses the volume to remove. It is necessary only when the -id argument names a read-only volume that exists at multiple sites. Provide a fully qualified host name, an IP address or UUID as reported by vos listfs.
Identifies the partition (on the File Server specified by the -server argument) that houses the volume to remove.
Provide the partition's complete name with preceding slash (for example,
/vicepa) or use one of the three acceptable abbreviated forms.
Including this argument is necessary only when the -id argument names a read-only volume that exists at multiple sites. Provide the -server argument along with this one.
Identifies the volume to remove,
either by its complete name or volume ID number.
If identifying a read-only or backup volume by name,
include the appropriate extension (
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos.
Assigns the unprivileged identity
anonymous to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
Obtains an authentication token using the server encryption key with the highest key version number in the local /etc/yfs/server/KeyFileEx 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.
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 or vos source, 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 following example removes the read/write volume
user.terry and its backup version,
% vos remove -id user.terry
The following example removes the read-only volume
root.afs.readonly from one of its sites, the /vicepa partition on the File Server
% vos remove fs1.your-cell-name.com a root.afs.readonly
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.
vos(1), vos_delentry(1), vos_listfs(1), vos_remsite(1), vos_zap(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.