You are on page 1of 2

comment out these lines in /etc/multipath.

conf

# Blacklist all devices by default. Remove this to enable multipathing


# on the default devices.
#blacklist {
# devnode "*"
#}

execute commands
modprobe dm-multipath
modprobe dm-round-robin
service multipathd start
service mdmpd start
multipath -v

chkconfig mdmpd on
chkconfig multipathd on
you do the fdisk on the /dev/sdc for you partition
use /dev/mapper/mpathN <<<<<<<<<<<<<<<<<<<<<<<<<<<< Do not use DM-x <<<<<
<<<
see http://kbase.redhat.com/faq/docs/DOC-5551
you do a pvcreate in /dev/dm-2 and this is what you add to the volume group
--- Logical volume ---
LV Name /dev/vgbk/disk1
VG Name vgbk
LV UUID JZ7zBP-Wf8n-WmzJ-9bQU-VqZM-IGoG-fRe9xt
LV Write Access read/write
LV Status available
# open 1
LV Size 32.00 GB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:5
--- Physical volumes ---
PV Name /dev/dm-0
PV UUID srqp4v-Ckxp-nPV2-iSf0-l8vV-Dc5U-GADqaJ
PV Status allocatable
Total PE / Free PE 2303 / 255
[root@hostname0 log]#

This shows what disk make up dm-x which is what you use in the volume group.

multipath -l
mpath2 (360060e80047e400000007e400000245f) dm-2 HP,OPEN-V
[size=36G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 0:0:0:2 sdc 8:32 [active][undef]
\_ 3:0:0:2 sdh 8:112 [active][undef]
mpath1 (360060e80047e400000007e400000245d) dm-1 HP,OPEN-V
[size=36G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 0:0:0:1 sdb 8:16 [active][undef]
\_ 3:0:0:1 sdg 8:96 [active][undef]

pvcreate /dev/sda1
vgcreate -l 255 -p 64 -s 16 vgbk /dev/dm-0
lvcreate -n disk1 -L 32G vgbk
mkfs.ext3 /dev/vgbk/disk1

pvs command