Settings for lvm2, Notes on using lvm2, Settings for lvm2 -166 – HP XP P9500 Storage User Manual
Page 234: Notes on using lvm2 -166, Settings for
![background image](/manuals/398588/234/background.png)
Settings for LVM2
This section describes the procedure for setting the following items in an
LVM2 environment:
•
When using an HDLM device to create a new logical volume
•
When moving a logical volume created on a SCSI device in a single-path
environment, to an HDLM device
When using HDLM in an LVM2 environment, use the HDLM device as an LVM2
physical volume.
Notes on Using LVM2
The following are notes on using LVM2:
•
If a logical volume on an HDLM device (LVM2) is used as the boot disk, a
SCSI device cannot be used as an LVM2 physical volume.
•
To use a SCSI device and an HDLM device concurrently as LVM2 physical
volumes, edit the /etc/lvm/lvm.conf file so that SCSI devices, which are
managed by HDLM, are not recognized by LVM2.
The following shows an editing example when both a SCSI device (/dev/
sda) and an HDLM device are used as LVM2 physical volumes.
filter = [ "a|sddlm[a-p][a-p].*|", "a|/dev/sda[1-9].*|", "r|/dev/
sd|" ]
In the above filter line, the underlined portion enables LVM2 to
recognize SCSI devices.
In this example, the following filter line is used in the /etc/lvm/
lvm.conf file so that LVM2 does not recognize SCSI devices:
filter = [ "a|sddlm[a-p][a-p].*|", "r|/dev/sd|" ]
•
When SUSE LINUX Enterprise Server 9 is used, LVM2 cannot be used
together with Heartbeat.
When Using an HDLM Device to Create a New Logical Volume
This subsection explains the procedure for using an HDLM device to create a
new logical volume. Use the following procedure to configure the environment
Figure 3-28 Device configuration When Creating a Logical Volume
on an HDLM Device on page 3-167
.
3-166
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))