HP Hitachi Dynamic Link Manager Software User Manual
Page 324
3. Creating an HDLM Environment
300
# 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 (5) Deleting a Path to an Existing LU in
4.6.4 Changing the HDLM Device Configuration.
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