Operating System - HP-UX
1833006 Members
3202 Online
110048 Solutions
New Discussion

Re: unmounting /usr ..help?

 
Irfan Ahmed_1
Advisor

unmounting /usr ..help?

Hi everyone
I want to know how can I unmount /usr on a server. (Multi-user mode).

Thanks
9 REPLIES 9
Irfan Ahmed_1
Advisor

Re: unmounting /usr ..help?

Some part of question is missing..
I don't want to reboot the server
Prashant Zanwar_4
Respected Contributor

Re: unmounting /usr ..help?

There are many threads on this, just check.

Also here is the hint that you have to go to single user mode to do it. /usr you cannot unmount like that.

Boot in maintenance mode and then activate vg00, and mount what you want...

And do what you want exactly..

Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Slawomir Gora
Honored Contributor

Re: unmounting /usr ..help?

Hi,

no way - there is to much prossess using it !!

run: fuser /dev/vg00/lvolX
Shaikh Imran
Honored Contributor

Re: unmounting /usr ..help?

Hi,

Agree with above all

Also refer

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=196956

Regards,

I'll sleep when i am dead.
Jeff Schussele
Honored Contributor

Re: unmounting /usr ..help?

Hi Irfan,

This will be decidedly difficult if not downright impossible as /usr will have processes attached to it even with no users logged in.
Use fuser as follows to see what's running out of it.

fuser -cu /usr

You'll see *many* root owned processes running & you cannot umount a FS until there are no processes attached to it.
If you're goal is to enlarge or reconfigure /usr then this is exactly what OnLine JFS is designed for.
Simply put to umount or change /usr w/o OnLine JFS you'll need to reboot & go into single user mode.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Prashant Zanwar_4
Respected Contributor

Re: unmounting /usr ..help?

fuser -ku

or remove the entry from mnttab and do a umount -f on it ....

I dont know further where you will find the admin commands furhter to run..

Please summarise on what you do

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Hoang Chi Cong_1
Honored Contributor

Re: unmounting /usr ..help?

Yes, I agree with all gurus.
You can not umount /usr because there are many process running in this mount point.
If you try to kill all of process, it will cause many error to your system.
What do you want? Want to unmount /usr to extend this filesystem?
Unless you have OnlineJFS installed on the system, you will not be able to extend /usr in multi-user mode.

Best and regard,
Jimkery
Looking for a special chance.......
Bharat Katkar
Honored Contributor

Re: unmounting /usr ..help?

Hi,
I would suggest you to boot the systems in single user mode and then do the necessary task related with /usr.
Regards,
You need to know a lot to actually know how little you know
eran maor
Honored Contributor

Re: unmounting /usr ..help?

Hi

no option to do in without rebooting ,

if you want to extend the file system and you have online jfs , this can be done without umounting the file system ,
but /usr is a critical file system in hp-ux and you can umount it , you can try , but this i think will casuse or a TOC or problem in your system

eran
love computers