Skip to contentSkip to conversation

multipathd dies at startup

DISCUSSION Geoff Galitz 2 participants 3 messages Jun 24, 2008 – Jun 25, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

I am trying to get dm-multipath configured to support my iSCSI setup, but I have a problem with multipathd dieing silently at startup.

kernel 2.6.18-53.1.21.el5
package: device-mapper-multipath-0.4.7-12.el5_1.4
distro: Centos 5.1

Multpath config:

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

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

blacklist_exceptions {
device {
vendor "IET"
product "VIRTUAL-DISK"
}
}

multipaths {
multipath {
wwid 14945540000000000000000000100000037800f000000d00f alias yellow
path_grouping_policy multibus
path_checker readsector0
path_selector "round-robin 0"
failback immediate
rr_weight priorities
no_path_retry 5
}
}

device {
vendor "IET"
product "VIRTUAL-DISK"
path_grouping_policy failover
features "1 queue_if_no_path"
failback immediate
}
}

Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org

#1 lore raw
Quoted 55 lines · Geoff Galitz

I am trying to get dm-multipath configured to support my iSCSI setup, but I have a problem with multipathd dieing silently at startup.

kernel 2.6.18-53.1.21.el5
package: device-mapper-multipath-0.4.7-12.el5_1.4
distro: Centos 5.1

Multpath config:

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

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

blacklist_exceptions {
device {
vendor "IET" product "VIRTUAL-DISK"
}
}

multipaths {
multipath {
wwid 14945540000000000000000000100000037800f000000d00f alias yellow
path_grouping_policy multibus
path_checker readsector0
path_selector "round-robin 0"
failback immediate
rr_weight priorities
no_path_retry 5
}
}

device {
vendor "IET"
product "VIRTUAL-DISK"
path_grouping_policy failover
features "1 queue_if_no_path"
failback immediate
}
}

Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Hi,
Having recently hit the same issue, it was a SELinux problem in my case.
Try: setenforce 0 ; service multipathd restart

See if it works for you. I also remember seeing a fix from RHEL/CentOS regarding this.

Thanks,
Finnur

#2 lore raw

Thanks for the reply. Just for the record it is now fixed. Here is what happened:

Tested on Centos 5.1 i368: multipathd died reliably Tested on Centos 5.1 x86_64: works like a charm

And then it turns out that Centos 5.2 came down the line just last night for me, so I updated and now multipathd works for me in both i386 and x86_64.

Again, thanks for the help.

-geoff

Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Finnur Örn Guðmundsson
Sent: Mittwoch, 25. Juni 2008 01:50
To: device-mapper development
Subject: Re: [dm-devel] multipathd dies at startup

Quoted 2 lines · Geoff Galitz

I am trying to get dm-multipath configured to support my iSCSI setup, but

I

Quoted 54 lines

have a problem with multipathd dieing silently at startup.

kernel 2.6.18-53.1.21.el5
package: device-mapper-multipath-0.4.7-12.el5_1.4
distro: Centos 5.1

Multpath config:

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

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

blacklist_exceptions {
device {
vendor "IET"
product "VIRTUAL-DISK"
}
}

multipaths {
multipath {
wwid 14945540000000000000000000100000037800f000000d00f alias yellow
path_grouping_policy multibus
path_checker readsector0
path_selector "round-robin 0"
failback immediate
rr_weight priorities
no_path_retry 5
}
}

device {
vendor "IET"
product "VIRTUAL-DISK"
path_grouping_policy failover
features "1 queue_if_no_path"
failback immediate
}
}

Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Hi,
Having recently hit the same issue, it was a SELinux problem in my case.
Try: setenforce 0 ; service multipathd restart

See if it works for you. I also remember seeing a fix from RHEL/CentOS regarding this.

Thanks,
Finnur

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel