=head1 NAME vos_clone - Creates a shared-space copy of a volume on a partition =head1 SYNOPSIS =for html
B S<<< [B<-id>] > >>> S<<< [B<-server>] > >>> S<<< [B<-partition>] > >>> S<<< [B<-toname> >] >>> S<<< [B<-toid> >] >>> [B<-offline>] [B<-readonly>] [B<-readwrite>] S<<< [B<-cell> >] >>> [B<-noauth>] [B<-localauth>] [B<-verbose>] [B<-encrypt>] [B<-noresolve>] S<<< [B<-config> >] >>> [B<-help>] B S<<< [B<-i>] > >>> S<<< [B<-s>] > >>> S<<< [B<-p>] > >>> S<<< [B<-ton> >] >>> S<<< [B<-toi> >] >>> [B<-o>] [B<-reado>] [B<-readw>] S<<< [B<-c> >] >>> [B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>] S<<< [B<-co> >] >>> [B<-h>] =for html
=head1 DESCRIPTION The B command creates a copy-on-write copy of a volume on the same partition and server as the parent volume. A clone is a copy of a volume that only stores the changes from the parent volume. Cloning is a primitive operation that is used by the B, B, and B commands. A clone functions using the same mechanism as a backup volume, but it is persistent. Clone volumes can be used as point-in-time copies of the parent volume, but they must be used with care. =head1 CAUTIONS This command is not used during normal OpenAFS administration and may have adverse effects on the VLDB if not used properly! This command should only be used by an expert. Deleting or moving the parent volume makes the clone volume inaccessible, but the clone volume remains in the VLDB and on disk, and it needs to be cleaned up manually. There is a maximum limitation of 7 clones when using the namei fileserver. You may safely create up to 4 clones using the B command. The other three clone slots are used by the backup volume, a read-only replica and the temporary clone that is created when executing a B, B, or other B commands. Some commands do not work properly on clone volumes. B is one such command. =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<-server> > Identifies the file server machine where the source volume 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<-partition> > Names the partition where the source volume resides. Provide the full partition name (for, example, B) or one of the abbreviated forms described in L. =item B<-toname> > The complete name of the new volume to create. =item B<-toid> > The complete id of the new volume to create. =item B<-offline> Leaves the new volume flagged as off-line in the volume database. =item B<-readonly> Flags the new volume as read-only in the volume database. =item B<-readwrite> Flags the new volume as read-write in the volume database. =include fragments/vos-common.pod =back =head1 OUTPUT This command has no output unless C<-verbose> is specified or there is an error. =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 =head1 COPYRIGHT Copyright 2008 Jason Edgecombe 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.