voldump - Dump an AFS volume without using the Volume Server
voldump -part <partition> -volumeid <volume id> [-file <dump file>] [-time <dump from time>] [-verbose] [-help]
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.
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.
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.
partition must be either a single letter between
corresponding to /vicepa through /vicepz,
or the full path to the file server partition.
aa is not recognized; use /vicepaa instead.
Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name.
Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output.
Specifies whether the dump is full or incremental. Omit this argument to create a full dump, or provide one of the valid values listed in vos_dump(1).
Asks for a verbose trace of the dump process. This trace information will be sent to standard error.
Prints the online help for this command. All other valid options are ignored.
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
The command must be issued using the account under which the fileserver process is executed on the file server machine. On supported platforms, this is the
yfsserver account; although it might be the local superuser
bos_shutdown(8), restorevol(1), volserver(8), vos_dump(1), vos_restore(1)
Copyright 2005 Russ Allbery <email@example.com>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.