814d7d2747
0002-RH-path-checker.patch Modify 0010-RH-multipath-rules-udev-changes.patch Fix udev rules to use DM_SBIN_PATH when calling kpartx install udev rules to /lib/udev/rules.d instead of /etc/udev/rules.d Modify 0014-RH-add-hp_tur-checker.patch Add 0003-for-upstream-default-configs.patch Add 0016-RHBZ-554561-fix-init-error-msg.patch Add 0017-RHBZ-554592-man-page-note.patch Add 0018-RHBZ-554596-SUN-6540-config.patch Add 0019-RHBZ-554598-fix-multipath-locking.patch Add 0020-RHBZ-554605-fix-manual-failover.patch Add 0021-RHBZ-548874-add-find-multipaths.patch Added find_multipaths multipath.conf option Added /sbin/mpathconf for simple editting of multipath.conf Add 0022-RHBZ-557845-RHEL5-style-partitions.patch Make kpartx deal with logical partitions like it did in RHEL5. Don't create a dm-device for the extended partition itself. Create the logical partitions on top of the dm-device for the whole disk.
24 lines
909 B
Diff
24 lines
909 B
Diff
---
|
|
multipathd/multipathd.init.redhat | 8 +++++---
|
|
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
|
|
Index: multipath-tools/multipathd/multipathd.init.redhat
|
|
===================================================================
|
|
--- multipath-tools.orig/multipathd/multipathd.init.redhat
|
|
+++ multipath-tools/multipathd/multipathd.init.redhat
|
|
@@ -75,9 +75,11 @@ start() {
|
|
|
|
stop() {
|
|
root_dev=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $1; }}' /etc/mtab)
|
|
- dm_num=`dmsetup info -c --noheadings -o minor $root_dev`
|
|
- root_dm_device="dm-$dm_num"
|
|
- [ -d $syspath/$root_dm_device ] && teardown_slaves $syspath/$root_dm_device
|
|
+ dm_num=`dmsetup info -c --noheadings -o minor $root_dev 2> /dev/null`
|
|
+ if [ $? -eq 0 ]; then
|
|
+ root_dm_device="dm-$dm_num"
|
|
+ [ -d $syspath/$root_dm_device ] && teardown_slaves $syspath/$root_dm_device
|
|
+ fi
|
|
|
|
echo -n $"Stopping $prog daemon: "
|
|
killproc $DAEMON
|