<?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: cannot umount filesystem (challenging one) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549974#M559690</link>
    <description>Personally I like to &lt;BR /&gt;#fuser -u /mountpoint &lt;BR /&gt;&lt;BR /&gt;First, just because I like to see what processes it thinks is using that filesystem.  &lt;BR /&gt;If you want you can kill the pids by hand or use the command above &lt;BR /&gt;#fuser -k /mountpoint.&lt;BR /&gt;&lt;BR /&gt;I've seen cases where that comes back without any pids showing up.  Then I usually go against the lvol.&lt;BR /&gt;#fuser -u /dev/vgXX/lvolXX&lt;BR /&gt;&lt;BR /&gt;Then you should hopefully be able to&lt;BR /&gt;#umount /mountpoint&lt;BR /&gt;</description>
    <pubDate>Fri, 27 May 2005 07:51:06 GMT</pubDate>
    <dc:creator>Dave Hutton</dc:creator>
    <dc:date>2005-05-27T07:51:06Z</dc:date>
    <item>
      <title>cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549967#M559683</link>
      <description>I did something really stupid.  I have an Unix 11.11 box.  We have sapdatas mounted under /oracle/&lt;SID&gt;/. &lt;BR /&gt;&lt;BR /&gt;We received a validation error that /oracle/&lt;SID&gt; was not mounted (which needs to be in our environment) and I went about trying to "fix" it.  &lt;BR /&gt;&lt;BR /&gt;I tried to follow a CBA we have for doing this.  I&lt;BR /&gt;1) mv /oracle/&lt;SID&gt; /oracle/&lt;SID&gt;.tmp&lt;BR /&gt;2) Created a new logical volume with the lvcreate command named after the original..&lt;BR /&gt;3) Perform newfs on the logical volume. &lt;BR /&gt;4) Mount old directory to new logical volume.&lt;BR /&gt;5) Copy the data from /oracle/&lt;SID&gt;.temp to new /oracle/&lt;SID&gt; location.&lt;BR /&gt;Example:&lt;BR /&gt;find /oracle/&lt;SID&gt;.temp -xdev -depth -print | cpio -pxdm /oracle/&lt;SID&gt;&lt;BR /&gt;6) Removed /oracle/&lt;SID&gt;.tmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My mistake was that I didn't umount anything prior to doing these steps.  Bdfs showed the filesysems are mounted very strangely now. &lt;BR /&gt;&lt;BR /&gt;# bdf /oracle/NPA/sapreorg&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg_apps/lv_oracle&lt;BR /&gt;                    524288   77629  418814   16% /oracle&lt;BR /&gt;&lt;BR /&gt;This should be mounted on /dev/vg_NPA_lv_reorg.&lt;BR /&gt;&lt;BR /&gt;I cannot unmount anything under /oracle/NPA now. &lt;BR /&gt;&lt;BR /&gt;# umount /oracle/NPA/sapreorg&lt;BR /&gt;umount: cannot unmount /oracle/NPA/sapreorg : Block device required&lt;BR /&gt;umount: return error 1.&lt;BR /&gt;&lt;BR /&gt;The customer said I can blow these filesystems away as they are "test" but I cannot get them unmounted.  &lt;BR /&gt;&lt;BR /&gt;Any ideas for this challenging issue? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Mon, 23 May 2005 08:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549967#M559683</guid>
      <dc:creator>Kenny Soward</dc:creator>
      <dc:date>2005-05-23T08:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549968#M559684</link>
      <description>Have you tried recreating mnttab?&lt;BR /&gt;&lt;BR /&gt;# mv /etc/mnttab /etc/mnttab.bak&lt;BR /&gt;# mount</description>
      <pubDate>Mon, 23 May 2005 08:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549968#M559684</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-05-23T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549969#M559685</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The mountpoint is /oracle&lt;BR /&gt;&lt;BR /&gt;Correct Syntax:&lt;BR /&gt;# unmount /oracle&lt;BR /&gt;&lt;BR /&gt;Walter</description>
      <pubDate>Mon, 23 May 2005 09:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549969#M559685</guid>
      <dc:creator>Walter Pisani</dc:creator>
      <dc:date>2005-05-23T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549970#M559686</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you try "umount /oracle" !!!&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2005 09:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549970#M559686</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-05-23T09:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549971#M559687</link>
      <description>Hi all.  Thanks for the replies.  Yes, I did try to rebuild mnttab using the above method with no luck. &lt;BR /&gt;&lt;BR /&gt;Also, I would try to umount /oracle but there are some other &lt;SIDS&gt; running that are mounted beneath that. &lt;BR /&gt;&lt;BR /&gt;I think the only way I'll be able to remedy this issue is get a reboot for this server.&lt;/SIDS&gt;</description>
      <pubDate>Mon, 23 May 2005 09:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549971#M559687</guid>
      <dc:creator>Kenny Soward</dc:creator>
      <dc:date>2005-05-23T09:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549972#M559688</link>
      <description>Did you try fuser -k on the /oracle ?&lt;BR /&gt;Devesh</description>
      <pubDate>Thu, 26 May 2005 23:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549972#M559688</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-05-26T23:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549973#M559689</link>
      <description>If some user is entered into the mounted directory or using files located in it, then you can not umount it.&lt;BR /&gt;&lt;BR /&gt;Try to check fuser -k /oracle to get user who is using that file system. Else directly make a message to that users as "who is using /oracle directoy. please out of that directory".&lt;BR /&gt;&lt;BR /&gt;Or login as root and kill all user process by who -u except your's and unmount it.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 27 May 2005 01:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549973#M559689</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-05-27T01:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: cannot umount filesystem (challenging one)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549974#M559690</link>
      <description>Personally I like to &lt;BR /&gt;#fuser -u /mountpoint &lt;BR /&gt;&lt;BR /&gt;First, just because I like to see what processes it thinks is using that filesystem.  &lt;BR /&gt;If you want you can kill the pids by hand or use the command above &lt;BR /&gt;#fuser -k /mountpoint.&lt;BR /&gt;&lt;BR /&gt;I've seen cases where that comes back without any pids showing up.  Then I usually go against the lvol.&lt;BR /&gt;#fuser -u /dev/vgXX/lvolXX&lt;BR /&gt;&lt;BR /&gt;Then you should hopefully be able to&lt;BR /&gt;#umount /mountpoint&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2005 07:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-umount-filesystem-challenging-one/m-p/3549974#M559690</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2005-05-27T07:51:06Z</dc:date>
    </item>
  </channel>
</rss>

