Ignite-UX Reference (March 2010, B3921-90005)

save_config(1M) save_config(1M)
NAME
save_config − create hardware configuration file
SYNOPSIS
/opt/ignite/bin/save_config [ -f file ][vg ...][disk ...][-? ]
DESCRIPTION
save_config extracts disk and file system structure information and certain system and networking
parameters for the currently running system and writes them into a configuration file. When used in con-
junction with an archive, it provides a quick means for restoring a system with Ignite-UX (see ignite(5)).
Errors are always logged to stderr.
Starting with the March 2008 release of HP-UX 11i v3, LVM supports Volume Group Version 2.0. Refer to
lvm(7) for more details on different Volume Group Versions supported by LVM. Please read the WARN-
INGS section for the limitations and restrictions of this command with regard to supportability of LVM
Volume Groups having Volume Group Versions 2.0 or higher.
Options
save_config recognizes the following options:
−f file Specifies an alternate path for the configuration file. The default path is
/var/opt/ignite/local/config.recovery. If the file already
exists and save_config is successful, the existing version is first copied to
file.prev before the new one is moved into place. If file is , output is sent to
stdout. This allows save_config to be used as the beginning of a
pipeline.
vg Specifies the named volume group that should be included in the configuration
file. None of the disks that comprise this volume group should be specified as
well. Volume groups are represented by the basename of their volume group
name. Multiple volume groups are allowed.
disk Specifies that the named whole disk should be included in the configuration file.
The disk must not be part of a volume group. Disks are represented by their
block device file name (/dev/dsk/... or /dev/disk/...). Multiple whole disks are
allowed.
-? Displays the help screen.
If no volume group nor whole disk arguments are given, all volume groups and all whole disks that are
either mounted or used for swap will be included.
International Code Set Support
Ignite-UX uses a variety of system commands to accomplish its functionality. Because the output of many
of these commands is parsed, Ignite-UX ensures that the POSIX locale is normally used by modifying envi-
ronment variables. Help text and some command output not parsed by Ignite-UX will be left in the user’s
specified locale.
WARNINGS
Ignite-UX does not support the creation of the hardware configuration file using the save_config com-
mand for Volume Groups having Volume Group Version 2.0 or 2.1. If any LVM Volume Groups having
unsupported Volume Group Versions is provided as arguments to save_config command, the command fails
and reports the unsupported volume groups. In such situations, either omit the unsupported volume groups
as input to save_config command or migrate all those unsupported volume group version to 2.2 or
higher (using LVM’s Volume Group Version migration tool, vgversion) and rerun the command.
EXAMPLES
To create a configuration file in /var/tmp/myconfig with all volume groups and all whole disks included:
save_config -f /var/tmp/myconfig
To create a configuration file using the default location containing just the volume group /dev/vg00:
1