Operating System - HP-UX
1752810 Members
6027 Online
108789 Solutions
New Discussion юеВ

bdf failed / NFS problems !

 
MR VILLOT   MR MONTAGNE
Frequent Advisor

bdf failed / NFS problems !

Hi,

I want to do a bdf but I get :
bdf Cannot open /etc/mnttab Permission denied
If I do :
# strings mnttab , I get :
server:(pid709) /net ignore defaults 0 0 1067886097
server:/cdrom /cdrom nfs ro,nointr,retrans=3,timeo=7,wsize=2048 0 0 1067937258
I don't understand why I get nfs file system for /cdrom
It is not possible to umount /cdrom or cd /cdrom, I get :
NFS server not responding still trying

If I stop nfs.server, I have always the problem.
I use sam to stop NFS server -->OK but NFS client --> No good.

If you have any idea !
Thanks
Laurent
2 REPLIES 2
Rajeev  Shukla
Honored Contributor

Re: bdf failed / NFS problems !

This shows you are doing a NFS mount of the /cdrom from a server to this server which is unavailable.
To fix mount the cdrom back in the source server or reboot this server.
alos other thing you could try if it complains about permission of /etc/mnttab
delete the /etc/mnttab and do mount -a

Note: dont do the last step if the node is part of service guard.
Elmar P. Kolkman
Honored Contributor

Re: bdf failed / NFS problems !

Could it be that your bdf comes from a NFS mounted filesystem ?
bdf has a setuid bit on it. And since bdf complains /etc/mnttab is not readable, while you can open it using strings without a problem, something is wrong with bdf's permissions. Having it on a NFS mounted filesystem without root permissions could cause this behaviour...

As for the cdrom: I think you have the automounter running. And that works through NFS, normally.

So you have 2 problems: bdf is not working correctly and your NFS client has a problem.
Every problem has at least one solution. Only some solutions are harder to find.