NAME

vos_movesite - Moves a readonly volume to another site

SYNOPSIS

vos movesite -id <readonly volume name or ID> -fromserver <machine name on source> -frompartition <partition name on source> -toserver <machine name on destination> -topartition <partition name on destination> [-clone [<yes|no>]] [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]

DESCRIPTION

The vos movesite command moves the indicated readonly volume from its current site (specified with the -fromserver and -frompartition arguments) to the destination site (specified with the -toserver and -topartition arguments). This command works only on readonly volumes.

Before executing this command, the vos(1) command interpreter initiates a check that the destination partition contains enough space to house the volume being moved. If there is not enough space, the move operation is not attempted and the following message appears:

   vos: no space on target partition <dest_part> to move volume <volume>

CAUTIONS

Unless there is a compelling reason, do not interrupt an in-progress vos movesite command. Interrupting a move can result in one or more of the following inconsistent states:

If the Ctrl-C interrupt signal is pressed while a vos movesite operation is executing, the following message warns of the consequences and requests confirmation of the kill signal:

   SIGINT handler: vos move operation in progress
   WARNING: can leave volume storage and metadata in indeterminate state
   enter second control-c to exit

To confirm termination of the operation, press Ctrl-C a second time; press any other key to continue the operation.

Currently, the maximum partition size and volume quota is 16 zettabytes (2^74 bytes). Note that tools such as fs_listquota(1) can only report sizes up to 2 terabytes (2^41 bytes) when accessing a volume housed on an IBM AFS or OpenAFS File Server.

OPTIONS

-id <readonly volume name or ID>

Specifies either the complete name or volume ID number of a readonly volume.

-fromserver <source file server hostname or IP address>

Identifies the File Server where the source volume resides. Provide a fully qualified host name, an IP address or UUID as reported by vos_listfs(1). The -fromserver argument must be combined with the -frompartition argument.

-frompartition <partition name for source>

Identifies the partition on the File Server named by the -fromserver argument where the source volume resides. Provide the partition's complete name with preceding slash (for example, /vicepa) or use one of the three acceptable abbreviated forms. For details, see vos(1).

The -frompartition argument must be combined with the -fromserver argument.

-toserver <destination file server hostname or IP address>

Identifies the File Server where the volume copy is to be created. Provide a fully qualified host name, an IP address or UUID as reported by vos_listfs(1).

-topartition <destination partition name>

Identifies the partition on the File Server named by the -toserver argument where the volume will be moved. Provide the partition's complete name with preceding slash (for example, /vicepa) or use one of the three acceptable abbreviated forms. For details, see vos(1).

-clone [<yes|no>]

The -clone option defaults to no. When set to no, vos movesite moves the source volume without first creating a temporary clone on the source partition. Depending on the source File Server capabilities, disabling cloning might keep the source volume offline for as long as is required to copy the data to the File Server designated by the -server argument.

-cell <cell name>

Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1).

-noauth

Assigns the unprivileged identity anonymous to the issuer. Do not combine this flag with the -localauth flag. For more details, see vos(1).

-localauth

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(1).

-auth

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(1) or vos_source(1), since otherwise it would be impossible to switch from, for example, -localauth back to using regular tokens during a bulk operation.

-verbose

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.

-encrypt [<yes|no>]

Enables or disables encrytion for the command so that the operation's results are not transmitted across the network in clear text.

-noresolve

Shows all servers as IP addresses instead of the reverse DNS lookup hostname. -noresolve useful when troubleshooting no such volume and volume moved errors.

-config <configuration file>

Set the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.

-help

Prints the online help for this command. All other valid options are ignored.

EXAMPLES

The following example moves the volume user.smith from the /vicepb partition on the File Server fs3.your-cell-name.com to the /vicepg partition on the File Server fs7.your-cell-name.com.

   % vos movesite -id user.smith -fromserver fs3.your-cell-name.com \
       -frompartition b -toserver fs7.your-cell-name.com -topartition g

PRIVILEGE REQUIRED

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.

SEE ALSO

vos(1), vos_move(1), vos_listvol(1), vos_remove(1), vos_remsite(1), vos_zap(1), bos_salvage(8)

COPYRIGHT

IBM Corporation 2000. http://www.ibm.com/ All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

ACKNOWLEDGEMENTS

"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.