1822895 Members
3469 Online
109645 Solutions
New Discussion юеВ

pfs_mount

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

pfs_mount

I have a cdrom that went bad on a HPUX system. I want to pfs_mount a cdrom from another system so I can do an install on the system with the bad cdrom. I keep getting an error message:
pfs_mount -o hard mailtest:/cdrom /cdrom
pfs_mount: access denied for mailtest:/cdrom.
pfs_mount: giving up on /cdrom

Is there a file I need to update to give permission to mount?

UNIX IS GOOD
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor
Solution

Re: pfs_mount

Hi Robert,

Perform these steps on the local system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. Add the filesystem to /etc/pfs_fstab

4. Add the filesystem to /etc/pfs_exports

5. pfs_exportfs -a

6. pfs_mount /cdrom

Perform these steps on the remote system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. pfs_mount -o xlat=unix remotesystemA:/cdrom /localmnt_pnt

Or install the rockridge Patches.

#
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

http://mirrors.develooper.com/hpux/

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: pfs_mount

On the server where you have mounted cd, did you export it with pfs_export command?? If you have used pfs_mount to mount cdrom on server, you will have to export it with pfs_export.

Anil
There is no substitute to HARDWORK
denise_7
Frequent Advisor

Re: pfs_mount

Robert,

I had problems with pfs_mount about a month or two ago. I looked in knowledge base and found a document that tells of two or three patches that, when installed, will allow you to mount a rockbridge ext CD without going through the pfs_mount.

Check knowledge base for these patches and see if you have the patches installed. This is really what you need to do, because pfs_mount is causing alot of problems for many people.

Denise