SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

VOS_DELENTRY

Section: AFS Command Reference (1)
Updated: OpenAFS
Index 

NAME

vos delentry - Removes a volume entry from the VLDB. 

SYNOPSIS

vos delentry << [-id <volume name or ID+] >>>
    << [-prefix <prefix of volume whose VLDB entry is to be deleted] >>>
    << [-server <machine name] >>> << [-partition <partition name] >>>
    << [-cell <cell name] >>> [-noauth] [-localauth] [-verbose]
    [-help]

vos de << [-i <volume name or ID+] >>>
    << [-pr <prefix of volume whose VLDB entry is to be deleted] >>>
    << [-s <machine name] >>> << [-pa <partition name] >>>
    << [-c <cell name] >>> [-n] [-l] [-v] [-h] 

DESCRIPTION

The vos delentry command removes the Volume Location Database (VLDB)entry for each specified volume. A specified volume can be any of thethree types (read/write, read-only, or backup), but the entire entry isremoved no matter which type is provided. The command has no effect on theactual volumes on file server machines, if they exist.

This command is useful if a volume removal operation did not update theVLDB (perhaps because the vos zap command was used), but the systemadministrator does not feel it is necessary to use the vos syncserv andvos syncvldb commands to synchronize an entire file server machine.

To remove the VLDB entry for a single volume, use the -id argument. Toremove groups of volumes, combine the -prefix, -server, and-partition arguments. The following list describes how to remove theVLDB entry for the indicated group of volumes:

*
For every volume whose name begins with a certain character string (forexample, sys. or user.): use the -prefix argument.
*
Every volume for which the VLDB lists a site on a certain file servermachine: specify the file server name with the -server argument.
*
Every volume for which the VLDB lists a site on a partition of the samename (for instance, on the /vicepa partition on any file servermachine): specify the partition name with the -partition argument.
*
Every volume for which the VLDB lists a site one a specific partition of afile server machine: specify both the -server and -partitionarguments.
*
Every volume whose name begins with a certain prefix and for which theVLDB lists a site on a file server machine: combine the -prefix and-server arguments. Combine the -prefix argument with the-partition argument, or both the -server and -partitionarguments, to remove a more specific group of volumes.
 

CAUTIONS

Do not use this command to remove a volume in normal circumstances; itdoes not remove a volume from the file server machine, and so is likely tomake the VLDB inconsistent with state of the volumes on servermachines. Use the vos remove command to remove both the volume and itsVLDB entry. 

OPTIONS


-id <volume name or ID>+
Specifies the complete name or the volume ID number of each volume forwhich to remove the VLDB entry. The entire entry is removed, regardless ofwhether the read/write, read-only, or backup version is indicated.Provide this argument or some combination of the -prefix, -server,and -partition arguments.
-prefix <prefix of volume entry
Specifies a character string of any length; the VLDB entry for a volumewhose name begins with the string is removed. Include field separators(such as periods) if appropriate. Combine this argument with the-server argument, -partition argument, or both.
-server <server name>
Identifies a file server machine; if a volume's VLDB entry lists a site onthe machine, the entry is removed. Provide the machine's IP address or itshost name (either fully qualified or using an unambiguousabbreviation). For details, see the vos(1) manpage.

Combine this argument with the -prefix argument, the -partitionargument, or both.

-partition <partition name>
Identifies a partition; if a volume's VLDB entry lists a site on thepartition, the entry is removed. Provide the partition's complete namewith preceding slash (for example, /vicepa) or use one of the threeacceptable abbreviated forms. For details, see the vos(1) manpage.

Combine this argument with the -prefix argument, the -serverargument, or both.

-cell <cell name>
Names the cell in which to run the command. Do not combine this argumentwith the -localauth flag. For more details, see the vos(1) manpage.
-noauth
Assigns the unprivileged identity anonymous to the issuer. Do notcombine this flag with the -localauth flag. For more details, seethe vos(1) manpage.
-localauth
Constructs a server ticket using a key from the local/usr/afs/etc/KeyFile file. The vos command interpreter presents itto the Volume Server and Volume Location Server during mutualauthentication. Do not combine this flag with the -cell argument or-noauth flag. For more details, see the vos(1) manpage.
-verbose
Produces on the standard output stream a detailed trace of the command'sexecution. If this argument is omitted, only warnings and error messagesappear.
-help
Prints the online help for this command. All other valid options areignored.
 

OUTPUT

The following message confirms the success of the command by indicatinghow many VLDB entries were removed.

   Deleted <number> VLDB entries
 

EXAMPLES

The following command removes the VLDB entry for the volume user.temp.

   % vos delentry user.temp
The following command removes the VLDB entry for every volume whose namebegins with the string test and for which the VLDB lists a site on thefile server machine fs3.abc.com.

   % vos delentry -prefix test -server fs3.abc.com
 

PRIVILEGE REQUIRED

The issuer must be listed in the /usr/afs/etc/UserList file on themachine specified with the -server argument and on each database servermachine. If the -localauth flag is included, the issuer must instead belogged on to a server machine as the local superuser root. 

SEE ALSO

the vos(1) manpage,the vos_remove(1) manpage,the vos_syncserv(1) manpage,the vos_syncvldb(1) manpage,the vos_zap(1) manpage 

COPYRIGHT

IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It wasconverted from HTML to POD by software written by Chas Williams and RussAllbery, based on work by Alf Wachsmann and Elizabeth Cassell.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAUTIONS
OPTIONS
OUTPUT
EXAMPLES
PRIVILEGE REQUIRED
SEE ALSO
COPYRIGHT

This document was created byman2html,using the manual pages.