<?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: mounting a file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711286#M251189</link>
    <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Two things to ensure before unmounting any FS. &lt;BR /&gt;&lt;BR /&gt;1) Don't be in that FS any more. "cd" to any other directories. &lt;BR /&gt;&lt;BR /&gt;2) Shutdown or kill all the processes using that particular FS. &lt;BR /&gt;&lt;BR /&gt;Useful commands, &lt;BR /&gt;# fuser -u &lt;FS&gt; will list the processes using &lt;FS&gt;&lt;BR /&gt;&lt;BR /&gt;# fuser -ku &lt;FS&gt; will clean up&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/FS&gt;&lt;/FS&gt;&lt;/FS&gt;</description>
    <pubDate>Tue, 17 Jan 2006 22:37:23 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-01-17T22:37:23Z</dc:date>
    <item>
      <title>mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711276#M251179</link>
      <description>can we unmount a file system without going into single user mode ?</description>
      <pubDate>Tue, 17 Jan 2006 14:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711276#M251179</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-01-17T14:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711277#M251180</link>
      <description>Of course... as long as no process has a file open on the file system.</description>
      <pubDate>Tue, 17 Jan 2006 14:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711277#M251180</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-17T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711278#M251181</link>
      <description>Yes you can, as long as there are no open files in the mount point.  If it will not unmount (file system busy error message) you can use fuser or lsof to determine which processes have the open files, and either stop or kill them.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2006 14:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711278#M251181</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-01-17T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711279#M251182</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;Yes.  Make sure that you have not 'cd'-ed into the directory (mountpoint) that you are trying to unmount.  If you have, you will be denied the action for "device busy".&lt;BR /&gt;&lt;BR /&gt;You can use 'fuser' to see and optionally kill processes with open files in the directory hosting the mount.&lt;BR /&gt;&lt;BR /&gt;Of course, you should *gracefully* stop all processes whenever possible!  Running normal shutdown scripts is appropriate.  For instanace:&lt;BR /&gt;&lt;BR /&gt;# fuser -ku /dev/dsk/cXtYdZ&lt;BR /&gt;# fuser -ku /mountpoint&lt;BR /&gt;&lt;BR /&gt;...sends a 'kill -9' to every process running with inuse files in the directory.  This is *not* a nice thing to do.  A 'kill -9' doesn't allow any cleanup of temporary files and/or shared memory segments to be made by the killed process.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 17 Jan 2006 14:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711279#M251182</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-17T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711280#M251183</link>
      <description>Some file systems are simply *always* in use.  That's when you need to go into single user mode to work on them.  The rest, as long as no one is accessing them (either has a file open or is cd'd into them) can be unmounted without problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 17 Jan 2006 14:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711280#M251183</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-01-17T14:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711281#M251184</link>
      <description>fuser -cu /mountpoint&lt;BR /&gt;&lt;BR /&gt;to see what processes are using it.&lt;BR /&gt;&lt;BR /&gt;Then you can decide what they are before you attempt to kill them.&lt;BR /&gt;&lt;BR /&gt;Example - you won't be able to unmount / and /tmp and /var and /usr&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 17 Jan 2006 14:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711281#M251184</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-01-17T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711282#M251185</link>
      <description>Sure , if there is no file open we can unmount it.&lt;BR /&gt;&lt;BR /&gt;1. Check if any file open for that FS.&lt;BR /&gt;# fuser -cu /FS_NAME&lt;BR /&gt;&lt;BR /&gt;2. If nothing is there you can simply unmount it with umount command.&lt;BR /&gt;&lt;BR /&gt;Else use # fuser -ku /FS_NAME to kill the processes if required.&lt;BR /&gt;&lt;BR /&gt;And then use umount.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You cannot unmount /(root) , /stand , /usr , /opt , /var , as this are using system files/libraries, on multiuser mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 17 Jan 2006 18:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711282#M251185</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-01-17T18:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711283#M251186</link>
      <description>Hi;&lt;BR /&gt;Yes u can do it until and unless it is not a root file system&lt;BR /&gt;Do the following steps&lt;BR /&gt;&lt;BR /&gt;#bdf |grep -i &lt;FILE system="" name=""&gt;&lt;BR /&gt;#fuser -cu &lt;MOUNT directory=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example.. (fuser -cu /export/home)&lt;BR /&gt;if any body has logged in,  cann't unmount the filesystem.. so&lt;BR /&gt;&lt;BR /&gt;#fuser -ku &lt;MOUNT directory=""&gt;&lt;BR /&gt;(i.e fuser -ku /export/home)&lt;BR /&gt;#umount /export/home&lt;BR /&gt;&lt;BR /&gt;Hope it will help u to resolve ur issue..&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;indrajit&lt;/MOUNT&gt;&lt;/MOUNT&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 17 Jan 2006 19:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711283#M251186</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2006-01-17T19:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711284#M251187</link>
      <description>Yes! You can do it if there isn't any open file in that filesystem or any process access in!&lt;BR /&gt;To check for this, use "fuser -cu /filesystem" and you can see all of processes.&lt;BR /&gt;To kill them, use "fuser -kcu /filesystem"&lt;BR /&gt;Then you can umount it!&lt;BR /&gt;&lt;BR /&gt;Remember: some filesystems call "sensitive" that if you try to unmout it, your system or application may get trouble because there are some system's process are runing on like /var, /opt, /usr....&lt;BR /&gt;&lt;BR /&gt;Goodluck&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Tue, 17 Jan 2006 21:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711284#M251187</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2006-01-17T21:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711285#M251188</link>
      <description>Hi Shiv,&lt;BR /&gt; &lt;BR /&gt; Yes you can unmount a filesystem, if it i snot being used by any application.&lt;BR /&gt;&lt;BR /&gt;You should not be within the filesystem, otherwise it will give device busy error.&lt;BR /&gt;&lt;BR /&gt;You can check for any open file through fuser command&lt;BR /&gt;&lt;BR /&gt;You can't unmount system filesystem like /, opt, /usr. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Shameer</description>
      <pubDate>Tue, 17 Jan 2006 22:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711285#M251188</guid>
      <dc:creator>Shameer.V.A</dc:creator>
      <dc:date>2006-01-17T22:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711286#M251189</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Two things to ensure before unmounting any FS. &lt;BR /&gt;&lt;BR /&gt;1) Don't be in that FS any more. "cd" to any other directories. &lt;BR /&gt;&lt;BR /&gt;2) Shutdown or kill all the processes using that particular FS. &lt;BR /&gt;&lt;BR /&gt;Useful commands, &lt;BR /&gt;# fuser -u &lt;FS&gt; will list the processes using &lt;FS&gt;&lt;BR /&gt;&lt;BR /&gt;# fuser -ku &lt;FS&gt; will clean up&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/FS&gt;&lt;/FS&gt;&lt;/FS&gt;</description>
      <pubDate>Tue, 17 Jan 2006 22:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711286#M251189</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-17T22:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711287#M251190</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;also if you are unmounting it for good, don't forget to update your fstab file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 17 Jan 2006 23:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711287#M251190</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-17T23:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711288#M251191</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is quite OK to unmount a filesystem as long as it is not in USE. NO NEED to enter in to single user mode.&lt;BR /&gt;&lt;BR /&gt;If you want to kill all the process which uses the particular filesystem,&lt;BR /&gt;&lt;BR /&gt;#fuser -ku &lt;FILESYSTEM.&gt;&lt;/FILESYSTEM.&gt;&lt;BR /&gt;&lt;BR /&gt;With REgards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Wed, 18 Jan 2006 00:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711288#M251191</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-18T00:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711289#M251192</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;Was not it about a OS filesystem like /var , /usr etc?&lt;BR /&gt;&lt;BR /&gt;If yes, then ofcourse you will have to boot to single user mode where by default these file systems will notbe mounted and you can perform some offline activities like extending etc.&lt;BR /&gt;&lt;BR /&gt;For a normal file system like some non OS file system in vg00 or any file system in some other vg, unless the file systems is inuse by any process, you can very well unmount it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 18 Jan 2006 00:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711289#M251192</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-18T00:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711290#M251193</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Ofcourse, you can unmount /var, /usr, /opt when you logged in multi user mode. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/ch04s07.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/ch04s07.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 18 Jan 2006 00:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711290#M251193</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-18T00:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711291#M251194</link>
      <description>Arun, &lt;BR /&gt;Just wondering if anyone has unmounted /usr filesytem in a running system. &lt;BR /&gt;&lt;BR /&gt;If yes , what is the procedure , however there no much details in the document.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 18 Jan 2006 13:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711291#M251194</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-01-18T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711292#M251195</link>
      <description>You can't umount /usr in multi-user mode. (Well, technically, I guess you could if you stopped all of the daemons that get started that have /usr as their home file system... but, if you go to that trouble, you might as well go to single-user in the first place. :)</description>
      <pubDate>Wed, 18 Jan 2006 13:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711292#M251195</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-18T13:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711293#M251196</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;if you have done this:&lt;BR /&gt;&lt;BR /&gt;mount /cdrom&lt;BR /&gt;&lt;BR /&gt;cd /cdrom&lt;BR /&gt;&lt;BR /&gt;# launched a process like the Oracle installer.&lt;BR /&gt;&lt;BR /&gt;There is NO way to umount the cdrom until that process has been killed.&lt;BR /&gt;&lt;BR /&gt;fuser -cuk /cdrom&lt;BR /&gt;&lt;BR /&gt;That will kill the processes, perhaps the system(though the later is very unlikely) and then you should be able to umount the cdrom&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 18 Jan 2006 13:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711293#M251196</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-18T13:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711294#M251197</link>
      <description>Unmounting system specific filesystems like /usr and /opt , seems  cannot be done on multiuser mode. Even if we use fuser -ku or anyother trick.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711294#M251197</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-01-18T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: mounting a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711295#M251198</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One can not unmount /opt, /tmp, /var etc. file systems in multiuser mode inspite of closing all the applications. Reason being that the various processes started during bootup are still running and have files open in these file systems.&lt;BR /&gt;&lt;BR /&gt;The link mentioned above nowhere states that you can unmount these file systems.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 19 Jan 2006 01:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-a-file-system/m-p/3711295#M251198</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-19T01:50:57Z</dc:date>
    </item>
  </channel>
</rss>

