added button GIF's to the HTML docs
[openafs.git] / doc / html / AdminReference / auarf273.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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> 
17 <P>
18 <H2><A NAME="HDRVOS_RENAME" HREF="auarf002.htm#ToC_287">vos rename</A></H2>
19 <A NAME="IDX5819"></A>
20 <A NAME="IDX5820"></A>
21 <A NAME="IDX5821"></A>
22 <A NAME="IDX5822"></A>
23 <A NAME="IDX5823"></A>
24 <A NAME="IDX5824"></A>
25 <A NAME="IDX5825"></A>
26 <A NAME="IDX5826"></A>
27 <A NAME="IDX5827"></A>
28 <A NAME="IDX5828"></A>
29 <P><STRONG>Purpose</STRONG>
30 <P>Renames a volume
31 <P><STRONG>Synopsis</STRONG>
32 <PRE><B>vos rename -oldname</B> &lt;<VAR>old&nbsp;volume&nbsp;name</VAR>>  <B>-newname</B> &lt;<VAR>new&nbsp;volume&nbsp;name</VAR>> 
33            [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-verbose</B>]  [<B>-help</B>]
34     
35 <B>vos ren -o</B> &lt;<VAR>old&nbsp;volume&nbsp;name</VAR>>  <B>-ne</B> &lt;<VAR>new&nbsp;volume&nbsp;name</VAR>>  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]
36         [<B>-no</B>]  [<B>-l</B>]  [<B>-v</B>]  [<B>-h</B>]
37 </PRE>
38 <P><STRONG>Description</STRONG>
39 <P>The <B>vos rename</B> command changes the name of the read/write volume
40 specified with the <B>-oldname</B> argument to the name specified with the
41 <B>-newname</B> argument. The names of the read/write's
42 read-only copies and backup copy, if any, change automatically to
43 match.
44 <P>After issuing this command, remember to correct any mount points that refer
45 to the old volume name, by removing the old mount point with the <B>fs
46 rmmount</B> command and creating a new one with the <B>fs mkmount</B>
47 command.
48 <P><STRONG>Options</STRONG>
49 <DL>
50 <P><DT><B>-oldname
51 </B><DD>Is the current name of the read/write volume.
52 <P><DT><B>-newname
53 </B><DD>Is the desired new name for the volume.
54 <P><DT><B>-cell
55 </B><DD>Names the cell in which to run the command. Do not combine this
56 argument with the <B>-localauth</B> flag. For more details, see the
57 introductory <B>vos</B> reference page.
58 <P><DT><B>-noauth
59 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
60 issuer. Do not combine this flag with the <B>-localauth</B>
61 flag. For more details, see the introductory <B>vos</B> reference
62 page.
63 <P><DT><B>-localauth
64 </B><DD>Constructs a server ticket using a key from the local
65 <B>/usr/afs/etc/KeyFile</B> file. The <B>vos</B> command
66 interpreter presents it to the Volume Server and Volume Location Server during
67 mutual authentication. Do not combine this flag with the
68 <B>-cell</B> argument or <B>-noauth</B> flag. For more details,
69 see the introductory <B>vos</B> reference page.
70 <P><DT><B>-verbose
71 </B><DD>Produces on the standard output stream a detailed trace of the
72 command's execution. If this argument is omitted, only warnings
73 and error messages appear.
74 <P><DT><B>-help
75 </B><DD>Prints the online help for this command. All other valid options
76 are ignored.
77 </DL>
78 <P><STRONG>Output</STRONG>
79 <P>The <B>vos rename</B> command produces no output if the command
80 succeeds.
81 <P>If the volume named by the <B>-oldname</B> argument does not exist, the
82 following message appears:
83 <PRE>   vos: Could not find entry for volume <VAR>old volume name</VAR>.
84    
85 </PRE>
86 <P><STRONG>Examples</STRONG>
87 <P>The following example changes the mistaken volume name
88 <B>sun4x_56.afsws</B> to the correct alternative
89 <TT>sun4x_56.usr.afsws</TT>.
90 <PRE>   % <B>vos rename -oldname sun4x_56.afsws -newname sun4x_56.usr.afsws</B>
91    
92 </PRE>
93 <P><STRONG>Privilege Required</STRONG>
94 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
95 the machine specified with the <B>-server</B> argument and on each
96 database server machine. If the <B>-localauth</B> flag is included,
97 the issuer must instead be logged on to a server machine as the local
98 superuser <B>root</B>.
99 <P><STRONG>Related Information</STRONG>
100 <P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
101 <P>
102 <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> 
103 <!-- Begin Footer Records  ========================================== -->
104 <P><HR><B> 
105 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
106 </B> 
107 <!-- End Footer Records  ============================================ -->
108 <A NAME="Bot_Of_Page"></A>
109 </BODY></HTML>