Manual Page Result
0
Command: vol-lvm-reconfig | Section: 8 | Source: Digital UNIX | File: vol-lvm-reconfig.8.gz
vollvmencap(8) System Manager's Manual vollvmencap(8)
NAME
vollvmencap, vol-lvm-reconfig - Encapsulate LVM volume groups
SYNOPSIS
/usr/sbin/vollvmencap [ -g diskgroup ] [ -p volprefix ] { lvmvgname }
/usr/sbin/vollvmencap -k [ lvmvgname | -a ]
/sbin/vol-lvm-reconfig
DESCRIPTION
Digital is retiring the Logical Volume Manager (LVM) in the Version 4.0
release of Digital UNIX. For information about the replacement disk
storage management product, called the Logical Storage Manager (LSM),
please refer to the Logical Storage Manager guide.
The encapsulation process adds LVM physical volumes and LVM logical
volumes in a LVM volume group specified by lvmvgname to a LSM disk
group. Each LVM volume is mapped to a LSM volume in the target disk
group. vollvmencap generates the necessary LSM commands to convert all
LVM volumes to LSM volumes. In the case of LVM volumes that contain
file systems, the entries in /etc/fstab are modified to use the new LSM
volume special device files.
You execute the command scripts created by vollvmencap by running the
vol-lvm-reconfig script. This script needs to be run manually after all
LVM volume groups have been encapsulated using vollvmencap. Before ex-
ecuting /sbin/vol-lvm-reconfig, the LVM volume group must be disabled
(that is, file systems unmounted). Refer to the vgchange(8) reference
page for information on disabling a volume group.
The vollvmencap utility creates an "undo" script for each LVM volume
group, and stores the script in /etc/reconfig.d/lvm.d/lvmvg-
name/lvm_undo.sh. After successfully encapsulating LVM volumes to LSM
volumes, execute the undo script to remove the LVM volume group.
Refer to the Logical Storage Manager guide for more information about
the encapsulation process.
FLAGS
Place the encapsulated LVM volume group into the disk group specified
by disk group name. The disk group specified should be an existing disk
group. This option tells the command to use the volprefix specified as
the prefix for LSM volume names. This is useful if the LSM volume names
chosen by vollvmencap already exists. Also, LSM volume names are lim-
ited to 14 characters and this option can be used to create smaller LSM
volume names. This option tells the command to remove any previous en-
capsulation command for the given LVM volume group name. If the -a op-
tion was given, encapsulation commands for all LVM Volume Groups that
have been generated up until now are removed.
EXAMPLES
The following example shows the main steps in the encapsulation process
for a volume group named vg1. To encapsulate all volumes in the volume
group vg1, enter: # /usr/sbin/vollvmencap /dev/vg1 To execute the
scripts created by vollvmencap, enter: # /sbin/vol-lvm-reconfig Verify
the LSM configuration that is created. Then execute the LVM undo
script: # /etc/vol/reconfig.d/lvm.d/vg1/lvm_undo.sh
FILES
A script generated by vollvmencap that is used for removing an LVM vol-
ume group after its volumes have been encapsulated.
RELATED INFORMATION
Commands: vgchange(8), volintro(8)
Guides: Logical Storage Manager delim off
vollvmencap(8)