VOS_SIZE(1) | AFS Command Reference | VOS_SIZE(1) |
vos_size - Computes the size of a volume dump
vos size
[-id] <volume name or id>
[-partition <partition name>]
[-server <machine name>]
[-dump]
[-time <dump from time>]
[-cell <cell name>]
[-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve]
[-config <config directory>]
[-help]
vos si
[-i] <volume name or id>
[-p <partition name>]
[-s <machine name>]
[-d] [-t <dump from time>]
[-c <cell name>]
[-no] [-l]
[-v] [-e] [-nor]
[-co <config directory>]
[-h]
The vos size command shows the size of a volume's dump for backup purposes. The size of the dump may differ from the volume size as reported by vos examine or fs listquota. The size is shown in bytes.
This command is intended for use with backup systems that want to size volume dumps before performing them (to optimize use of tape resources, for example).
When run without -verbose, the output will be:
Volume: <volume> dump_size: <size>
where <volume> is the name of the volume and <size> is the size of the dump in bytes. With -verbose, additional status messages will be printed between those two lines.
Sizing a single user volume:
% vos size user.thoron -dump Volume: user.thoron dump_size: 36430
or, more verbosely:
% vos size user.thoron -dump -verbose Volume: user.thoron Starting transaction on volume 2003434023... done Getting size of volume on volume 2003434023... done Ending transaction on volume 2003434023... done dump_size: 36430
Sizing an incremental dump for the same volume:
% vos size -id user.thoron -time '05/04/2007 00:00:00' -dump Volume: user.thoron dump_size: 21095
The issuer must be listed in the /etc/openafs/server/UserList file on the machine specified with the -server argument or the machine on which the volume is located if -server was not given. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root".
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
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.
2022-12-22 | OpenAFS |