Using Lvm2 On Multipath Devices; Using Mdadm With Multipath Devices; Using --Noflush With Multipath Devices; Partitioning Multipath Devices - Novell LINUX ENTERPRISE SERVER 10 SP3 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

5.2.3 Using LVM2 on Multipath Devices

By default, LVM2 does not recognize multipathed devices. To make LVM2 recognize the
multipathed devices as possible physical volumes, you must modify
important to modify it in a way that it does not scan and use the physical paths, but only accesses the
multipath I/O storage through the multipath I/O layer.
To modify
1 Open the
2 Change the
filter = [ "a|/dev/disk/by-id/.*|", "r|.*|" ]
This allows LVM2 to scan only the by-id paths and reject everything else.
3 If you are also using LVM2 on non-multipathed devices, make the necessary adjustments to
suit your setup.
4 Save the file.
5 Add dm-multipath to
6 Make a new
changed settings. Enter
mkinitrd -f mpath
7 Reboot the server to apply the changes.

5.2.4 Using mdadm with Multipath Devices

The
mdadm
Therefore, the
DEVICE /dev/disk/by-id/*
This is the default handling in SUSE Linux Enterprise Server 10 and later.

5.2.5 Using --noflush with Multipath Devices

The option --noflush should always be used when running on multipath devices.
For example, in scripts where you perform a table reload, you use the --noflush option on resume to
ensure that any outstanding I/O is not flushed, because you need the multipath topology information.
load
resume --noflush

5.2.6 Partitioning Multipath Devices

SUSE Linux Enterprise Server 10
In SUSE Linux Enterprise Server 10, the
boot.multipath
for any newly created partitions without requiring a reboot. This triggers
disk/by-*
having to reboot the server.
46
SLES 10 SP3: Storage Administration Guide
for multipath use:
/etc/lvm/lvm.conf
/etc/lvm/lvm.conf
and
filter
types
/etc/sysconfig/kernel:INITRD_MODULES
to ensure that the Device Mapper Multipath services are loaded with the
initrd
tool requires that the devices be accessed by the ID rather than by the device node path.
entry in
DEVICE
/etc/mdadm.conf
to add symlinks to the
symlinks. The main benefit is that you can call
file in a text editor.
entry in
/etc/lvm/lvm.conf
should be set as follows:
software is used in the
kpartx
line in the
/dev/dm-*
kpartx
/etc/lvm/lvm.conf
as follows:
.
/etc/init.d/
configuration file
multipath.conf
to fill in the
udevd
with the new parameters without
. It is
/dev/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3 storage

Table of Contents