Operating System - HP-UX
1834666 Members
2404 Online
110069 Solutions
New Discussion

Re: [ pfs_mount problem ]

 
madhavabk
Regular Advisor

[ pfs_mount problem ]

Hi all (thanks in advance )

I am facing some problem like this.
I mounted CD with pfs_mount -o xlat=unix /dev/dsk/c0t0d0 /cdrom

It mounted successfully. Then i unmounted with umount command. Now neither CD is ejecting, nor the mount commands are working.

How to resolve such problems if accidentally happens.

Thanks
5 REPLIES 5
Keith Bryson
Honored Contributor

Re: [ pfs_mount problem ]

Hi there

Try 'ps -ef | grep pfs' - are there any pfsd or pfs_mountd processes? You may want to kill them.

Regards - Keith
Arse-cover at all costs
Robert-Jan Goossens
Honored Contributor

Re: [ pfs_mount problem ]

Hi,

Answer is very simple, don't use pfs_mount :-)

From
http://mirrors.develooper.com/hpux/#FAQ

My CD-ROM doesn't show what I expect
It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).

No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0

Regards,
Robert-Jan
bhavin asokan
Honored Contributor

Re: [ pfs_mount problem ]

hi,

may be a foolish question.which command you have tried to unmount the cdrom , umount or pfs_umount.

regds
Florian Heigl (new acc)
Honored Contributor

Re: [ pfs_mount problem ]

pfs_umount - the 'real' mount should be removed by pfsd.

Also, I'd strongly advise against killing pfsd *ever* while something is mounted through it - if there is a problem and it does not get resolved prior to killing, chances are very low You get rid of it without rebooting the system.
yesterday I stood at the edge. Today I'm one step ahead.
sreejith_4
Frequent Advisor

Re: [ pfs_mount problem ]

Hi,

You should use pfs_umount to unmount a CD which is mounted using pfs_mount.
If you want to take out the CD without using pfs_umount, you have to kill pfsd and pfs_mountd

Thanks
Sreejith M