<?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: /dev/emcpowerax1: open failed: No such device in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dev-emcpowerax1-open-failed-no-such-device/m-p/4795164#M44472</link>
    <description>It would have been important to know which version of Linux you're using. &lt;BR /&gt;&lt;BR /&gt;I assume you're using at least something with a 2.6.* series kernel, mainly because using any kind of SAN with a 2.4.* or older kernel is much more inconvenient.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /dev/emcpowerax1: open failed: No such device&lt;BR /&gt;&lt;BR /&gt;Does /sys/block/emcpowerax still exist?&lt;BR /&gt;&lt;BR /&gt;If it exists, then the "powermt remove" command only changed PowerPath configuration: the rest of the OS kernel is still unaware that the device is gone for good. &lt;BR /&gt;&lt;BR /&gt;To tell the kernel that a disk has been removed, use a command like:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/&lt;DEVICENAME&gt;/device/delete&lt;BR /&gt;&lt;BR /&gt;In your specific case, the command line would be:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/emcpowerax/device/delete&lt;BR /&gt;&lt;BR /&gt;If the /sys/block/emcpowerax no longer exists, then the error message was produced because the LVM device cache still contains information that /dev/emcpowerax1 used to exist.&lt;BR /&gt;&lt;BR /&gt;Solution: delete the cache file at /etc/lvm/cache/.cache, run "vgscan" to refresh the cache.&lt;BR /&gt;&lt;BR /&gt;rm /etc/lvm/cache/.cache&lt;BR /&gt;vgscan&lt;BR /&gt;&lt;BR /&gt;(Note: in HP-UX LVM, "vgscan" is a scary command, and it should be used only if really necessary. In Linux, it is safe to use at any time.)&lt;BR /&gt;&lt;BR /&gt;Ideally, PowerPath should have signaled the device deletion to the kernel (equivalent to "echo 1 &amp;gt; /sys/block/emcpowerax/device/delete"), which should have triggered an udev event regarding the removal of a disk device, which should have caused vgscan to be run automatically. As this didn't happen, I suspect you may be using either an old version of PowerPath, or an older Linux distribution with a relatively immature set of udev rules.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/DEVICENAME&gt;</description>
    <pubDate>Fri, 03 Jun 2011 10:21:09 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-06-03T10:21:09Z</dc:date>
    <item>
      <title>/dev/emcpowerax1: open failed: No such device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-emcpowerax1-open-failed-no-such-device/m-p/4795163#M44471</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I removed an EMC LUN (/dev/emcpowerax) from a volume group using pvreduce and wiped out its header by means of pvremove.&lt;BR /&gt;&lt;BR /&gt;I removed the EMC LUN from PowerPath:&lt;BR /&gt;&lt;BR /&gt;powermt remove dev=/dev/emcpowerax&lt;BR /&gt;&lt;BR /&gt;Then both vgdisplay and pvs commands shows the warning message:&lt;BR /&gt;&lt;BR /&gt;/dev/emcpowerax1: open failed: No such device&lt;BR /&gt;&lt;BR /&gt;Why does LVM still recall that disk?&lt;BR /&gt;Did I miss an intermediate step?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Fri, 03 Jun 2011 08:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-emcpowerax1-open-failed-no-such-device/m-p/4795163#M44471</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2011-06-03T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/emcpowerax1: open failed: No such device</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-emcpowerax1-open-failed-no-such-device/m-p/4795164#M44472</link>
      <description>It would have been important to know which version of Linux you're using. &lt;BR /&gt;&lt;BR /&gt;I assume you're using at least something with a 2.6.* series kernel, mainly because using any kind of SAN with a 2.4.* or older kernel is much more inconvenient.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /dev/emcpowerax1: open failed: No such device&lt;BR /&gt;&lt;BR /&gt;Does /sys/block/emcpowerax still exist?&lt;BR /&gt;&lt;BR /&gt;If it exists, then the "powermt remove" command only changed PowerPath configuration: the rest of the OS kernel is still unaware that the device is gone for good. &lt;BR /&gt;&lt;BR /&gt;To tell the kernel that a disk has been removed, use a command like:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/&lt;DEVICENAME&gt;/device/delete&lt;BR /&gt;&lt;BR /&gt;In your specific case, the command line would be:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/emcpowerax/device/delete&lt;BR /&gt;&lt;BR /&gt;If the /sys/block/emcpowerax no longer exists, then the error message was produced because the LVM device cache still contains information that /dev/emcpowerax1 used to exist.&lt;BR /&gt;&lt;BR /&gt;Solution: delete the cache file at /etc/lvm/cache/.cache, run "vgscan" to refresh the cache.&lt;BR /&gt;&lt;BR /&gt;rm /etc/lvm/cache/.cache&lt;BR /&gt;vgscan&lt;BR /&gt;&lt;BR /&gt;(Note: in HP-UX LVM, "vgscan" is a scary command, and it should be used only if really necessary. In Linux, it is safe to use at any time.)&lt;BR /&gt;&lt;BR /&gt;Ideally, PowerPath should have signaled the device deletion to the kernel (equivalent to "echo 1 &amp;gt; /sys/block/emcpowerax/device/delete"), which should have triggered an udev event regarding the removal of a disk device, which should have caused vgscan to be run automatically. As this didn't happen, I suspect you may be using either an old version of PowerPath, or an older Linux distribution with a relatively immature set of udev rules.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/DEVICENAME&gt;</description>
      <pubDate>Fri, 03 Jun 2011 10:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-emcpowerax1-open-failed-no-such-device/m-p/4795164#M44472</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-06-03T10:21:09Z</dc:date>
    </item>
  </channel>
</rss>

