Multipath Error Getting Device
Contents |
[dm-devel] how to troubleshoot faulty multipath path? Date: Sat, 17 Dec 2011 11:34:50 +0100 Hello Mr Moger, Quoting "Moger, Babu"
Device-mapper: Ioctl: Error Adding Target To Table Ubuntu
the messages, dmesg and kern.log files. I have attached them. (Adding the full files isn't possible they have other application level output too.) I forgot to mention, I'm using 0.4.8+git0.761c66f-9 of multipath-tools. (Debian stable) Thanks in advance! -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- device-mapper: table: 252:0: multipath: error getting device -- Rudy Gevaert e-mail: Rudy Gevaert UGent be Directie ICT, Afdeling Infrastructuur Groep Systemen tel: +32 9 264 4750 Universiteit Gent fax: +32 9 264 4994 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- [1850209.907285] device-mapper: ioctl: unable to remove open device mailstore21 [1850569.600287] device-mapper: ioctl: unable to remove open device mailstore21 [1850892.506649] device-mapper: ioctl: unable to remove open device mailstore21 [1851106.061424] device-mapper: ioctl: device doesn't appear to be in the dev hash table. [4895914.569949] device-mapper: table: 253:31: multipath: error getting device [4895914.569989] device-mapper: ioctl: error adding target to table [4895914.590736] device-mapper: table: 253:31: multipath: error getting device [4895914.590776] device-mapper: ioctl: error adding target to table [4896672.904187] device-mapper: table: 253:31: multipath: error getting device [4896672.904226] device-mapper: ioctl: error adding target to table [4896672.915275] device-mapper: table: 253:31: multipath: error getting device [4896672.915311] device-mapper: ioctl: error adding target to table [4896999.249946] device-mapper: table: 253:31: multipath: error getting device [4896999.249985] device-mapper: ioctl: error adding target to table [4896999.289079] device-mapper: table
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud device-mapper: ioctl: error adding target to table suse Computing Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud
Multipath Error Getting Device Centos
Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift
Multipath Error Getting Device Ubuntu
Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat https://www.redhat.com/archives/dm-devel/2011-December/msg00041.html JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training https://access.redhat.com/solutions/38538 & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notificat
Importance Assigned to Milestone multipath-tools (Ubuntu) Edit Invalid Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: multipath-tools https://bugs.launchpad.net/bugs/985741 (Ubuntu) Filed here by: vincent When: 2012-04-19 Completed: 2012-04-28 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu https://bugs.centos.org/view.php?id=3290 Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Invalid Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug error getting report Also affects project (?) Also affects distribution/package Nominate for series Bug Description root@SGELLIN119:~# lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 affect package: multipath-tools, lvm2 If creating logical volume with Multipath on disk primary partition 1, multipath can’t find the disks. Syslog show such error when booting system kernel: [ 27.604034] device-mapper: table: 252:5: multipath: error getting device kernel: error getting device [ 27.604115] device-mapper: ioctl: error adding target to table I use fdisk to create two partitions on one physical lun. Mpath6: /dev/mapper/mpath6-part1 /dev/mapper/mpath6-part2 Mpath7: /dev/mapper/mpath7-part1 /dev/mapper/mpath7-part2 create a logical volume on mpath6-part2, mpath7-part2 Reboot host, there is no exception and error logs. Multipath could Find all devices. root@SGELLIN119:~# multipath -ll | grep SYMM mpath9 (360000970000192602316533030453335) dm-10 EMC,SYMMETRIX mpath8 (360000970000192602316533030453334) dm-6 EMC,SYMMETRIX mpath7 (360000970000192602316533030453333) dm-7 EMC,SYMMETRIX mpath6 (360000970000192602316533030453332) dm-4 EMC,SYMMETRIX mpath5 (360000970000192602316533030453331) dm-3 EMC,SYMMETRIX root@SGELLIN119:~# lvs -v Finding all logical volumes LV VG #Seg Attr LSize Maj Min KMaj KMin Origin Snap% Move Copy% Log Convert LV UUID mlv my_vg 1 -wi-a- 1020.00m -1 -1 252 22 c3cECW-CJry-OdXI-O9bZ-lXq8-BUYq-obzcvB sym_lv2 sym_vg2 2 -wi-a- 200.00m -1 -1 252 20 1t9SZa-QEEm-2u6p-lCqN-aqcd-xOpn-dC1YAu sym_lv3 sym_vg3 2 -wi-a- 200.00m -1 -1 252 21 w4H00r-l71s-UURm-C32C-wDuS-fEF2-wlJFI0 Then I use same way to create a lv on mpath6-part1 and mpath7-part1 After rebooting host, there are some error logs happen. Multipath can’t find mpath6 and mapth7. Of course the logical volums on Mpath6 and mpath7 were lost also. root@SGELLIN119:~# multipath -ll| grep SYMM mpath9 (36000097
Issues Roadmap View Issue Details[Jump to Notes] [Issue History] [Print] IDProjectCategoryView StatusDate SubmittedLast Update0003290CentOS-5device-mapper-multipathpublic2008-12-08 16:112008-12-11 12:15ReporterfinistPrioritynormalSeveritymajorReproducibilityalwaysStatusfeedbackResolutionopenProduct Version5.2Target VersionFixed in VersionSummary0003290: multipath does not work (device-mapper: table: 253:0: multipath: error getting device)Descriptioni've faced a strange issue with multipathing: the goal is to install CentOS5.2 and use multipath root device. 1) CentOS 4.x work fine 2) CentOS 5.2 installs fine (with installation command "linux mpath"), but the resulting systems seems not using multipath: [root@localhost ~]# l /dev/mapper/ total 0 1217 drwxr-xr-x 2 root 60 Dec 8 17:41 ./ 1214 drwxr-xr-x 10 root 14320 Dec 8 17:44 ../ 4795 crw------- 1 root 10, 63 Dec 8 17:41 control [root@localhost ~]# multipath -v2 [root@localhost ~]# multipath -v2 -d create: mpath0 (3600508b400011c130003000000fc0000) COMPAQ,HSV111 (C)COMPAQ [size=100G][features=0][hwhandler=1 hp-sw] \_ round-robin 0 [prio=4][undef] \_ 0:0:0:1 sda 8:0 [undef][ready] \_ 0:0:1:1 sdb 8:16 [undef][ready] \_ 1:0:0:1 sdc 8:32 [undef][ready] \_ 1:0:1:1 sdd 8:48 [undef][ready] [root@localhost ~]# cat /etc/multipath.conf defaults { user_friendly_names yes } blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" devnode "^(hd|xvd)[a-z]*" wwid "*" } # Make sure our multipath devices are enabled. blacklist_exceptions { wwid "3600508b400011c130003000000fc0000" } multipaths { multipath { wwid "3600508b400011c130003000000fc0000" alias mpath0 } } devices { device { vendor "HP|COMPAQ*" product "HSV1*" hardware_handler "1 hp-sw" path_grouping_policy group_by_prio } } The error happens on "reload" ioctl: [root@localhost ~]# multipath -v9 ... mpath0: pgfailover = -1 (internal default) mpath0: pgpolicy = failover (internal default) mpath0: selector = round-robin 0 (internal default) mpath0: features = 0 (internal default) mpath0: hwhandler = 1 hp-sw (controller setting) mpath0: rr_weight = 1 (internal default) mpath0: minio = 1000 (config file default) mpath0: no_path_retry = NONE (internal default) pg_timeout = NONE (internal default) mpath0: set ACT_CREATE (map does not exist) libdevmapper: ioctl/libdm-iface.c(1623): device-mapper: reload ioctl failed: Invalid argument mpath0: domap (0) failure for create/reload map mpath0: remove multipath map ... dmesg after that shows several pairs of following messages: device-mapper: table: 253:0: multipath: error getting device device-mapper: ioctl: error adding target to tableAdditional Information"multipath -v9" output a