Bug 527727 - "service multipathd stop" gives error message when root filesystem is on a physical partition
Summary: "service multipathd stop" gives error message when root filesystem is on a ph...
Keywords:
Status: CLOSED DUPLICATE of bug 502128
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: device-mapper-multipath
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-07 14:17 UTC by Tasos Papaioannou
Modified: 2010-01-12 02:49 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-08 20:50:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tasos Papaioannou 2009-10-07 14:17:07 UTC
Description of problem: "service multipathd stop" gives error message when root filesystem is on a physical partition


Version-Release number of selected component (if applicable): device-mapper-multipath-0.4.7-30.el5


How reproducible: Always


Steps to Reproduce:
1. Run multipathd on a system whose root filesystem is on a local physical partition (e.g., /dev/sda2).
2. Run "service multipathd stop".

  
Actual results: 

# service multipathd stop
Device /dev/sda2 not found
Command failed
Stopping multipathd daemon:                                [  OK  ] 


Expected results: 

# service multipathd stop
Stopping multipathd daemon:                                [  OK  ] 

Additional info: The error message appears to be benign. Because the root filesystem is not on a multipathed or LVM device, there is nothing that "service multipathd stop" needs to do.

The error can be suppressed by changing the following line in the stop function of /etc/init.d/multipathd:

        dm_num=`dmsetup info -c --noheadings -o minor $root_dev`

to:

        dm_num=`dmsetup info -c --noheadings -o minor $root_dev 2>/dev/null`

Comment 2 Ben Marzinski 2009-10-08 20:50:54 UTC

*** This bug has been marked as a duplicate of bug 502128 ***


Note You need to log in before you can comment on or make changes to this bug.