voldump(8) [xfree86 man page]
VOLDUMP(8) AFS Command Reference VOLDUMP(8) NAME voldump - Dump an AFS volume without using the Volume Server SYNOPSIS voldump -part <partition> -volumeid <volume id> [-file <dump file>] [-verbose] [-help] voldump -p <partition> -vo <volume id> [-f <dump file>] [-ve] [-h] DESCRIPTION voldump dumps an AFS volume in the format used by vos dump without using the Volume Server. It must be run on the file server machine and usually must be run as the superuser "root" to have permissions to read the file server data. It's primary use is to recover data from a file server machine where the Volume Server cannot be started for some reason. The dump output will go to standard output, or to a file if -file is specified. vos restore can be used to load the resulting dump into a new AFS volume. voldump always does a full dump. CAUTIONS Normally, use vos dump instead of this command. voldump is a tool of last resort to try to extract data from the raw data structures stored on the file server machine and is not as regularly tested or used as the normal vos dump implementation. If the AFS volume being dumped changes while voldump is running, the results may be inconsistent. If the File Server and Volume Server are running, stop them with bos shutdown or a similar method before running this command. OPTIONS -part <partition> Names the partition on which the volume to be dumped is located. voldump does not take the normal full range of ways of specifying a partition. Instead, partition must be either a single letter between "a" and "z", corresponding to /vicepa through /vicepz, or the full path to the file server partition. "aa" is not recognized; use /vicepaa instead. -volumeid <volume id> Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name. -file <dump file> Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output. -verbose Asks for a verbose trace of the dump process. This trace information will be sent to standard error. EXAMPLES The following command dumps the volume 1936964939 on the /vicepb partition to the file /tmp/volume.dump: % voldump -part /vicepb -volumeid 1936964939 -file /tmp/volume.dump PRIVILEGE REQUIRED The issuer must have read access to the file server data stored in the specified partition. Usually, this means that the issuer must be the local superuser "root" on the file server machine. SEE ALSO bos_shutdown(8), restorevol(1), volserver(8), vos_dump(1), vos_restore(1) COPYRIGHT Copyright 2005 Russ Allbery <rra@stanford.edu> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS. OpenAFS 2012-03-26 VOLDUMP(8)
Check Out this Related Man Page
VOS_SIZE(1) AFS Command Reference VOS_SIZE(1) NAME
vos_size - Computes the size of a volume dump SYNOPSIS
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] [-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] [-h] DESCRIPTION
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). OPTIONS
-id <volume name or id> Specifies either the complete name or volume ID number of the read/write, read-only, or backup volume to size. -partition <partition name> Specifies the partition on which the volume resides. Provide the -server argument along with this one. -server <machine name> Specifies the file server machine on which the volume resides. Provide the -partition argument along with this one. -dump Show the size of the volume dump for the specified volume. Currently, this flag should always be given for vos size to give useful information. It is present to allow this command to provide other size estimates in the future. -time <dump from time> Specifies whether the dump is full or incremental. Omit this argument to size a full dump. See vos_dump(1) for the valid values for this option. -cell <cell name> The cell in which the volume resides, if it's not in the current cell. -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 Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The vos command interpreter presents it to the Volume Server and Volume Location Server during mutual authentication. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos(1). -verbose Show more output about what's going on. -encrypt Encrypts the command so that the operation's results are not transmitted across the network in clear text. This option is available in OpenAFS versions 1.4.11 or later and 1.5.60 or later. -noresolve Shows all servers as IP addresses instead of the DNS name. This is very useful when the server address is registered as 127.0.0.1 or when dealing with multi-homed servers. This option is available in OpenAFS versions 1.4.8 or later and 1.5.35 or later. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
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. EXAMPLES
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 PRIVILEGE REQUIRED
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". SEE ALSO
fs_listquota(1), vos_dump(1), vos_examine(1) COPYRIGHT
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. OpenAFS 2012-03-26 VOS_SIZE(1)