<?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: Cant umount a lvol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059436#M600686</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you must run a single user before you can umount the /home&lt;BR /&gt;&lt;BR /&gt;SUPERUSER:&lt;BR /&gt;# shutdown 0&lt;BR /&gt;&lt;BR /&gt;SINGLE USER:&lt;BR /&gt;# umount /home&lt;BR /&gt;# bdf&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Aug 2007 23:16:03 GMT</pubDate>
    <dc:creator>Joelmel Roche</dc:creator>
    <dc:date>2007-08-23T23:16:03Z</dc:date>
    <item>
      <title>Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059428#M600678</link>
      <description>Hi I am running 10.2&lt;BR /&gt;  I made a lvol /home/preprod.  this is under the lvol /home.  i now want to remove /home/preprod, but it keeps telling me device is busy.  i do not see any processes that are accessing /home/preprod when I do ps -ef | grep preprod.  I also made preprod a user with /home/preprod as its home.  Any suggestions as to why it keeps telling me it is busy?  Do I need to get rid of the user preprod first, before I try to unmount the directory, or did I screw it up by putting a lvol under another lvol?&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059428#M600678</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2007-08-23T12:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059429#M600679</link>
      <description>What do you mean by "put a lvol under another lvol"?&lt;BR /&gt;&lt;BR /&gt;Most likely someone is cd'ed into the /home/preprod directory.  You can run fuser to check.  A better tool is lsof, which is available from the porting and archive center if you don't have it (though not for 10.20 anymore!).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 23 Aug 2007 12:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059429#M600679</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-08-23T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059430#M600680</link>
      <description>Hi Phil:&lt;BR /&gt;&lt;BR /&gt;Make sure that you have not 'cd'ed into the directory '/home/preprod'.  You need to unmount it and 'lvremove' the logical volume.&lt;BR /&gt;&lt;BR /&gt;If the user 'prepord' is logged-in, have it log-out first.&lt;BR /&gt;&lt;BR /&gt;You can also do:&lt;BR /&gt;&lt;BR /&gt;# fuser -kc /dev/vgXX/lvolN&lt;BR /&gt;&lt;BR /&gt;...to kill any processes using the mountpoint&lt;BR /&gt;&lt;BR /&gt;Using 'lsof' is another way to find "who" and "what" might be using the filesystem in question.&lt;BR /&gt;&lt;BR /&gt;There is nothing wrong with having '/home' as a mountpoint and '/home/preprod' as a separate mountpoint.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 23 Aug 2007 12:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059430#M600680</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-08-23T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059431#M600681</link>
      <description>Phil,&lt;BR /&gt;&lt;BR /&gt;# fuser /&lt;FILE_SYSTEM&gt; &lt;BR /&gt;     12345c &lt;BR /&gt;.  Output similar to 12345c indicates that a user is logged in &lt;BR /&gt;         and has his current working directory (CWD) set to the mounted &lt;BR /&gt;         directory or to a sub-directory under the mounted directory OR &lt;BR /&gt;         that the mounted directory is being queried. &lt;BR /&gt;&lt;BR /&gt;     2.  One "c" indicates that one user is logged under that directory; &lt;BR /&gt;         multiple "c"s indicate multiple users under that directory. &lt;BR /&gt;&lt;BR /&gt;     3.  Run the following command to check for users who are logged in: &lt;BR /&gt;&lt;BR /&gt;         # ps -ef | grep 12345&lt;BR /&gt;4.  To verify shell logins/sessions, run: &lt;BR /&gt;&lt;BR /&gt;         # ps -ef | grep sh &lt;BR /&gt;&lt;BR /&gt;     5.  Ask users to logout.  Also remember change YOUR current working &lt;BR /&gt;         directory to somewhere NOT under the file system in question &lt;BR /&gt;&lt;BR /&gt;When no one is accessing the file system, attempt to unmount it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;please assign points&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE_SYSTEM&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059431#M600681</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-23T12:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059432#M600682</link>
      <description>Phil,&lt;BR /&gt;&lt;BR /&gt;Your question is a bit of a mess.  This is because I'm pretty sure that /home/prepod is a mount point in the case that your speaking of, and not an lvol.&lt;BR /&gt;&lt;BR /&gt;Your lvols should be in a volume group, and hence, would have a name like /dev/vg01/lvol1&lt;BR /&gt;or if you named everything something like&lt;BR /&gt;/dev/vgmyvgname/mylvol.&lt;BR /&gt;&lt;BR /&gt;Then you would have mounted it possibly at /home/prepod, or from your posting, at /home/prepod /prepod.&lt;BR /&gt;&lt;BR /&gt;You wouldn't "remove it" , you'd just unmount it:&lt;BR /&gt;umount /home/prepod/&lt;BR /&gt;or &lt;BR /&gt;umount /home/prepod/somenameyougave it&lt;BR /&gt;&lt;BR /&gt;Check your mounts by looking at the output&lt;BR /&gt;of the "bdf" command.  You'll see your mount somewhere at or near /home/preprod and the associated lvol, listed as /dev/vgxxx/xxxxx.&lt;BR /&gt;&lt;BR /&gt;After you've unmounted it, you could remove the directory of the mount point.  &lt;BR /&gt;&lt;BR /&gt;But, you seem a bit lost ( I don't mean to insult here, so please don't take it that way ) , and I think you should review some manuals or documentation on how to manage lvm file systems before continuuing on.</description>
      <pubDate>Thu, 23 Aug 2007 12:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059432#M600682</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-08-23T12:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059433#M600683</link>
      <description>Thanks guys,&lt;BR /&gt;   I did not know of the fuser command.  I used it and it cleared the instance that keept me from unmounting the lvol&lt;BR /&gt;&lt;BR /&gt;Thanks all&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 14:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059433#M600683</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2007-08-23T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059434#M600684</link>
      <description>&amp;gt;WK:   that the mounted directory is being queried. &lt;BR /&gt;&lt;BR /&gt;My HISTFILE is there, no matter what CWD I have, I'd be hosed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;3. Run the following command to check for users who are logged in:&lt;BR /&gt;# ps -ef | grep 12345&lt;BR /&gt;&lt;BR /&gt;You might want to use "ps -fp 12345" instead.&lt;BR /&gt;But it won't give the children like the grep.</description>
      <pubDate>Thu, 23 Aug 2007 22:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059434#M600684</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T22:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059435#M600685</link>
      <description>Also u may try "mount" whihc will list the mounted fie syste.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 22:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059435#M600685</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-08-23T22:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059436#M600686</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you must run a single user before you can umount the /home&lt;BR /&gt;&lt;BR /&gt;SUPERUSER:&lt;BR /&gt;# shutdown 0&lt;BR /&gt;&lt;BR /&gt;SINGLE USER:&lt;BR /&gt;# umount /home&lt;BR /&gt;# bdf&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 23:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059436#M600686</guid>
      <dc:creator>Joelmel Roche</dc:creator>
      <dc:date>2007-08-23T23:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059437#M600687</link>
      <description>&amp;gt;Joelmel: you must run a single user before you can umount the /home&lt;BR /&gt;&lt;BR /&gt;Why?  If you kick everyone off that is using /home, root can cd to / and then try umount.  Of course in practice, this may be just as easy as a reboot.</description>
      <pubDate>Thu, 23 Aug 2007 23:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059437#M600687</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T23:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cant umount a lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059438#M600688</link>
      <description>&amp;gt; you must run a single user before you can &amp;gt; umount the /home&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; SUPERUSER:&lt;BR /&gt;&amp;gt; # shutdown 0&lt;BR /&gt;&lt;BR /&gt;Keep in mind that going back from multiuser to singleuser will not give you a 'real' single user mode.&lt;BR /&gt;Several logical volumes still can't be unmounted if you do it like this.&lt;BR /&gt;For those volumes you should reboot the system and start it in single user mode from the ISL prompt with hpux -is&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Aug 2007 02:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-umount-a-lvol/m-p/4059438#M600688</guid>
      <dc:creator>Marcel Burggraeve</dc:creator>
      <dc:date>2007-08-24T02:29:13Z</dc:date>
    </item>
  </channel>
</rss>

