1825678 Members
3852 Online
109686 Solutions
New Discussion

NFS mounting

 
Clifton Smith
Occasional Advisor

NFS mounting

I am using a PC NFS server program, and trying to mount my local CD ROM to an HP9000 box running HP-UX 11i. I keep getting a permission denied message, although I can mount to the CD ROM using a box which is running 10.20. What has changed? I noticed an nfskd running and multiple "stray" processes when I run ps -ef | grep nfs on the 11i system. Should these be there? And what is the nfskd daemon - I have never seen this?
9 REPLIES 9
Scott Van Kalken
Esteemed Contributor

Re: NFS mounting

You need to ensure that pcnfsd is running.

This can be set to start automatically on the unix box by changing the value in /etc/rc.config.d/nfsconf.

Then do a /sbin/init.d/nfs stop
/sbin/init.d/nfs start

That is assuming you don't actually have any other current NFS mounts.

Otherwise just start pcnfsd with whatever options you need.

Scott Van Kalken
Esteemed Contributor

Re: NFS mounting

oops

I forgot to add that options can be specified in /etc/pcnfsd.conf

usually it's only used for printing, but it can also be used to mounting from client machines.
Sanjay_6
Honored Contributor

Re: NFS mounting

Hi Clifton,

You may want to take a look at the thread below,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=38eb8912199ff2101f/screen=ckiDisplayDocument?docId=200000015504790

hope this helps.

Regds
Sanjay_6
Honored Contributor

Re: NFS mounting

Roger Baptiste
Honored Contributor

Re: NFS mounting

hi,

Are all the nfs client processes running on the hpux box?? Also, check the
directory to which you are trying to mount, in case anybody is using it or cd''ed to it.

There are also patch issues related with mounting NFS exported devices/filesystems.
Another check is to see whether root belongs to more
than eight groups.

Regarding nfskd daemon, i don't think it''s being used by 11.x , even though it is
running as a daemon under ppid 0 , meaning it cant be
killed.

-raj
Take it easy.
Clifton Smith
Occasional Advisor

Re: NFS mounting

Thanks for the help, although I may have not been clear. The error I am getting is Permission Denied when I mount from my HP box to the PC using this format:
mount :e/ /mnt/cdrom
This works fine with the 10.20 box, but not with the 11i box. Also when I grep for nfs on the 10.20 box, I do not see a nfskd running. Could nfskd be causing the permission problems?
Roger Baptiste
Honored Contributor

Re: NFS mounting

<mount :e/ /mnt/cdrom >>

You need to specify
the type of filesystem
in the mount command, otherwise it will try to
pick it from /etc/fstab or /etc/default/fs . if the
fstab file does not have a matching entry, it may not work as expected.

Also make sure all the nfs daemons are running. If necessary, stop and restart them on the 11.x box.

<>

No. nfskd is a new addition to 11.x and is not present
in 10.20. It is a kernel level process and supposedly will be put to use in the future. But, i doubt it has anything to do with your problem.

Make sure you are able to
mount it from 10.20 (now),
just to rule out any issue with the PC server.


-raj
Take it easy.
ramesh_6
Frequent Advisor

Re: NFS mounting

Hi Try all the steps below

1) pcnfsd can be started from the /sbin/init.d/nfs.server startup script
by setting the PCNFS_SERVER variable to 1 in /etc/rc.config.d/nfsconf,
or from the inetd daemon (see inetd(1M)).

2)It reads the configuration
file /etc/pcnfsd.conf, if present, and services RPC requests directed
to program number 150001.

3) The pcnfsd daemon now supports version 1
and version 2 of the PCNFSD protocol.

4) After editing the /etc/rc.config.d/nfsconf file and rebooting the system, pcnfsd will now run.


T G Manikandan
Honored Contributor

Re: NFS mounting

Hello,
1.try mounting the file system as read only as it is a cd .
mount -o ro :e /cdrom

2.I probably feel that you do not have premissions for the parent directory of your cd .Just try mounting e/rational or e/netscape
ex,
mount -o ro xx.xx.xx.xx:e/rational /cdrom

Thanks