<?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 Problem removing dir, device busy... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317908#M340385</link>
    <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I need help to remove a dir. I suspect this dit was mounted by NFS or maybe a link. Any way,  when i try to do umount:&lt;BR /&gt;umount: cannot find DVEBMGS70 in /etc/mnttab&lt;BR /&gt;        cannot unmount DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;When i try rm -rf /DVEBMGS70:&lt;BR /&gt;rm: directory DVEBMGS70 not removed.  Cannot remove mountable directory&lt;BR /&gt;&lt;BR /&gt;And i try to mount anything on this dir, it says: Device busy. &lt;BR /&gt;&lt;BR /&gt;Now, i have downloaded lsof, and this is the output:&lt;BR /&gt;lsof DVEBMGS70/&lt;BR /&gt;COMMAND   PID USER   FD   TYPE      DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;sh       7826 root  cwd    DIR 64,0x2e000e     1024    2 DVEBMGS70&lt;BR /&gt;glance  21868 root  cwd    DIR 64,0x2e000e     1024    2 DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;Can i kill the sh process? This is a production server and can not be rebooted. &lt;BR /&gt;&lt;BR /&gt;Please help... &lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Dec 2008 12:55:32 GMT</pubDate>
    <dc:creator>boje</dc:creator>
    <dc:date>2008-12-04T12:55:32Z</dc:date>
    <item>
      <title>Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317908#M340385</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I need help to remove a dir. I suspect this dit was mounted by NFS or maybe a link. Any way,  when i try to do umount:&lt;BR /&gt;umount: cannot find DVEBMGS70 in /etc/mnttab&lt;BR /&gt;        cannot unmount DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;When i try rm -rf /DVEBMGS70:&lt;BR /&gt;rm: directory DVEBMGS70 not removed.  Cannot remove mountable directory&lt;BR /&gt;&lt;BR /&gt;And i try to mount anything on this dir, it says: Device busy. &lt;BR /&gt;&lt;BR /&gt;Now, i have downloaded lsof, and this is the output:&lt;BR /&gt;lsof DVEBMGS70/&lt;BR /&gt;COMMAND   PID USER   FD   TYPE      DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;sh       7826 root  cwd    DIR 64,0x2e000e     1024    2 DVEBMGS70&lt;BR /&gt;glance  21868 root  cwd    DIR 64,0x2e000e     1024    2 DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;Can i kill the sh process? This is a production server and can not be rebooted. &lt;BR /&gt;&lt;BR /&gt;Please help... &lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 12:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317908#M340385</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-04T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317909#M340386</link>
      <description>&lt;BR /&gt; Hi Boje,&lt;BR /&gt;&lt;BR /&gt; check is it mounted permently,and checked the fstab file.&lt;BR /&gt;&lt;BR /&gt;if it's mounted permently thattime it's showing like that or sometime some users using that mount point ,that time you are not able to remove directory,it will show like that error message.&lt;BR /&gt;&lt;BR /&gt;so check and revert back.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Unixguy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 13:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317909#M340386</guid>
      <dc:creator>unixguy_1</dc:creator>
      <dc:date>2008-12-04T13:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317910#M340387</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I was nod able to get rid of the glance and sh process that accessed the dir. But itÂ´s still the same problem. I have checked the mnttab and fstab. The dir does not exists neither of them. I have searched the forum and trie the automounter thingy. But i do not have the /etc/auto_mount config file. &lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 13:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317910#M340387</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-04T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317911#M340388</link>
      <description>Hi boje,&lt;BR /&gt;&lt;BR /&gt;Try this,&lt;BR /&gt;&lt;BR /&gt;Goto that directory and give "bdf ." it will give which lv that directory belongs. so you should know, it is a just directory or mount point.&lt;BR /&gt;&lt;BR /&gt;#cd /DVEBMGS70&lt;BR /&gt;#bdf .&lt;BR /&gt;&lt;BR /&gt;If it is a directory created on some filesystem use fuser to kill the processes using this directory.&lt;BR /&gt;&lt;BR /&gt;#fuser -ku -c /DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;#fuser  -cu /DVEBMGS70 --&amp;gt;to confirm still any process is using&lt;BR /&gt;&lt;BR /&gt;Now remove the directory.&lt;BR /&gt;&lt;BR /&gt;#rm -rf /DVEBMGS70</description>
      <pubDate>Thu, 04 Dec 2008 13:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317911#M340388</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-04T13:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317912#M340389</link>
      <description>Hi Ganesan!&lt;BR /&gt;&lt;BR /&gt;ItÂ´s a nice try. But i get this message:&lt;BR /&gt; bdf .&lt;BR /&gt;bdf: could not find the mount point for .&lt;BR /&gt;&lt;BR /&gt;I think i found the filesystem my machine think is mounted on my dir i can not remove. I have /dev/v01_vg10/DVEBMGS mounted on /usr/sap/V01/DVEBMGS70. And if if i try to mount that to /oracle/V01/V01/DVEBMGS70 is says: &lt;BR /&gt;mount /dev/v01_vg10/DVEBMGS /oracle/V01/V01/DVEBMGS70/&lt;BR /&gt;mount: /dev/v01_vg10/DVEBMGS is already mounted on /oracle/V01/V01/DVEBMGS70/&lt;BR /&gt;&lt;BR /&gt;Any suggestions? &lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 13:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317912#M340389</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-04T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317913#M340390</link>
      <description>Hi Boje,&lt;BR /&gt;&lt;BR /&gt;Now I got little confused. &lt;BR /&gt;&lt;BR /&gt;Which directory you are trying to remove? /DVEBMGS70 ? or /usr/sap/V01/DVEBMGS70 ?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;mount /dev/v01_vg10/DVEBMGS /oracle/V01/V01/DVEBMGS70/&lt;BR /&gt;mount: /dev/v01_vg10/DVEBMGS is already mounted on /oracle/V01/V01/DVEBMGS70/ &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Nothing wrong in the above message. It says you are trying to mount a lv which is already mounted.&lt;BR /&gt;&lt;BR /&gt;Could you provide the current issue which you are facing ?&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 14:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317913#M340390</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-04T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317914#M340391</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Sorry for confusion. The dir /oracle/V01/V01/DVEBMGS70 is the one that i is trying to remove. But it is not mounted. The lv is mounted to /usr/sap/V01/DVEBMGS70. &lt;BR /&gt;&lt;BR /&gt;The /oracle/V01/V01/DVEBMGS70 is empty.&lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 14:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317914#M340391</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-04T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317915#M340392</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you provide the following outputs?&lt;BR /&gt;&lt;BR /&gt;#bdf |grep -i DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;#bdf |grep -i /dev/v01_vg10/DVEBMGS &lt;BR /&gt;&lt;BR /&gt;#grep -i /dev/v01_vg10/DVEBMGS  /etc/fstab&lt;BR /&gt;&lt;BR /&gt;#cd /oracle/V01/V01/DVEBMGS70 &lt;BR /&gt;#bdf .&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;&lt;BR /&gt;#cat /etc/mnttab&lt;BR /&gt;&lt;BR /&gt;#mount -v &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 14:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317915#M340392</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-04T14:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317916#M340393</link>
      <description>#bdf |grep -i DVEBMGS70&lt;BR /&gt;                   7176192  288288 6484628    4% /usr/sap/V01/DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;#bdf |grep -i /dev/v01_vg10/DVEBMGS&lt;BR /&gt;/dev/v01_vg10/DVEBMGS&lt;BR /&gt;&lt;BR /&gt;#grep -i /dev/v01_vg10/DVEBMGS /etc/fstab&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;#cd /oracle/V01/V01/DVEBMGS70&lt;BR /&gt;#bdf .&lt;BR /&gt;bdf: could not find the mount point for .&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;/dev/v01_vg10/DVEBMGS&lt;BR /&gt;                   7176192  288288 6484628    4% /usr/sap/V01/DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;#cat /etc/mnttab&lt;BR /&gt;/dev/v01_vg10/DVEBMGS /usr/sap/V01/DVEBMGS70 vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=402e000e 0 0 1204526533&lt;BR /&gt;&lt;BR /&gt;#mount -v&lt;BR /&gt;what does it do?</description>
      <pubDate>Thu, 04 Dec 2008 15:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317916#M340393</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-04T15:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317917#M340394</link>
      <description>Hi Boje,&lt;BR /&gt;&lt;BR /&gt;It looks you have temperoryly mounted /dev/v01_vg10/DVEBMGS on /usr/sap/V01/DVEBMGS70 since /etc/fstab does not have the entry. &lt;BR /&gt;&lt;BR /&gt;So where this /oracle/V01/V01/DVEBMGS70 comes? I suspect some mismatch in /etc/mnttab.&lt;BR /&gt;&lt;BR /&gt;Try this.&lt;BR /&gt;&lt;BR /&gt;# mv /etc/mnttab /etc/mnttab.old&lt;BR /&gt;# mount -a&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 16:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317917#M340394</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-04T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317918#M340395</link>
      <description>After running the above commands try to remove the directory /oracle/V01/V01/DVEBMGS70.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2008 16:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317918#M340395</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-04T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317919#M340396</link>
      <description>Boje ; &lt;BR /&gt;&lt;BR /&gt;If its a NFS ..then do following things ...&lt;BR /&gt;&lt;BR /&gt;fuser -ku mountpoint &lt;BR /&gt;&lt;BR /&gt;check if some process are still using the mount point by &lt;BR /&gt;&lt;BR /&gt;fuser -cu moount point ...if still process are there then try to kill them manually.&lt;BR /&gt;&lt;BR /&gt;if its not work then ...&lt;BR /&gt;&lt;BR /&gt;restart the nfs client &lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/nfs.client stop &lt;BR /&gt;/sbin/init.d/nfs.client start &lt;BR /&gt;&lt;BR /&gt;now check continue with removing....&lt;BR /&gt;&lt;BR /&gt;cheers &lt;BR /&gt;&lt;BR /&gt;Ashish</description>
      <pubDate>Thu, 04 Dec 2008 21:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317919#M340396</guid>
      <dc:creator>Ashish Parashar</dc:creator>
      <dc:date>2008-12-04T21:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem removing dir, device busy...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317920#M340397</link>
      <description>Hi!&lt;BR /&gt;Thx for your replies. &lt;BR /&gt;&lt;BR /&gt;But i do not think i can solve the problem with removing the mnttab and then mount -a. Because this is a cluster machine. There is nothing in fstab, only system disks. &lt;BR /&gt;fuser does not show anything, it only says: fuser: could not find file system mounted at /oracle/V01/V01/DVEBMGS70&lt;BR /&gt;&lt;BR /&gt;And i can not restart the nfs client. Then i will loose all other nfs mounts? &lt;BR /&gt;&lt;BR /&gt;It is hopeless when something happens whit nfs mounts. &lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Patrik&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Dec 2008 07:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-removing-dir-device-busy/m-p/4317920#M340397</guid>
      <dc:creator>boje</dc:creator>
      <dc:date>2008-12-05T07:42:07Z</dc:date>
    </item>
  </channel>
</rss>

