vos_changeloc - Change a volume's Location Service registration without File Server contact
vos changeloc [-server] <new server name> [-partition] <new partition location> [-id] <volume name or ID> [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]
The vos changeloc command update the Location Service registration of the volume specified by the -id argument without contacting the File Server on which the volume is supposed to be housed. This is useful when a File Server is permanently out of service and the data that was stored on that File Server has been restored or attached to a new File Server.
After the data is available on the new File Server and the vos changeloc command has been executed, run vos syncloc and then vos syncfs against the new server to ensure full synchronization of the Location Service with the File Server.
The vos changeloc command performs the same operations to the volume's Location Service registration that the vos move command performs, but vos changeloc does NOT move the volume data from one File Server to another.
Using vos changeloc changes the volume's Location Service registration without modifying the File Server data. It inherently causes the Location Service to be out of sync with the File Servers. It should only be used when recovering from File Server failure.
If the File Servers are on-line, the vos move command should be used instead. It is highly recommended that vos syncloc and vos syncfs be run after the vos changeloc command to ensure properly synchronization of the Location Service with the File Servers.
vos changeloc takes the following options:
Specifies the File Server on which the data resides for the volume indicated by the -id argument. The Location Service's location information for the volume will be updated to reflect the new File Server. Provide a fully qualified host name, an IP address or UUID as reported by vos listfs.
Specifies the partition on which the data resides for the volume indicated by the -id argument.
The Location Service's location information for the volume will be updated to reflect the new partition.
Provide the partition's complete name with preceding slash (for example,
/vicepa) or use one of the three acceptable abbreviated forms.
Specifies the name or volume ID number on which to operate.
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos.
Assigns the unprivileged identity
anonymous to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
Obtains an authentication token using the server encryption key with the highest key version number in the local /etc/yfs/server/KeyFileExt file. The resulting token never expires and has Super User privileges. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos.
Use the calling user's tokens from the kernel or as obtained using the active Kerberos ticket granting ticket to communicate with the Volume Server and Location Service. This is the default if neither -localauth nor -noauth is given.
Since this option is the default, it is usually not useful for running single command line operations. However, it can be useful when running commands via vos interactive or vos source, since otherwise it would be impossible to switch from, for example, -localauth back to using regular tokens during a bulk operation.
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.
Enables or disables encrytion for the command so that the operation's results are not transmitted across the network in clear text.
Shows all servers as IP addresses instead of the reverse DNS lookup hostname.
-noresolve useful when troubleshooting
no such volume and
volume moved errors.
Set the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.
Prints the online help for this command. All other valid options are ignored.
vos changeloc shows a brief message upon completion:
Changed location to server2 /vicepa for volume user.jdoe
The following command updates the Location Service's location information for the
user.jdoe volume to be
/vicepa on the File Server
% vos changeloc fs1.your-cell-name.com a user.jdoe Changed location to fs1.your-cell-name.com /vicepa for volume user.jdoe
The issuer must be listed in the /etc/yfs/server/UserListExt file on the File Server specified by the -server argument and on each Location Server. If the -localauth flag is included, the issuer must instead be logged on to a server with an account capable of reading the /etc/yfs/server/KeyFileExt file.
vos(1), vos_move(1), vos_syncfs(1), vos_syncloc(1)
Copyright 2007 Jason Edgecombe <firstname.lastname@example.org>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.