Operating System - HP-UX
1752795 Members
6302 Online
108789 Solutions
New Discussion юеВ

Re: How to unmount the NFS. Please help.

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: How to unmount the NFS. Please help.

>I commented the respective entry in the /etc/fstab and /etc/mnttab

No need to edit mnttab since that is generated by the kernel.
apple
Super Advisor

Re: How to unmount the NFS. Please help.

Denny,
If I didn't edit the /etc/mnntab, when i issue bdf, it still say NFS server B not responding still trying... errmmm hope to hear from u
Dennis Handly
Acclaimed Contributor

Re: How to unmount the NFS. Please help.

>If I didn't edit the /etc/mnntab, when i issue bdf, it still say NFS server B not responding still trying

mnttab(4) implies that syncer(1m) will update mnttab every 30 seconds. So if you edit it, it will be put back. It also says if removed, it will recreate it. You may try renaming it to see what it puts back. Note the WARNINGS in mnttab(4).

So if editing mnttab did work for bdf, it wouldn't work for long.
apple
Super Advisor

Re: How to unmount the NFS. Please help.

Denny,
You are right, the problem persist. what should i do now? i wanna have the permanent solution to it? is it umount? would really appreciate you could guide me. Thank you
Dennis Handly
Acclaimed Contributor

Re: How to unmount the NFS. Please help.

>i wanna have the permanent solution to it?

As mentioned by Robert-Jan, you need to be on a newer OS or you have to reboot. And you already edited fstab.
apple
Super Advisor

Re: How to unmount the NFS. Please help.

It seem I have to reboot it.
shall i use like this:
# umount -h kedidi -a
kedidi is the host name

Dennis Handly
Acclaimed Contributor

Re: How to unmount the NFS. Please help.

>It seems I have to reboot it.

Yes, if the following umount doesn't work.

# umount -h kedidi -a

You don't mix -a with -h.
And I think you have tried it and it failed, so just edit /etc/fstab to remove them then reboot.

Aneesh Mohan
Honored Contributor

Re: How to unmount the NFS. Please help.

Hi ,

Check this link ,it may help you to solve this issue.

http://docs.hp.com/en/3929/ForciblyUnmountingNFSFilesystems.pdf

Thanks,
Aneesh
Indrajit Bhagat
Regular Advisor

Re: How to unmount the NFS. Please help.

check the
1. df -k
2. check whether there is any NFS file system mounted.
3. umount /mnt.
4. remove any entry made in /etc/fstab for NFS file system for that particular file sytsem.
apple
Super Advisor

Re: How to unmount the NFS. Please help.

Mr Rajit,
When I tried to umount, it says:

# umount /backup
nfs umount: nfs_unmount: /backup: is busy

# fuser -cu /backup
/backup:

# uname -a
HP-UX puyuh B.11.00 A 9000/898 687663371 two-user license

I can't reboot the server, since the application are running some processses. If i can't really do, i have to wait till they allow us to do restart