=head1 NAME
vos_move - Moves a read/write volume to another site
=head1 SYNOPSIS
=for html
B S<<< B<-id> > >>>
S<<< B<-fromserver> > >>>
S<<< B<-frompartition> > >>>
S<<< B<-toserver> > >>>
S<<< B<-topartition> > >>>
[B<-live>] S<<< [B<-cell> >] >>> [B<-noauth>] [B<-localauth>]
[B<-verbose>] [B<-encrypt>] [B<-noresolve>]
S<<< [B<-config> >] >>>
[B<-help>]
B S<<< B<-i> > >>>
S<<< B<-froms> > >>>
S<<< B<-fromp> > >>>
S<<< B<-tos> > >>>
S<<< B<-top> > >>>
[B<-li>] S<<< [B<-c> >] >>> [B<-noa>]
[B<-lo>] [B<-v>] [B<-e>] [B<-nor>]
S<<< [B<-co> >] >>>
[B<-h>]
=for html
=head1 DESCRIPTION
The B command moves the indicated read/write volume from its
current site (specified with the B<-fromserver> and B<-frompartition>
arguments) to the destination site (specified with the B<-toserver> and
B<-topartition> arguments). This command automatically removes the backup
copy from the current site, if it exists. To create a new backup volume at
the destination site, use the B command.
This command works on read/write volumes only. To move a read-only volume,
use the B and B commands to define a new
read-only site and release the volume contents to it, and then use the
B command to remove the previous read-only volume's definition
from the Volume Location Database (VLDB) and data from the partition. To
move a backup volume, use this command to move its read/write source and
then issue the B command.
Before executing this command, the B 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 to move volume
=head1 CAUTIONS
Unless there is a compelling reason, do not interrupt a B
command in progress. Interrupting a move can result in one or more of the
following inconsistent states:
=over 4
=item *
There are two versions of the volume, one at the source site and one at
the destination site. (If this happens, retain the version identified by
the VLDB and use the B command to remove the other version.)
=item *
The backup version of the volume is stranded at the old site. (If this
happens, use the B command to remove it.)
=item *
The volume is off-line. (If this happens, run the B command
to bring it back on line.)
=back
If the Ctrl-C interrupt signal is pressed while a vos move 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: may leave AFS 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.
=include fragments/volsize-caution.pod
=head1 OPTIONS
=over 4
=item B<-id> >
Specifies either the complete name or volume ID number of a read/write
volume.
=item B<-fromserver> >
Identifies the file server machine where the volume currently
resides. Provide the machine's IP address or its host name (either fully
qualified or using an unambiguous abbreviation). For details, see
L.
=item B<-frompartition> >
Names the partition where the volume currently resides. Provide the full
partition name (for, example, B) or one of the abbreviated forms
described in L.
=item B<-toserver> >
Identifies the file server machine to which to move the volume. Provide
the machine's IP address or its host name (either fully qualified or using
an unambiguous abbreviation). For details, see L.
=item B<-topartition> >
Names the partition to which to move the volume. Provide the full
partition name (for, example, B) or one of the abbreviated forms
described in L.
=item B<-live>
Avoids making a temporary copy of the volume during the move. This is
useful if the partition is full, but the administrator needs to move
volumes to a another partition or server to free up disk space. The
caveat is that the volume is locked during the entire operation
instead of the short time that is needed to make the temporary clone.
=include fragments/vos-common.pod
=back
=head1 EXAMPLES
The following example moves the volume C from the F
partition on the file server machine C to the F
partition on the file server machine C.
% vos move -id user.smith -fromserver fs3.example.com -frompartition b \
-toserver fs7.example.com -topartition g
=head1 PRIVILEGE REQUIRED
The issuer must be listed in the F file on the
machines specified with the B<-toserver> and B<-fromserver> arguments and
on each database server machine. If the B<-localauth> flag is included,
the issuer must instead be logged on to a server machine as the local
superuser C.
=head1 SEE ALSO
L,
L,
L,
L,
L,
L,
L
=head1 COPYRIGHT
IBM Corporation 2000. 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.