mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 00:41:08 +00:00
d7da1acc31
pull in all documentation from IBM
110 lines
5.6 KiB
HTML
110 lines
5.6 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="auarf272.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="auarf274.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_RENAME" HREF="auarf002.htm#ToC_287">vos rename</A></H2>
|
|
<A NAME="IDX5819"></A>
|
|
<A NAME="IDX5820"></A>
|
|
<A NAME="IDX5821"></A>
|
|
<A NAME="IDX5822"></A>
|
|
<A NAME="IDX5823"></A>
|
|
<A NAME="IDX5824"></A>
|
|
<A NAME="IDX5825"></A>
|
|
<A NAME="IDX5826"></A>
|
|
<A NAME="IDX5827"></A>
|
|
<A NAME="IDX5828"></A>
|
|
<P><STRONG>Purpose</STRONG>
|
|
<P>Renames a volume
|
|
<P><STRONG>Synopsis</STRONG>
|
|
<PRE><B>vos rename -oldname</B> <<VAR>old volume name</VAR>> <B>-newname</B> <<VAR>new volume name</VAR>>
|
|
[<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-verbose</B>] [<B>-help</B>]
|
|
|
|
<B>vos ren -o</B> <<VAR>old volume name</VAR>> <B>-ne</B> <<VAR>new volume name</VAR>> [<B>-c</B> <<VAR>cell name</VAR>>]
|
|
[<B>-no</B>] [<B>-l</B>] [<B>-v</B>] [<B>-h</B>]
|
|
</PRE>
|
|
<P><STRONG>Description</STRONG>
|
|
<P>The <B>vos rename</B> command changes the name of the read/write volume
|
|
specified with the <B>-oldname</B> argument to the name specified with the
|
|
<B>-newname</B> argument. The names of the read/write's
|
|
read-only copies and backup copy, if any, change automatically to
|
|
match.
|
|
<P>After issuing this command, remember to correct any mount points that refer
|
|
to the old volume name, by removing the old mount point with the <B>fs
|
|
rmmount</B> command and creating a new one with the <B>fs mkmount</B>
|
|
command.
|
|
<P><STRONG>Options</STRONG>
|
|
<DL>
|
|
<P><DT><B>-oldname
|
|
</B><DD>Is the current name of the read/write volume.
|
|
<P><DT><B>-newname
|
|
</B><DD>Is the desired new name for the 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>Output</STRONG>
|
|
<P>The <B>vos rename</B> command produces no output if the command
|
|
succeeds.
|
|
<P>If the volume named by the <B>-oldname</B> argument does not exist, the
|
|
following message appears:
|
|
<PRE> vos: Could not find entry for volume <VAR>old volume name</VAR>.
|
|
|
|
</PRE>
|
|
<P><STRONG>Examples</STRONG>
|
|
<P>The following example changes the mistaken volume name
|
|
<B>sun4x_56.afsws</B> to the correct alternative
|
|
<TT>sun4x_56.usr.afsws</TT>.
|
|
<PRE> % <B>vos rename -oldname sun4x_56.afsws -newname sun4x_56.usr.afsws</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>
|
|
<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="auarf272.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="auarf274.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>© <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>
|