Bug 502128
Summary: | /etc/init.d/multipathd reports error for non-dm managed root disk | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Lachlan McIlroy <lmcilroy> | ||||
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.3 | CC: | agk, bdonahue, bmarzins, bmr, christophe.varoqui, dwysocha, edamato, egoggin, heinzm, james.brown, junichi.nomura, kueda, lmb, mbroz, mnovacek, prockai, tao, tpapaioa, tranlan, vgaikwad, yqu | ||||
Target Milestone: | rc | ||||||
Target Release: | 5.4 | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 554561 (view as bug list) | Environment: | |||||
Last Closed: | 2010-03-30 08:31:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 554561 | ||||||
Attachments: |
|
To reproduce this issue: 1. Start an installation of RHEL5 2. In the disk partitioning stage select "Create custom layout" 3. Create partitions for /boot, swap and / and turn on the "force to be a primary partition" flag for each one. 4. Finish the installation and boot the system 5. Execute '/etc/init.d/multipathd restart' and the error message will be reported. Patch applied. I changed dmsetup info -c --noheadings -o minor $root_dev >& /dev/null to dmsetup info -c --noheadings -o minor $root_dev 2> /dev/null "2>" redirects stderr to /dev/null, which I believe is the intention. *** Bug 527727 has been marked as a duplicate of this bug. *** # mount /dev/vda3 on / type ext3 (rw) ... --device-mapper-multipath-0.4.7-17.el5 # service multipathd restart Device /dev/vda3 not found Command failed Stopping multipathd daemon: [FAILED] Starting multipathd daemon: [ OK ] --device-mapper-multipath-0.4.7-31.el5 # service multipathd restart Stopping multipathd daemon: [ OK ] Starting multipathd daemon: [ OK ] *** Bug 557699 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0255.html |
Created attachment 345046 [details] patch to suppress dmsetup error When the root device isn't a logical device managed by the device-mapper driver dmsetup in stop() of the multipath init script dm_num=`dmsetup info -c --noheadings -o minor $root_dev` returns "dm_task_set_name: Device /dev/cciss/c0d0p1 not found" [root@dl585g2 ~]# /etc/init.d/multipathd restart dm_task_set_name: Device /dev/cciss/c0d0p1 not found Command failed Stopping multipathd daemon: [ OK ] Starting multipathd daemon: [ OK ]