<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: device-mapper: table: 253:4: multipath: error getting device in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154815#M50341</link>
    <description>After you complete the above what does /etc/fstab and /boot/menu.lst show?&lt;BR /&gt;&lt;BR /&gt;have you made a new initrd image? according to the bugzilla I posted that is something you must do.</description>
    <pubDate>Fri, 06 Feb 2009 08:09:18 GMT</pubDate>
    <dc:creator>Jimmy Vance</dc:creator>
    <dc:date>2009-02-06T08:09:18Z</dc:date>
    <item>
      <title>device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154809#M50335</link>
      <description>We are converting from EMC PowerPath to RHEL MPIO, and having a problem with the root mpath device getting created.  PowerPath has been removed from the server, and MPIO installed. The rootvg and uservg are under LVM control.&lt;BR /&gt;&lt;BR /&gt;(lablinux1)# vgs&lt;BR /&gt;  Found duplicate PV dWeaYIOdsoowdRkNFOUkNTGtx2fIZf6J: using /dev/sdc2 not /dev/sda2&lt;BR /&gt;  VG     #PV #LV #SN Attr   VSize  VFree &lt;BR /&gt;  rootvg   1   1   0 wz--n- 18.00G     0 &lt;BR /&gt;  uservg   1   2   0 wz--n- 33.69G 28.69G&lt;BR /&gt;(lablinux1)# vgs&lt;BR /&gt;  Found duplicate PV dWeaYIOdsoowdRkNFOUkNTGtx2fIZf6J: using /dev/sdc2 not /dev/sda2&lt;BR /&gt;  VG     #PV #LV #SN Attr   VSize  VFree &lt;BR /&gt;  rootvg   1   1   0 wz--n- 18.00G     0 &lt;BR /&gt;  uservg   1   2   0 wz--n- 33.69G 28.69G&lt;BR /&gt;(lablinux1)# vgdisplay -c&lt;BR /&gt;  Found duplicate PV dWeaYIOdsoowdRkNFOUkNTGtx2fIZf6J: using /dev/sdc2 not /dev/sda2&lt;BR /&gt;  rootvg:r/w:772:-1:0:1:1:-1:0:1:1:18874368:32768:576:576:0:TfdtT7-BhS3-iorQ-AF1h-ush3-2oRO-gqvxd7&lt;BR /&gt;  uservg:r/w:772:-1:0:2:2:-1:0:1:1:35323904:32768:1078:160:918:oZEgvO-Hz9r-Q6eB-SRdX-TybD-3UTK-MLLH59&lt;BR /&gt;(lablinux1)# pvs&lt;BR /&gt;  Found duplicate PV dWeaYIOdsoowdRkNFOUkNTGtx2fIZf6J: using /dev/sdc2 not /dev/sda2&lt;BR /&gt;  PV         VG     Fmt  Attr PSize  PFree &lt;BR /&gt;  /dev/dm-1  uservg lvm2 a-   33.69G 28.69G&lt;BR /&gt;  /dev/sdc2  rootvg lvm2 a-   18.00G     0 &lt;BR /&gt;(lablinux1)# pvdisplay -c&lt;BR /&gt;  Found duplicate PV dWeaYIOdsoowdRkNFOUkNTGtx2fIZf6J: using /dev/sdc2 not /dev/sda2&lt;BR /&gt;  /dev/sdc2:rootvg:37752750:-1:8:8:-1:32768:576:0:576:dWeaYI-Odso-owdR-kNFO-UkNT-Gtx2-fIZf6J&lt;BR /&gt;  /dev/dm-1:uservg:70709760:-1:8:8:-1:32768:1078:918:160:P7Ja29-U3cY-hoO9-rkyX-Zlx4-gMqq-F3l8Z0&lt;BR /&gt;&lt;BR /&gt;It will create the mpath1 device fine, but not mpath0.&lt;BR /&gt;&lt;BR /&gt;(lablinux1)# multipath -l&lt;BR /&gt;mpath1 (36006048000018772146653594d314337) dm-1 EMC,SYMMETRIX&lt;BR /&gt;[size=34G][features=0][hwhandler=0]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt; \_ 0:0:0:2 sdb 8:16  [active][undef]&lt;BR /&gt; \_ 1:0:0:2 sdd 8:48  [active][undef]&lt;BR /&gt;&lt;BR /&gt;(lablinux1)# multipath -v9&lt;BR /&gt;(lablinux1)# tail /var/log/messages&lt;BR /&gt;Feb  4 11:10:16 lablinux1 kernel: device-mapper: ioctl: error adding target to table&lt;BR /&gt;Feb  4 11:10:16 lablinux1 multipathd: dm-4: remove map (uevent) &lt;BR /&gt;Feb  4 11:10:27 lablinux1 snmpd[2869]: Connection from UDP: [127.0.0.1]:32894 &lt;BR /&gt;Feb  4 11:10:28 lablinux1 snmpd[2869]: Connection from UDP: [127.0.0.1]:32894 &lt;BR /&gt;Feb  4 11:10:33 lablinux1 kernel: device-mapper: table: 253:4: multipath: error getting device&lt;BR /&gt;Feb  4 11:10:33 lablinux1 kernel: device-mapper: ioctl: error adding target to table&lt;BR /&gt;Feb  4 11:10:33 lablinux1 multipathd: dm-4: remove map (uevent) &lt;BR /&gt;Feb  4 11:10:33 lablinux1 kernel: device-mapper: table: 253:4: multipath: error getting device&lt;BR /&gt;Feb  4 11:10:33 lablinux1 kernel: device-mapper: ioctl: error adding target to table&lt;BR /&gt;Feb  4 11:10:33 lablinux1 multipathd: dm-4: remove map (uevent)&lt;BR /&gt;&lt;BR /&gt;I'll attach the multipath debug output.&lt;BR /&gt;&lt;BR /&gt;Thanks for anyones help.</description>
      <pubDate>Wed, 04 Feb 2009 16:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154809#M50335</guid>
      <dc:creator>Tony Cicone</dc:creator>
      <dc:date>2009-02-04T16:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154810#M50336</link>
      <description>The main thing I've gathered from researching this is you have to use non_friendly_names in grub and fstab. The devices will be named something like&lt;BR /&gt;/dev/mapper/WWID[p&lt;PARTITION-NUMBER&gt;].&lt;BR /&gt;&lt;BR /&gt;This Paper should help&lt;BR /&gt;&lt;BR /&gt;Booting Linux x86 and x86_64 systems from a Storage Area Network with Device Mapper Multipath - Enabling the High Availability feature for Operating System Partitions v1.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the URL&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&amp;amp;prodSeriesId=406734&amp;amp;targetPage=http%3A%2F%2Fbizsupport2.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc01513866%2Fc01513866.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&amp;amp;prodSeriesId=406734&amp;amp;targetPage=http%3A%2F%2Fbizsupport2.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc01513866%2Fc01513866.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also this Red Hat Bugzilla entry has a lot of information on making this work&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;amp;id=445734" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;amp;id=445734&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PARTITION-NUMBER&gt;</description>
      <pubDate>Thu, 05 Feb 2009 06:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154810#M50336</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2009-02-05T06:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154811#M50337</link>
      <description>Hi Jimmy,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info, but the first link did not work.  I can configure multipathing on the boot drive fine from kickstart.  But, my problem is that we have servers installed with PowerPath boot from SAN, and I want to convert them to MPIO.  I have removed PowerPath completely, but I can't get multipath to create the mpath0 device, while I'm booted off the drive.  I have also tried booting off the rescue disk, and creating the multipath devices, with the same result.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2009 14:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154811#M50337</guid>
      <dc:creator>Tony Cicone</dc:creator>
      <dc:date>2009-02-05T14:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154812#M50338</link>
      <description>updated 1st link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01513866/c01513866.pdf" target="_blank"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01513866/c01513866.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2009 19:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154812#M50338</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2009-02-05T19:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154813#M50339</link>
      <description>&lt;!--!*#--&gt;what version of RHEL are you working with?&lt;BR /&gt;&lt;BR /&gt;I see in your output it's listing entries like /dev/sda etc, they need to be /dev/mapper/&lt;BR /&gt;&lt;BR /&gt;Try booting into rescue mode with&lt;BR /&gt;&lt;BR /&gt;linux mpath rescue&lt;BR /&gt;&lt;BR /&gt;or once in rescue mode start the multipathd deamon.&lt;BR /&gt;&lt;BR /&gt;I just built a default install of RHEL5.3 x64 system using a BL465 and an EVA4400 and it's booting from SAN without issue. The SAN LUN is 100GB and mount displays&lt;BR /&gt;&lt;BR /&gt;/dev/mapper/VolGroup00-LogVol00 on / type ext3&lt;BR /&gt;/dev/mapper/mpath0p1 on /boot type ext3&lt;BR /&gt;&lt;BR /&gt;multipath -l shows&lt;BR /&gt;&lt;BR /&gt;mpath0 (3600508b4000985f40000a00000150000) dm-0 HP,HSV300&lt;BR /&gt;[size=100G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt; \_ 0:0:0:1 sda 8:0   [active][undef]&lt;BR /&gt; \_ 1:0:1:1 sdd 8:48  [active][undef]&lt;BR /&gt;\_ round-robin 0 [prio=0][enabled]&lt;BR /&gt; \_ 0:0:1:1 sdb 8:16  [active][undef]&lt;BR /&gt; \_ 1:0:0:1 sdc 8:32  [active][undef]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2009 20:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154813#M50339</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2009-02-05T20:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154814#M50340</link>
      <description>I have no problem from kickstart.&lt;BR /&gt;&lt;BR /&gt;It's RHEL 5.1, and here's the procedure I'm trying.&lt;BR /&gt;&lt;BR /&gt;boot off the rescue CD and skip the search part&lt;BR /&gt;&lt;BR /&gt;# mkdir /mnt/sysimage&lt;BR /&gt;# mkdir /mnt/sysimage/boot&lt;BR /&gt;# multipath -F&lt;BR /&gt;# multipath -v0&lt;BR /&gt;# multipath -l&lt;BR /&gt;&lt;BR /&gt;I can see the mpath devices now&lt;BR /&gt;&lt;BR /&gt;# kpartx -a /dev/mapper/mpath0&lt;BR /&gt;# lvm vgscan --config 'devices{ filter = [ "a/mapper/", "r/.*/" ] }'&lt;BR /&gt;# lvm vgchange -ay --config 'devices{ filter = [ "a/mapper/", "r/.*/" ] }'&lt;BR /&gt;# mount -t ext3 /dev/mapper/VolGroup00-LogVol00 /mnt/sysimage/ # mount -t ext3 /dev/mapper/mpath0p1 /mnt/sysimage/boot/ # mount -t proc none /mnt/sysimage/proc # chroot /mnt/sysimage # dmsetup mknodes mpath0 # dmsetup mknodes mpath0p1 # dmsetup mknodes mpath0p2&lt;BR /&gt;&lt;BR /&gt;# mount /dev/mapper/mpath0p1 /boot&lt;BR /&gt;# grub-install /dev/mapper/mpath0&lt;BR /&gt;&lt;BR /&gt;When I reboot, it comes up on the old sda drives and not the multipath devices?&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2009 20:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154814#M50340</guid>
      <dc:creator>Tony Cicone</dc:creator>
      <dc:date>2009-02-05T20:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154815#M50341</link>
      <description>After you complete the above what does /etc/fstab and /boot/menu.lst show?&lt;BR /&gt;&lt;BR /&gt;have you made a new initrd image? according to the bugzilla I posted that is something you must do.</description>
      <pubDate>Fri, 06 Feb 2009 08:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154815#M50341</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2009-02-06T08:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154816#M50342</link>
      <description>I was able to fix the issue with the following changes to my procedure:&lt;BR /&gt;&lt;BR /&gt;vi the /etc/sysconfig/mkinitrd/multipath file and set "MULTIPATH=yes".&lt;BR /&gt;&lt;BR /&gt;mount /dev /mnt/sysimage/dev&lt;BR /&gt;mount /sys /mnt/sysimage/sys&lt;BR /&gt;&lt;BR /&gt;run the mkinitrd to create a new kernel.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Mon, 09 Feb 2009 20:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154816#M50342</guid>
      <dc:creator>Tony Cicone</dc:creator>
      <dc:date>2009-02-09T20:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: device-mapper: table: 253:4: multipath: error getting device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154817#M50343</link>
      <description>solution above</description>
      <pubDate>Mon, 09 Feb 2009 20:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-table-253-4-multipath-error-getting-device/m-p/5154817#M50343</guid>
      <dc:creator>Tony Cicone</dc:creator>
      <dc:date>2009-02-09T20:39:59Z</dc:date>
    </item>
  </channel>
</rss>

