Operating System - HP-UX
1848415 Members
2707 Online
104027 Solutions
New Discussion

pfs_mount "giving up on CDROM" message

 
SOLVED
Go to solution
Chris Fadrowski
Super Advisor

pfs_mount "giving up on CDROM" message

I can mount my cdrom just fine, but when i do a pfs_mount, i get a message saying

giving up on cdrom

How can i fix this problem. I tried

pfs_mount /dev/dsk/cxtxd0 and that doesn't work either.
8 REPLIES 8
Helen French
Honored Contributor

Re: pfs_mount "giving up on CDROM" message

Hi Chris:

Try this:

1. Kill the pfs_mountd.rpc and pfsd.rpc processes.
2. Re-start the pfs_mountd.rpc and pfsd.rpc processes.
3. Resume your pfs_mount operation.

HTH,
Shiju

Life is a promise, fulfill it!
hpuxrox
Respected Contributor
Solution

Re: pfs_mount "giving up on CDROM" message

You will first need to setup a pfstab
Then These are the steps.

nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom

Chris Fadrowski
Super Advisor

Re: pfs_mount "giving up on CDROM" message

i was able to do this pfs_mount this morning, i had to reboot the box and now it doesn't work. Just thought i would mention this.
hpuxrox
Respected Contributor

Re: pfs_mount "giving up on CDROM" message

I am guessing then that your pfs daemons were not restarted.

read my first post on how to start them

-Yates
Sachin Patel
Honored Contributor

Re: pfs_mount "giving up on CDROM" message

If it is not working after reboot then your daemon is not started. Start as Mr yates says.

Sachin
Is photography a hobby or another way to spend $
James R. Ferguson
Acclaimed Contributor

Re: pfs_mount "giving up on CDROM" message

Hi Chris:

Do:

# rpcinfo -p

...make sure that you see both 'nfs' and 'mountd' listed.

If either or both are missing, edit 'etc/rc.config.d/nfsconf' as:

NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=4
START_MOUNTD=1

...and do:

# /sbin/init.d/nfs.client stop
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.server start
# /sbin/init.d/nfs.client start

If you are running 11.11 get patch PHKL_25760 and PHCO_25841. These have been recently announced and obviate the 'pfs_mount's enabling you to do:

# mount -F cdfs -o rr /dev/dsk/

These will be ported to 11.0 sometime next month, so watch for their announcement and/or search the patch database then. Of course, don't look for these in 10.20, since new patches are not being released for this old release.

Regards!

...JRF...

hpuxrox
Respected Contributor

Re: pfs_mount "giving up on CDROM" message

Chris,

James is correct. You also need to be sure NFS in enbaled and running. PFS uses NFS to mount the cdrom.

-Yates
MANOJ SRIVASTAVA
Honored Contributor

Re: pfs_mount "giving up on CDROM" message

Hi Chris

Do the following .

1. ps -aef | grep pfs
2. kill all the process starting witht he lowest one interms of the ids.
3. pfsd &
4. pfs_mount d &
5. pfs_mount /dev/dsk/cxtydz /cdrom .

Please ensure that you are not in /cdrom .

Manoj Srivastava