beautypg.com

10 settings for lvm2 – HP Hitachi Dynamic Link Manager Software User Manual

Page 270

background image

3. Creating an HDLM Environment

246

3.10 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.

3.10.1 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.

3.10.2 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

This manual is related to the following products: