3 vos size - Computes the size of a volume dump
10 B<vos size> S<<< [B<-cell> <I<cell name>>] >>> [B<-dump>]
11 [B<-encrypt>] [B<-help>] [B<-id>] <I<volume name or id>>
12 [B<-localauth>] [B<-noauth>]
13 S<<< [B<-partition> <I<partition name>>] >>>
14 S<<< [B<-server> <I<machine name>>] >>>
15 S<<< [B<-time> <I<dump from time>>] >>> [B<-verbose>]
22 The B<vos size> command shows the size of a volume's dump for backup
23 purposes. The size of the dump may differ from the volume size as reported
24 by B<vos examine> or B<fs listquota>. The size is shown in bytes.
26 This command is intended for use with backup systems that want to size
27 volume dumps before performing them (to optimize use of tape resources,
34 =item B<-cell> <I<cell name>>
36 The cell in which the volume resides, if it's not in the current cell.
40 Show the size of the volume dump for the specified volume. Currently, this
41 flag should always be given for B<vos size> to give useful information.
42 It is present to allow this command to provide other size estimates in the
51 Prints the online help for this command. All other valid options are
54 =item B<-id> <I<volume name or id>>
56 Specifies either the complete name or volume ID number of the read/write,
57 read-only, or backup volume to size.
61 Constructs a server ticket using a key from the local
62 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
63 to the Volume Server and Volume Location Server during mutual
64 authentication. Do not combine this flag with the B<-cell> argument or
65 B<-noauth> flag. For more details, see L<vos(1)>.
69 Assigns the unprivileged identity anonymous to the issuer. Do not combine
70 this flag with the B<-localauth> flag. For more details, see L<vos(1)>.
72 =item B<-partition> <I<partition name>>
74 Specifies the partition on which the volume resides. Provide the
75 B<-server> argument along with this one.
77 =item B<-server> <I<machine name>>
79 Specifies the file server machine on which the volume resides. Provide
80 the B<-partition> argument along with this one.
82 =item B<-time> <I<dump from time>>
84 Specifies whether the dump is full or incremental. Omit this argument to
85 size a full dump. See L<vos_dump(1)> for the valid values for this
90 Show more output about what's going on.
96 When run without B<-verbose>, the output will be:
101 where <volume> is the name of the volume and <size> is the size of the
102 dump in bytes. With B<-verbose>, additional status messages will be
103 printed between those two lines.
107 Sizing a single user volume:
109 % vos size user.thoron -dump
115 % vos size user.thoron -dump -verbose
117 Starting transaction on volume 2003434023... done
118 Getting size of volume on volume 2003434023... done
119 Ending transaction on volume 2003434023... done
122 Sizing an incremental dump for the same volume:
124 % vos size -id user.thoron -time '05/04/2007 00:00:00' -dump
130 =head1 PRIVILEGE REQUIRED
132 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
133 machine specified with the B<-server> argument or the machine on which the
134 volume is located if B<-server> was not given. If the B<-localauth> flag
135 is included, the issuer must instead be logged on to a server machine as
136 the local superuser C<root>.
146 Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
148 This documentation is covered by the IBM Public License Version
149 1.0. This man page was written by Jason Edgecombe for OpenAFS.