<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hmx on Details...</title>
    <link>https://www.deepreflect.net/tags/hmx/</link>
    <description>Recent content in Hmx on Details...</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2003 - 2026 Leonardo Rizzi</copyright>
    <lastBuildDate>Tue, 30 Jun 2026 03:28:29 +0200</lastBuildDate>
    <atom:link href="https://www.deepreflect.net/tags/hmx/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AIX LPAR - CDROM device relase</title>
      <link>https://www.deepreflect.net/2011/01/23/aix-lpar-cdrom-device-relase/</link>
      <pubDate>Sun, 23 Jan 2011 20:17:32 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=971</guid> 
      <description>&lt;p&gt;When AIX will not release /dev/cd0 device (after umount any associted filesystems), and you get busy device error on dlpar operations, use this command to kill all processes that take busy resource:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# fuser -k -x -u -c /dev/cd0
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Usually in pSeries hardware configuration is connected to a scsi controller by scsi-to-ide/sas/sata or other terrible solution bridge.&lt;/p&gt;
&lt;p&gt;To made all this operation faster you can identify pci parent adapter and remove recursively all device.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>When AIX will not release /dev/cd0 device (after umount any associted filesystems), and you get busy device error on dlpar operations, use this command to kill all processes that take busy resource:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span># fuser -k -x -u -c /dev/cd0
</span></span></code></pre></div><p>Usually in pSeries hardware configuration is connected to a scsi controller by scsi-to-ide/sas/sata or other terrible solution bridge.</p>
<p>To made all this operation faster you can identify pci parent adapter and remove recursively all device.</p>
<p>Identify:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span># lsdev -l cd0 -F parent
</span></span><span style="display:flex;"><span> scsi0
</span></span><span style="display:flex;"><span># lsdev -l scsi0 -F parent
</span></span><span style="display:flex;"><span> sisscsia0
</span></span><span style="display:flex;"><span># lsdev -l sisscsia0 -F parent
</span></span><span style="display:flex;"><span> pci10
</span></span></code></pre></div><p>Remove:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span># rmdev -Rdl pci10
</span></span><span style="display:flex;"><span>cd0 deleted
</span></span><span style="display:flex;"><span>ses0 deleted
</span></span><span style="display:flex;"><span>scsi0 deleted
</span></span><span style="display:flex;"><span>sisscsia0 deleted
</span></span><span style="display:flex;"><span>pci10 deleted
</span></span></code></pre></div><p>Then you can move the controller from HMC to another LPAR</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
