Operating System - HP-UX
1745832 Members
4191 Online
108723 Solutions
New Discussion юеВ

NFS server not responding

 

NFS server not responding

Hello,

I'm trying to mount an Oracle CD-ROM on a stand-alone
HPUX 11 server.

I know that the oracle CD format is Rockridge and that
I have to use pfs_mount. I'm following the steps below.

1. Ensure NFS is running
# rpcinfo -p
(NFS and mountd are running)
2. create /etc/pfs_fstab file with entry:
/dev/dsk/c2t2d0 /SD_CDROM pfs-rrip xlat=unix 0
3. Load pfs background processes
# pfs_mountd &
# pfsd&
4. Ensure the processes are running
# ps -ef|grep pfs
5. Try to mount the CD-ROM
# pfs_mount /SD_CDROM

NFS server tngtest1 not responding still trying
NFS server tngtest1 not responding still trying
NFS server tngtest1 not responding still trying
.
.
.
That goes on forever and I have to kill the session
without the CD-ROM to be mounted.
Any help will be appreciated.
Thanks
Achilleas Nikolaou
5 REPLIES 5
Kondala Raju
Advisor

Re: NFS server not responding

Hi ,
1.If you want to mount CD on ur own system you dont need to use nfs .
2.So you can use mount -F CDFS -o ro /dev/dsk/c??? /cdorm .

Re: NFS server not responding

Thanks.

However, I need to use pfs that uses nfs in order to mount the Oracle CD since
it is in Rockridge format.
Ahmed Ibrahim_1
New Member

Re: NFS server not responding

Hi,

I hope it is resolved but it not try this i hope it will help.

1)modify the /pfs_fstab file with the following :
/dev/dsk/c2t2d0 /SD_CDROM pfs-rrip xlat=unix 0 0

2)Load pfs background processes
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
3)Check if process running

4) mount cdrom
#pfs_mount -o xlat=unix /dev/rdks/c2t2d0 /SD_CDROM

Regards

Ahmed

S. Karunanidhi
Occasional Advisor

Re: NFS server not responding

Hi!
Start /usr/sbin/pfs_mountd.rpc also.
A simple way which I use to mount the Oracle CDROM is,

#/usr/sbin/pfs_mountd.rpc &
#/usr/sbin/pfs_moutd &
#/usr/sbin/pfsd &
#/usr/sbin/pfs_mount /dev/dsk/c0t0d0 /cdrom

This should solve your problem.(NOte that I have not used /etc/pfs_fstab)

Regards,
- Karunanidhi.S
Karunanidhi.S
Navied Yousuf
Occasional Advisor

Re: NFS server not responding

Greetings,

PFS uses rpc to function so does NFS. For PFS to function correctly you don't need NFS running, however you need mountd rpc daemon running. It can be started either from nfsconf (in /etc/rc.config.d dir) or from /etc/inetd.conf file but not from both places.
You should not start pfs_mountd.rpc manually as suggested in one of the response. pfs_mountd and pfsd startd their rpc counterparts.

I suggest creating pfs startup/shutdown scripts. This way you can circumvent any problems when starting pfs daemons. You can also start/stop pfs just by executing pfs start or pfs stop.
I noticed when I start pfs_mount command (see below) with soft and intr options,it can be interrupted.
pfs_mount -t rrip -x unix -o retry=3,soft,intr /dev/dsk/cxtydz /CDROM
Note retry has been changed from default value of 10000 to 3. This try mount operation three times.

NY
Knowledge is useless unless shared.