1755442 Members
3429 Online
108833 Solutions
New Discussion юеВ

Re: pfs_mountd / pfsd

 
Rupert Hawkes
Occasional Advisor

pfs_mountd / pfsd

Enviroment : HP-UX B.10.20 A 9000/859

I cannot seem to access my Rock Ridge format cdrom.

I have loaded the two pfs daemons (pfs_mountd and pfsd) but they don't seem to spawn the pfs_mountd.rpc and pfsd.rpc daemons. Why is this? I load the daemons like this...

nohup /usr/sbin/pfs_mountd &
nohup /usr/pfsd 4 &

the output from ps -ef | grep pfs looks like the following...

root 1399 1398 0 13:32:43 ttyp2 0:00 nohup /usr/sbin/pfs_mountd
root 1400 1398 0 13:32:56 ttyp2 0:00 nohup /usr/sbin/pfsd 4

Shouldn't there also be pfs_mountd.rpc and pfsd.rpc daemons running?????

When I try and pfs_mount the cdrom with...

pfs_mount /dev/dsk/c1t2d0 /cdrom

I get the following message...

pfs_mount: pfs_mountd at chibde:/dev/dsk/c1t2d0 not responding: : RPC_PROG_NOT_REGISTERED

pfs_mount: retrying /cdrom
pfs_mount: giving up on /cdrom

My /etc/pfs_fstab file looks like this...

/dev/dsk/c1t2d0 /cdrom pfs-rrip xlat=unix 0 0

HELP!
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: pfs_mountd / pfsd

Hi:

Make sure that your PATH contains '/usr/sbin' when you launch the daemons.

The following documents may help you:

# KBAN00000252 (PFS to mount Oracle, Rockridge and most PC formatted CD-ROM 11.x)

or:

# KBAN00000197 (PFS to mount Oracle, Rockridge and most PC formatted CD-ROM 10.x)

...JRF...

David McMullen_1
Occasional Advisor

Re: pfs_mountd / pfsd

try renaming /etc/resolv.conf to /etc/resolv.conf.old. This has worked for me in the past.
it's down the hall and to the left...
sys-sbd
Advisor

Re: pfs_mountd / pfsd

Hi,
to mount the cdrom :
-add the following line to the /etc/pfs_fstab :
/dev/dsk/c1t2d0 /cdrom pfs-rrip xlat=unix 0
/dev/dsk/c1t2d0 is the CD-ROM device file
- run the following command :
nohup /usr/sbin/pfs_mountd&
- run the following command :
nohup /usr/sbin/pfsd &
- insert the CD-ROM in the tray and run the following to mount the CD-ROM :
/usr/sbin/pfs_mount /cdrom

HK
Rupert Hawkes
Occasional Advisor

Re: pfs_mountd / pfsd

Thank you for the helpful advice however...

1) I do not have a /etc/resolv.conf to rename
2) I do not have access to the KBA00000252/KBA00000197 documents.

ARGH! The problem does seem to lie somewhere in the fact that the pfs_mountd.rpc and pfsd.rpc daemons are not being spawned NOT the actual commands for loading the pfs_mountd and pfsd daemons or the contents of the pfs_fstab file. Or am I barking up the wrong tree entirely.

Can anyone help?
Rupert Hawkes
Occasional Advisor

Re: pfs_mountd / pfsd

I have solved my problem! If I don't use the nohup command then the pfs_mount.rpc and pdfd.rpc daemons get loaded and all is well with the world again.

PHEW!
Darrel Louis
Honored Contributor

Re: pfs_mountd / pfsd

Rupert,

That's strange.
Because the nohup is a sort of debug file.

When you're getting this message:
pfs_mount: pfs_mountd at chibde:/dev/dsk/c1t2d0 not responding: : RPC_PROG_NOT_REGISTERED

It could be that the RPC services are not running.
Next time run "rpcinfo -p" to check if your portmapper is running.

Regards

Darrel

Rupert Hawkes
Occasional Advisor

Re: pfs_mountd / pfsd

Regarding nohup...

when I mentioned the solution I came up with to one of my UNIX tech guys he said...

"Oh you don't want to use nohup on 10.20 as it is unstable, it doesn't always work!"

Although the installation documentation I have for the software I'm trying to install and these forums have both recommended using to nohup command not using appears to resolve the problem. I may never get to the bottom of this but at least I have resolved this problem...

Thanks for everyones help.
Darrel Louis
Honored Contributor

Re: pfs_mountd / pfsd

Rupert,

I know that there was a problem with nohup, if glance was running in the background on your server.
Was this the case on your server?

Further I haven't come accross problems with nohup. I usually use it to test things in debug mode, without any problems.

Good Luck

Darrel