1833459 Members
3164 Online
110052 Solutions
New Discussion

Re: pfs_mount

 
sheevm
Regular Advisor

pfs_mount

I pfs_mount the CD and I logged out of that session. I cannot BDF or cd /cdrom. The mount point is not working. This is the second time this is happening. If I leave that session on until I unmount that everything is fine.

Only way out is to reboot the server. Any one has any idea resolving this without rebooting?

Thanks
be good and do good
11 REPLIES 11
Sachin Patel
Honored Contributor

Re: pfs_mount

Hi Raji,

use folloing way then even if you logout of session it will still stays on.

#/usr/sbin/pfs_mountd &
#/usr/sbin/pfsd 1 &
#pfs_mount -x unix /dev/dsk/????? /cdrom

then at anytime you can run
#pfs_umount /cdrom

Sachin
Is photography a hobby or another way to spend $
Uday_S_Ankolekar
Honored Contributor

Re: pfs_mount


Did you try pfs_umount /cdrom ..??

Also try to Kill pfs processes, if nothing works reboot ..!

-USA
Good Luck..
John Poff
Honored Contributor

Re: pfs_mount

Hello,

See if your statd and lockd daemons are running, and start them if they aren't. That is about the only trick I know to escape the pfs hung problem without rebooting.

Speaking of pfs, I'd sure love to see that wonderful piece of software on a product roadmap that ends up in the trashcan!

JP
sheevm
Regular Advisor

Re: pfs_mount

Sachin:

I exactly did what you say. But if I logout of the session my pfs processes are gone.

It issuppose to run in the background but it does not. Is there any patch? Anyone know.

At this point nothing is working.

Raji
be good and do good
MANOJ SRIVASTAVA
Honored Contributor

Re: pfs_mount

Hi Raji


the process is as :

pfs_mountd &
pfsd &
pfs_mount /dev/dsk/cxtydz /cdrom

now there are 4 process which will run in background the mount and pfsd and the rpc 's , to fully stop it you will have to kill those and that sjould be done with the least one first otherwise the system will hand on bdf display etc


Manoj Srivastava
Jeff Schussele
Honored Contributor

Re: pfs_mount

Hi Raji,

Try preceeding the pfs commands with nohup.

EX:
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd 1 &
#nohup pfs_mount -x unix /dev/dsk/????? /cdrom

This forces them to ignore hangups.

HTH,
Jeff



PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
sheevm
Regular Advisor

Re: pfs_mount

Thanks for your response. Nothing worked I have scheduled a reboot.

We need to use /dev/rdsk with pfs_mount I understand not /dev/dsk. If I am wrong correct me.

Thanks
be good and do good
Jeff Schussele
Honored Contributor

Re: pfs_mount

Raji,

You're correct /dev/rdsk/cxtydz must be used.
Sorry I didn't notice that earlier.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: pfs_mount

Hi Raji:

pfs uses raw devices and thereby you can use the 'rdsk' when mounting.

Also regarding patch, apply these if you have not yet:

HP-UX 11.00 - PHCO_16438 (s700_800 11.00 PFS cumulative patch)

HTH,
Shiju
Life is a promise, fulfill it!
V. V. Ravi Kumar_1
Respected Contributor

Re: pfs_mount

hi,

use nohup along with the commands. one more thing i suggest is if ur machine is not an nfs server, stop nfs processes. if it is an nfs server mount CD on some other machine and nfs mount the CD on local server.

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

regds
ravi
Never Say No
Sanjay_6
Honored Contributor

Re: pfs_mount

Hi Raji,

You ran the pfs daemons and logged out, that was a problem. If you want to do that, run the pfs daemons with a nohup, this will not kill the daemons if you logout.

#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
#pfs_mount -o xlat=unix /dev/rdsk/????? /cdrom

then at anytime you can run
#pfs_umount /cdrom

Hope this helps.

Regds