lvrmboot(1M)
NAME
lvrmboot − remove LVM logical volume link to root, primary swap, or dump volume
SYNOPSIS
/sbin/lvrmboot [-A autobackup] [-d dump_lv] [-r] [-s] [-v] vg_name
Remarks
lvrmboot cannot be performed if the volume group is activated in shared mode.
DESCRIPTION
The lvrmboot command updates all physical volumes contained in the volume group vg_name such that the logical volume is removed as a root, primary swap, or dump volume when the system is next booted on the volume group.
Options and Arguments
lvrmboot recognizes the following options and arguments:
vg_name The path name of the volume group.
-A autobackup Set automatic backup for this invocation of this command. autobackup can have one of the following values:
y Automatically back up configuration changes made to the logical volume. This is the default.
After this command executes, the vgcfgbackup command (see vgcfgbackup(1M)) is executed for the volume group to which the logical volume belongs.
n Do not back up configuration changes this time.
-d dump_lv Remove the definition of dump_lv as one of the dump volumes. Update the Boot Data Reserved Area.
-r Remove the definitions of all of the root, primary swap, and all dump volumes from the given volume group. Update the Boot Data Reserved Area.
-s Remove the definition of the primary swap volume from the given volume group. Update the Boot Data Reserved Area.
-v Print verbose messages.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Specify that the logical volume /dev/vg00/lvol3 should be removed as one of the dump logical volumes:
lvrmboot -v -d lvol3 /dev/vg00
Specify that volume group /dev/vg00 should no longer be a root volume group. Primary swap and dump are also removed.
lvrmboot -r /dev/vg00
SEE ALSO
Hewlett-Packard Company — HP-UX Release 10.20: July 1996