<?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: rmdir: Cannot remove mountable directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072512#M629166</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My stupid suggestion, let's try with other commands to see if the result is the same:&lt;BR /&gt;&lt;BR /&gt;Try to move with "mv /bkp /bkp.old"&lt;BR /&gt;and if it works, try again to delete "/bkp.old"&lt;BR /&gt;What happens?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Zigor</description>
    <pubDate>Wed, 17 Sep 2003 13:04:21 GMT</pubDate>
    <dc:creator>Zigor Buruaga</dc:creator>
    <dc:date>2003-09-17T13:04:21Z</dc:date>
    <item>
      <title>rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072493#M629147</link>
      <description>Hi,&lt;BR /&gt;on a HPUX 11i server running vpars, I'm trying to remove an directory using rmdir but get the following reply :&lt;BR /&gt;rmdir /bkp&lt;BR /&gt;rmdir: /bkp: Cannot remove mountable directory&lt;BR /&gt;So I do the following:&lt;BR /&gt;umount /bkp&lt;BR /&gt;umount: cannot find /bkp in /etc/mnttab&lt;BR /&gt;        cannot unmount /bkp&lt;BR /&gt;&lt;BR /&gt;I try mount it:&lt;BR /&gt;mount /bkp&lt;BR /&gt;mount: /bkp was either ignored or not found in /etc/fstab&lt;BR /&gt;It's not listed in SAM under LVs or Filesystems. It's not mentioned in /etc/mnttab or /etc/fstab. Also, there are no device files for it in either /dev/vg00 or /dev/vg01 - the 2 volume groups I have.&lt;BR /&gt;&lt;BR /&gt;Perhaps another file is linked to it ?&lt;BR /&gt;The output of ls -ail is as follows :&lt;BR /&gt;2 drwxr-xr-x 2 root root 4096 Sep 16 17:45 bkp&lt;BR /&gt;&lt;BR /&gt;I'm stumped - any ideas ?&lt;BR /&gt;Robert Bissett&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Sep 2003 16:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072493#M629147</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-16T16:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072494#M629148</link>
      <description>Not very positive on what can be the cause &lt;BR /&gt;&lt;BR /&gt;but did u check if automounter/autofs has been configured to mount on this dir..</description>
      <pubDate>Tue, 16 Sep 2003 16:41:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072494#M629148</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-09-16T16:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072495#M629149</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;Try this -&lt;BR /&gt;&lt;BR /&gt;mv /etc/mnttab /etc/mnttab.old&lt;BR /&gt;&lt;BR /&gt;mount -a&lt;BR /&gt;&lt;BR /&gt;umount /bkp&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 16 Sep 2003 16:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072495#M629149</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-09-16T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072496#M629150</link>
      <description>&lt;BR /&gt;  I just reproduced the error in one of my test machines. The prob is that automounter has been configured to mount to the directory.&lt;BR /&gt;&lt;BR /&gt;  # ps -ef | grep auto&lt;BR /&gt;  &lt;BR /&gt;  # kill &lt;AUTOMOUNTERPROCESS&gt;&lt;BR /&gt;&lt;BR /&gt;  # vi /etc/auto_master&lt;BR /&gt;  remove the ref&lt;BR /&gt;&lt;BR /&gt;  # /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master&lt;BR /&gt;&lt;BR /&gt;  # rmdir /bkp&lt;/AUTOMOUNTERPROCESS&gt;</description>
      <pubDate>Tue, 16 Sep 2003 16:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072496#M629150</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-09-16T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072497#M629151</link>
      <description>Is it HP-UX 11.X ?. If you are using autofs then u dont have to kill the process. Autofs can read the configuration file on the fly.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Sep 2003 16:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072497#M629151</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-09-16T16:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072498#M629152</link>
      <description>Hi,&lt;BR /&gt;thanks for your replies, however problem still exists. It's not the automounter.....&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep auto&lt;BR /&gt;root  5396  5326  0 07:04:05 pts/ta    0:00 grep auto&lt;BR /&gt;&lt;BR /&gt;Also, renaming /etc/mnttab didnt work.....&lt;BR /&gt;&lt;BR /&gt;$ mv /etc/mnttab /etc/mnttab.old&lt;BR /&gt;$ ls /etc/mnt*&lt;BR /&gt;/etc/mnttab.old&lt;BR /&gt;mount -a&lt;BR /&gt;$ umount /bkp&lt;BR /&gt;umount: cannot find /bkp in /etc/mnttab&lt;BR /&gt;        cannot unmount /bkp&lt;BR /&gt;$ rmdir /bkp&lt;BR /&gt;rmdir: /bkp: Cannot remove mountable directory&lt;BR /&gt;&lt;BR /&gt;Any other ideas ?</description>
      <pubDate>Wed, 17 Sep 2003 09:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072498#M629152</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-17T09:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072499#M629153</link>
      <description>#ls -ali &lt;BR /&gt;&lt;BR /&gt;check if u could find any links inside.&lt;BR /&gt;Any similar inodes!!</description>
      <pubDate>Wed, 17 Sep 2003 10:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072499#M629153</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-09-17T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072500#M629154</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just a stupid question: do you have any other mount points that use /bkp ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Wed, 17 Sep 2003 10:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072500#M629154</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-09-17T10:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072501#M629155</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Take a look at next link, bit old but look very mutch like you problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://aa11.cjb.net/hpux_admin/1997/0100.html" target="_blank"&gt;http://aa11.cjb.net/hpux_admin/1997/0100.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 17 Sep 2003 10:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072501#M629155</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-09-17T10:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072502#M629156</link>
      <description>I can reproduce the problem by doing this.&lt;BR /&gt;&lt;BR /&gt;# mkdir /delete&lt;BR /&gt;# cd /delete&lt;BR /&gt;# rmdir /delete&lt;BR /&gt;rmdir: /delete: Cannot remove mountable directory&lt;BR /&gt;&lt;BR /&gt;You don't happen to be in the directory you are trying to delete do you?</description>
      <pubDate>Wed, 17 Sep 2003 10:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072502#M629156</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-09-17T10:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072503#M629157</link>
      <description>I got this off the linux kernel mailing list and is a quite from Andrea Arcangeli&lt;BR /&gt;&lt;BR /&gt;"If the directory is the root directory or the current working directory&lt;BR /&gt; of any process, it is unspecified whether the function succeeds, or&lt;BR /&gt; whether it fails and sets errno to [EBUSY]."&lt;BR /&gt;&lt;BR /&gt;Looks like it could be a bug/feature in HPUX too</description>
      <pubDate>Wed, 17 Sep 2003 10:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072503#M629157</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-09-17T10:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072504#M629158</link>
      <description>Hi,&lt;BR /&gt;I tried ls -ali initially. Here is a portion of the output (with dates and times removed for ease of viewing)....showing all directories with the same inode number i.e. 2, as is normal I think. &lt;BR /&gt;&lt;BR /&gt;Also, I'm not in the directory while trying to remove.&lt;BR /&gt;Robby.&lt;BR /&gt;&lt;BR /&gt;   2 drwxr-xr-x  32 root root  8192 .&lt;BR /&gt;   2 drwxr-xr-x  32 root root  8192 ..&lt;BR /&gt;1909 drw-------   5 root  sys  8192 .netscape&lt;BR /&gt;1068 -r--r--r--   1 bin   bin   965 .profile&lt;BR /&gt;2145 -rw-------   1 root  sys  3622 .sh_history&lt;BR /&gt;1067 drwxr-xr-x   5 root  sys    96 .sw&lt;BR /&gt;1916 drwxr-xr-x   2 root  sys    96 SD_CDROM&lt;BR /&gt;2458 dr-xr-xr-x   2 root  sys    96 backup&lt;BR /&gt;1224 lr-xr-xr-t   1 root  sys     8 bin -&amp;gt; /usr/bin&lt;BR /&gt;   2 drwxr-xr-x   2 root root  4096 bkp&lt;BR /&gt;1032 drwxrwxrwx   2 root  sys  8192 brs&lt;BR /&gt;1066 dr-xr-xr-x   2 root   root  96 tmp_mnt&lt;BR /&gt;   2 drwxr-xr-x   5 oracle  dba  96 u01&lt;BR /&gt;   2 drwxr-xr-x   4 oracle  dba  96 u02&lt;BR /&gt;   2 drwxr-xr-x   4 oracle  dba  96 u03&lt;BR /&gt;   2 drwxr-xr-x   5 oracle  dba  96 u04&lt;BR /&gt;2438 -rw-rw-rw-   1 root    sys  04 umodem.log&lt;BR /&gt;   2 dr-xr-xr-x  25 bin     bin 8192 usr&lt;BR /&gt;   2 dr-xr-xr-x  27 bin     bin 8192 var&lt;BR /&gt;1981 -rw-rw-rw-   1 root    sys 43226 wlm.txt</description>
      <pubDate>Wed, 17 Sep 2003 11:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072504#M629158</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-17T11:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072505#M629159</link>
      <description>Do that inside the /bkp dir?</description>
      <pubDate>Wed, 17 Sep 2003 11:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072505#M629159</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-09-17T11:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072506#M629160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does "fuser" show anything?&lt;BR /&gt;Try:&lt;BR /&gt;#fuser -c /bkp&lt;BR /&gt;and&lt;BR /&gt;#fuser -f /bkp&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Wed, 17 Sep 2003 12:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072506#M629160</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2003-09-17T12:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072507#M629161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Look also at "/etc/exports".&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Kind regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Wed, 17 Sep 2003 12:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072507#M629161</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2003-09-17T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072508#M629162</link>
      <description>Hi,&lt;BR /&gt;no, nothing in /etc/exports and fuser shows nothing using the dir.</description>
      <pubDate>Wed, 17 Sep 2003 12:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072508#M629162</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-17T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072509#M629163</link>
      <description>Hi, &lt;BR /&gt;in case I didnt mention the /bkp directory is empty.&lt;BR /&gt;Robby.</description>
      <pubDate>Wed, 17 Sep 2003 12:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072509#M629163</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-17T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072510#M629164</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does this show nothing:&lt;BR /&gt;# ls /bkp | cat -v&lt;BR /&gt;&lt;BR /&gt;what does &lt;BR /&gt;# file /bkp&lt;BR /&gt;show?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Wed, 17 Sep 2003 12:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072510#M629164</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-09-17T12:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072511#M629165</link>
      <description>Results...&lt;BR /&gt;&lt;BR /&gt;$ ls /bkp | cat -v&lt;BR /&gt;$ file /bkp&lt;BR /&gt;/bkp:           directory&lt;BR /&gt;&lt;BR /&gt;i.e. empty directory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Sep 2003 12:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072511#M629165</guid>
      <dc:creator>Robert Bissett</dc:creator>
      <dc:date>2003-09-17T12:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: rmdir: Cannot remove mountable directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072512#M629166</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My stupid suggestion, let's try with other commands to see if the result is the same:&lt;BR /&gt;&lt;BR /&gt;Try to move with "mv /bkp /bkp.old"&lt;BR /&gt;and if it works, try again to delete "/bkp.old"&lt;BR /&gt;What happens?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Wed, 17 Sep 2003 13:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rmdir-cannot-remove-mountable-directory/m-p/3072512#M629166</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2003-09-17T13:04:21Z</dc:date>
    </item>
  </channel>
</rss>

