3 vos_changeloc - Change a volume's entry in the VLDB
10 B<vos changeloc> S<<< [B<-server>] <I<new server name>> >>>
11 S<<< [B<-partition>] <I<new partition location>> >>>
12 S<<< [B<-id>] <I<volume name or ID>> >>>
13 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
14 [B<-verbose>] [B<-encrypt>] [B<-noresolve>] [B<-help>]
16 B<vos changel> S<<< [B<-s>] <I<new server name>> >>>
17 S<<< [B<-p>] <I<new partition location>> >>>
18 S<<< [B<-i>] <I<volume name or ID>> >>>
19 S<<< [B<-c> <I<cell name>>] >>>
20 [B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>] [B<-h>]
27 The B<vos changeloc> command changes the location of a volume in the
28 Volume Location Database (VLDB) without needing to contact the original
29 file server on which the volume was hosted. This is useful when a file
30 server has gone down permanently and the data that was stored on that
31 server has been moved to a new file server with a different name and IP
32 address (perhaps by mounting the same /vicepX partitions on a different
33 host). After moving the data and running B<vos changeloc>, run B<vos
34 syncvldb> and then B<vos syncserv> against the new server to ensure full
35 synchronization of the VLDB with the file server.
37 In essence, B<vos changeloc> performs the same operations on the VLDB as
38 B<vos move>, but it does NOT move the data from one server's file system
43 Using B<vos changeloc> changes the VLDB without modifying the file server
44 data, so it inherently causes the VLDB to be out of sync with the data on
45 the servers. It should only be used when recovering from server failure.
46 If the servers are on-line, B<vos move> should be used instead. It is
47 highly recommended that B<vos syncvldb> and B<vos syncserv> be run after
48 using the B<vos changeloc> command to ensure properly synchronization of
49 the VLDB with the file servers.
53 B<vos changeloc> takes the following options:
57 =item B<-server> <I<new server name>>
59 Specifies the new server where the VLDB should believe the volume resides.
60 Provide the machine's IP address or its host name (either fully qualified
61 or using an unambiguous abbreviation). For details, see L<vos(1)>.
63 =item B<-partition> <I<partition name>>
65 Specifies the partition where the VLDB should believe the volume resides.
66 Provide the B<-server> argument along with this one. Provide the
67 partition's complete name with preceding slash (for example, C</vicepa>)
68 or use one of the three acceptable abbreviated forms. For details, see
71 =item B<-id> <I<volume name or ID>>
73 Specifies the name or volume ID number on which to operate.
75 =item B<-cell> <I<cell name>>
77 Names the cell in which to run the command. Do not combine this argument
78 with the B<-localauth> flag. For more details, see L<vos(1)>.
82 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
83 combine this flag with the B<-localauth> flag. For more details, see
88 Constructs a server ticket using a key from the local
89 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
90 to the Volume Server and Volume Location Server during mutual
91 authentication. Do not combine this flag with the B<-cell> argument or
92 B<-noauth> flag. For more details, see L<vos(1)>.
96 Produces on the standard output stream a detailed trace of the command's
97 execution. If this argument is omitted, only warnings and error messages
102 Encrypts the command so that the operation's results are not transmitted
103 across the network in clear text. This option is available in OpenAFS
104 versions 1.4.11 or later and 1.5.60 or later.
108 Shows all servers as IP addresses instead of the DNS name. This is very
109 useful when the server address is registered as 127.0.0.1 or when dealing
110 with multi-homed servers. This option is available in OpenAFS
111 versions 1.4.8 or later and 1.5.35 or later.
115 Prints the online help for this command. All other valid options are
122 B<vos changeloc> shows a brief message upon completion:
124 Changed location to server2 /vicepa for volume user.jdoe
128 The following command changes the location of the C<user.jdoe> volume to
129 be F</vicepa> on the file server machine C<server2> while being verbose:
131 % vos changeloc server2 a user.jdoe -verbose
133 Changed location to server2 /vicepa for volume user.jdoe
135 The following command changes the location of the C<user.jdoe> volume to
136 be F</vicepa> on C<server1> without being verbose:
138 % vos changeloc server1 a user.jdoe
139 Changed location to server1 /vicepa for volume user.jdoe
141 =head1 PRIVILEGE REQUIRED
143 The issuer must be listed in the F</usr/afs/etc/UserList> file on each
144 database server machine. If the B<-localauth> flag is included, the issuer
145 must instead be logged on to a server machine as the local superuser
157 Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
159 This documentation is covered by the BSD License as written in the
160 doc/LICENSE file. This man page was written by Jason Edgecombe for