HP XP P9500 Storage User Manual
Page 275
# vgchange -an vg01
0 logical volume(s) in volume group "vg01" now active
4
.
Export the volume group.
In the following example, the command exports information about the
vg01 volume group:
# vgexport vg01
Volume group "vg01" successfully exported
5
.
If the LVM environment uses an HDLM device in a multi-path
configuration, configure the path to an existing LU as a single path.
Change the path to an existing LU as a single-path configuration by
performing the procedure described in
Deleting a Path to an Existing LU
Changing the HDLM Device Configuration on page
.
Note
When you restart the host, if the /etc/fstab file contains a
description about mounting the target logical volume, comment out
the description. Also, stop the applications that access the target
logical volume.
6
.
Edit the /etc/lvm/lvm.conf file.
Edit the device section in the file as shown below to enable the SCSI
device configuration and disable the HDLM device configuration:
¢
Adding and deleting the filter entry information
Add the following line:
filter = [ "r|sddlm[a-p][a-p].*|", "a|/dev/sd|" ]
Delete or comment out the following line:
filter = [ "a|sddlm[a-p][a-p].*|", "r|/dev/sd|" ]
¢
Adding and deleting types entry information
Delete or comment out the following line:
types = [ "sddlmfdrv", 16 ]
To uninstall HDLM, perform the following operations:
Delete filter = [ "a|sddlm[a-p][a-p].*|", "r|/dev/sd|" ] and
types = [ "sddlmfdrv", 16 ].
Delete the comment out character (#) from the filter entry to return
the definition file to the state it was in before the HDLM device
configuration was enabled.
Figure 3-38 Example of Editing the /etc/lvm/lvm.conf File on page 3-208
shows an example of editing the file by adding and commenting out lines.
In this example, SUSE LINUX Enterprise Server 9 is used as the OS. The
shaded parts show the locations that were edited.
Creating an HDLM Environment
3-207
Hitachi Dynamic Link Manager User Guide (for Linux(R))