Operating System - HP-UX
1829576 Members
2794 Online
109992 Solutions
New Discussion

Cannot remove mount point.

 
SOLVED
Go to solution
Tim Krego_1
Frequent Advisor

Cannot remove mount point.

FYI: Newbie on K460, HP/UX 11.00

I have a /net mount point that came from somewhere I do not know. It is not in fstab and when I try to umount it says cannot find in /etc/mnttab.

When I try to do a rmdir /net I get Cannot remove mountable directory.
HP/UX Newbie
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Cannot remove mount point.

Be careful Tim:

This might be an automount mount point. When you say it is a mountpoint do you mean that it
appear when you do a bdf command?
If not is it simply a directory.

If this is an automount directory, kill automount and it should disappear.

Clay
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Cannot remove mount point.

Hi Tim

Do a fuser -c /net and get the list of process running with the mountpoint. It can be possible that u dont need to delete it at all . Just after killing those processes just umount /net .

Manoj Srivastava
James R. Ferguson
Acclaimed Contributor

Re: Cannot remove mount point.

Hi Tim:

The '/net' directory is a special one used by the automounter of NFS (network file systems). See the man pages for 'automount' for a bit more detail.

...JRF...
Patrick Wallek
Honored Contributor
Solution

Re: Cannot remove mount point.

If you are not using the Automounter, go into /etc/rc.config.d/nfsconf and make sure AUTOMOUNT=0

By default the automounter daemon is enabled.

The /net will not disappear until you either 1) reboot the system, or 2) stop and restart the NFS daemons.
Shahul
Esteemed Contributor

Re: Cannot remove mount point.


Hi

Normally filesystem will get mounted thru two files. One is /etc/fstab, and the other is /etc/auto.direct.

First U make sure that this particular entry is not there in /etc/fstab.

Secondly edit /etc/auto.direct and see whether entry is there or not. If yes, remove that line.

Then got /sbin/init.d directory do this

#nfs.client stop
#nfs.clent start

Now try removing mount point. If still problem exists U will have to reboot to solve this. Once U reboot problem will get solved.

Bets of luck

Shahul
Tim Krego_1
Frequent Advisor

Re: Cannot remove mount point.

I think the /net showed up when I did a pfs_mount for the Oracle 8.1.6 CD I needed to install.

Thanks for all the help.
HP/UX Newbie