openafs/doc/html/AdminReference/auarf280.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

149 lines
8.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf279.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf281.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRVOS_ZAP" HREF="auarf002.htm#ToC_294">vos zap</A></H2>
<A NAME="IDX5863"></A>
<A NAME="IDX5864"></A>
<A NAME="IDX5865"></A>
<A NAME="IDX5866"></A>
<P><STRONG>Purpose</STRONG>
<P>Removes a volume from its site without writing to the VLDB
<P><STRONG>Synopsis</STRONG>
<PRE><B>vos zap -server</B> &lt;<VAR>machine&nbsp;name</VAR>> <B>-partition</B> &lt;<VAR>partition&nbsp;name</VAR>>
<B>-id</B> &lt;<VAR>volume ID</VAR>> [<B>-force</B>] [<B>-backup</B>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]
[<B>-noauth</B>] [<B>-localauth</B>] [<B>-verbose</B>] [<B>-help</B>]
<B>vos z -s</B> &lt;<VAR>machine&nbsp;name</VAR>> <B>-p</B> &lt;<VAR>partition&nbsp;name</VAR>> <B>-i</B> &lt;<VAR>volume&nbsp;ID</VAR>>
[<B>-f</B>] [<B>-b</B>] [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-n</B>] [<B>-l</B>] [<B>-v</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>vos zap</B> command removes the volume with the specified
<VAR>volume ID</VAR> from the site defined by the <B>-server</B> and
<B>-partition</B> arguments, without attempting to change the
corresponding Volume Location Database (VLDB) entry. If removing the
volume can possibly result in incorrect data in the VLDB, a warning message is
displayed.
<P>The <B>-force</B> flag removes a volume even if it cannot be "attached"
(brought online), which can happen either because the volume is extremely
damaged or because the Salvager functioned abnormally. Without this
flag, this command cannot remove volumes that are not attachable. See
also the <B>Cautions</B> section.
<P>To remove the specified read/write volume's backup version at the same
time, include the <B>-backup</B> flag.
<P><STRONG>Cautions</STRONG>
<P>Do not use this command as the standard way to remove a volume, as it is
likely to put the VLDB out of sync with the volumes on servers. Use the
<B>vos remove</B> command instead.
<P>This command is useful in situations where it is important to delete the
volume, but for some reason the VLDB is unreachable--for example, because
s the Volume Location Server is unavailable. The issuer can remove the
VLDB entry later with the <B>vos remove</B> or <B>vos delentry</B>
command, or it is removed automatically when the <B>vos syncserv</B> and
<B>vos syncvldb</B> commands run.
<P>To remove a read-only site defined in the VLDB by mistake, before a copy
actually exists at the site, use the <B>vos remsite</B> command. To
remove an entire VLDB entry without affecting volumes at their sites, use the
<B>vos delentry</B> command.
<P>Do not use the <B>-force</B> flag if the volume is online, but only
when attempts to remove the volume with the <B>vos remove</B> or the
<B>vos zap</B> command have failed, or the volume definitely cannot be
attached. After using the <B>-force</B> flag, make sure that the
volume's VLDB entry is also removed (issue the <B>vos delentry</B>
command if necessary).
<P>Adding the <B>-force</B> flag makes the command take considerably
longer--about as long as a salvage of the relevant partition--since
the Volume Server examines all inodes on the partition for traces of the
volume.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-server
</B><DD>Identifies the file server machine from which to remove the volume.
Provide the machine's IP address or its host name (either fully qualified
or using an unambiguous abbreviation). For details, see the
introductory reference page for the <B>vos</B> command suite.
<P><DT><B>-partition
</B><DD>Identifies the partition (on the file server machine specified by the
<B>-server</B> argument) from which to remove the volume. Provide
the partition's complete name with preceding slash (for example,
<B>/vicepa</B>) or use one of the three acceptable abbreviated
forms. For details, see the introductory reference page for the
<B>vos</B> command suite.
<P><DT><B>-id
</B><DD>Specifies the volume ID number of the volume to remove, which can be of
any of the three types. The volume name is not acceptable.
<P><DT><B>-force
</B><DD>Removes the volume even though it cannot be attached (brought
online). Use only after the failure of previous attempts to remove the
volume by using the <B>vos remove</B> command or the <B>vos</B>
command without this flag.
<P><DT><B>-backup
</B><DD>Removes the backup version of the read/write volume specified by the
<B>-id</B> argument. Do not use this flag if the <B>-id</B>
argument identifies a read-only or backup volume.
<P><DT><B>-cell
</B><DD>Names the cell in which to run the command. Do not combine this
argument with the <B>-localauth</B> flag. For more details, see the
introductory <B>vos</B> reference page.
<P><DT><B>-noauth
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
issuer. Do not combine this flag with the <B>-localauth</B>
flag. For more details, see the introductory <B>vos</B> reference
page.
<P><DT><B>-localauth
</B><DD>Constructs a server ticket using a key from the local
<B>/usr/afs/etc/KeyFile</B> file. The <B>vos</B> command
interpreter presents it to the Volume Server and Volume Location Server during
mutual authentication. Do not combine this flag with the
<B>-cell</B> argument or <B>-noauth</B> flag. For more details,
see the introductory <B>vos</B> reference page.
<P><DT><B>-verbose
</B><DD>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.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Examples</STRONG>
<P>The following example removes the volume with volume ID 536870988 from the
<B>/vicepf</B> partition of the file server machine
<B>fs6.abc.com</B>, without noting the change in the
VLDB.
<PRE> % <B>vos zap -server fs6.abc.com -partition f -id 536870988</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
the machine specified with the <B>-server</B> argument and on each
database server machine. If the <B>-localauth</B> flag is included,
the issuer must instead be logged on to a server machine as the local
superuser <B>root</B>.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
<P><A HREF="auarf259.htm#HDRVOS_DELENTRY">vos delentry</A>
<P><A HREF="auarf271.htm#HDRVOS_REMOVE">vos remove</A>
<P><A HREF="auarf272.htm#HDRVOS_REMSITE">vos remsite</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf279.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf281.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>