Air Cleaner User Manual

remakevg
Purpose
Recreates one or more specified volume groups, logical volumes, or filesystems
from LVM information contained on the backup media.
Syntax
 remakevg
-c termdev
-E
-n
-h hostname
-i sequence
-L LVname
-q
-V VGname
-f device -v VGname -l LVname 
Description
Use the remakevg command to recreate one or more volume groups, logical
volumes, or filesystems using information contained on any backup type except for
the file/directory backup. A volume group, logical volume, or filesystem can only
be recreated from a backup containing the specified data, unless the backup is a
system backup, which contains the information needed to recreate any volume
group, logical volume, or filesystem regardless of the data included on the backup.
After the LVM information is read from the backup, a verification ensures that the
correct physical volumes and space are available to create the volume group and
logical volumes. If not, you will be required to change the LVM information to
satisfy the space requirements.
If the verification fails, or if the -E flag is specified, a user-interface enables you to
view or change the LVM information before the volume groups, logical volumes,
or filesystems are created. Refer to Chapter 11, Changing the Volume Group,
Logical Volume and Filesystem Attributes, on page 11-1 for details on changing
the LVM information.
If the -E option is not specified, and there are no problems detected when verifying
the consistency between the LVM information and the current system
configuration, the volume groups, logical volumes, and filesystems are recreated
without additional user-interaction. However, unless the -q option is provided, you
will be asked to confirm before any recreation takes place.
Note that this command recreates only the specified volume groups, logical
volumes, and filesystems (if applicable). It does not restore the data from the
backup media. After creating the desired volume group, logical volume, or
filesystem, you can restore the data with the sysrestore command.
Flags
-c termdev
If the backup contains multiple tape volumes, the volume prompt is sent to the
Appendix A. Commands A-55