savemeta - Takes a snapshot of an AdvFS domain's metadata
/sbin/advfs/savemeta [-LSTt] [-f fileset] domain savedir
Saves the structure information from the frag file in each named
fileset to the savedir. If this option is not specified, the default is
to write no frag file information to the savedir.
-L Do not save the domain's log file to the savedir. If this option is
not specified, the default is to write the log file to the savedir.
-r Allows savemeta to run on mounted but currupt domains by acquiring
metadata information from the raw device.
-S Do not save each volume's storage bitmap (SBM) to the savedir. If this
option is not specified, the default is to write each volume's SBM to
-T Do not save the domain's root tag file to the savedir. If this option
is not specified, the default is to write the root tag file to the
-t Do not save the fileset tag files to the savedir. If this option is not
specified, the default is to write the fileset tag files to the
The name of the AdvFS domain from which you want to obtain the meta-
The name of a directory into which the saved metadata is to be written.
This script saves a snapshot of the specified domain metadata into a direc-
tory, savedir, that has the following structure:
By default, the savemeta command saves all the bitfile metadata (BMT), all
the SBM, the log and root tag files, and the fileset tag files. If you
specify the -f option, the command saves the frag file information for each
When the -r option is supplied and a fileset is mounted, the raw disk
being read may not have all the data that is in the kernel's buffers.
When this happens the data saved by savemeta may be inconsistent.
You must be the root user to use this command.
This command returns a 0 (zero) on success. Otherwise, it returns a 1 and
displays an error diagnostic.
The command path.
Commands: nvbmtpg(8), nvfragpg(8), nvlogpg(8), nvtagpg(8), vsbmpg(8)