Content-type: text/html
volsave - Save a Logical Storage Manager (LSM) configuration
/usr/sbin/volsave [-d dir]
Directs the backup information to the directory specified
by
dir. This directory must not already exist.
You can save the LSM configuration records for a disk group by saving the output of the volprint(8) utility in a description file that the volmake(8) utility can use. The volsave command provides an easy way to save this configuration information for all disk groups. In addition, volsave saves a list of the disks that are under LSM control and their attributes. The LSM configuration can be restored using the volrestore command.
The volsave command creates an LSM description set that consists of a header file and other files containing information about the LSM configuration (allvol.DF, voldisk.list, and volboot). Refer to the FILES section for details on the contents of these files.
By default, the description set is saved to a timestamped directory in /usr/var/lsm/db (for example, /usr/var/lsm/db/lsm.19950727131520.skylark).
The
-d
option can be used with
volsave
to specify a particular directory for the saved configuration. In this case,
the
-d
option must also be used with
volrestore
when restoring the configuration.
You may receive the following error message when using the -d dir option with the volsave command: Directory dir already exists
Default directory containing timestamped subdirectories with
LSM description sets.
A
volmake
description file for all volumes,
plexes, and subdisks in a disk group. The
volsave
command
creates a separate subdirectory and description file for each disk group on
the system.
A description of the disks. This file is the output of the
voldisk list
command.
The contents of the
/etc/vol/volboot
file.
A header file for the description set, containing a checksum,
a magic number, the date of the file's creation, and the version of the
volsave
command.
Commands: volmake(4), volrestore(8), volprint(8), volmake(8)
Guides: Logical Storage Manager