unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



savemeta(8)							  savemeta(8)



NAME

  savemeta - Takes a snapshot of an AdvFS domain's metadata

SYNOPSIS

  /sbin/advfs/savemeta [-LSTt] [-f fileset] domain savedir

OPTIONS

  -f fileset
      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
      the savedir.

  -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
      savedir.

  -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
      savedir.

OPERANDS

  domain
      The name of the AdvFS domain from	which you want to obtain the meta-
      data.

  savedir
      The name of a directory into which the saved metadata is to be written.

DESCRIPTION

  This script saves a snapshot of the specified	domain metadata	into a direc-
  tory,	savedir, that has the following	structure:

		savedir/volume_directory/RBMT_file
				    /BMT_file
				    /SBM_file
		  /log_file
		  /tag_file
		  /fileset_directory/frag_file
				    /tag_file

  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
  fileset.

				    Caution

       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.

RESTRICTIONS

  You must be the root user to use this	command.

EXIT STATUS

  This command returns a 0 (zero) on success.  Otherwise, it returns a 1 and
  displays an error diagnostic.

FILES

  /sbin/advfs/savemeta
      The command path.

SEE ALSO

  Commands: nvbmtpg(8),	nvfragpg(8), nvlogpg(8), nvtagpg(8), vsbmpg(8)