LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   nfs unmount error (https://www.linuxquestions.org/questions/linux-general-1/nfs-unmount-error-36253/)

mathfeel 11-23-2002 09:19 AM

nfs unmount error
 
I get this error when i am shutting down my computer::

Cannot MOUNTPROG RPC: RPC: Program not registerd
umount2: Device or Resource Busy
umount: /net: device is busy

I don't get this at all...and what is this RPC thingy??? can I just take it off my init.d???

thank you!

born4linux 11-23-2002 11:21 AM

make sure no program is accessing any files in the mounted nfs export and that there are no cwd (current working dirs) in your system that is the mounted nfs export.

mathfeel 11-23-2002 11:55 AM

how am I suppose to check that?

This is happending out of a fresh installation of mandrake 9....doesn't seem to happen with my another redhat 8 installation

born4linux 11-23-2002 03:57 PM

To check:

/sbin/fuser -mu /net

Or, to automatically kill the processes accessing that directory:

/sbin/fuser -k /net

And then unmount it:

umount /net

man fuser for details

mathfeel 11-23-2002 09:37 PM

well, what I find is automount...I have never deal with that program b4...anyone help????

moses 11-23-2002 11:05 PM

Why are you running automount? Is your computer part of a LAN where
some disks are shared between computers? If not, you probably don't need
to be running automount.

cottonmouth 11-24-2002 04:25 PM

What is your hostname?

deesto 12-13-2002 10:33 AM

I have the same exact error/hang problem on a fresh install of Mandrake 9. The box is connected to a home network, and I am sharing data between Linux and XP, but I don't believe any shares are in use during shutdown.
Is there a 'safe' way to auto-un-automount at shutdown?


All times are GMT -5. The time now is 08:02 PM.