1850527 Members
2610 Online
104054 Solutions
New Discussion

Re: PFS_MOUNT error

 
Brando Sumayao
Advisor

PFS_MOUNT error

I am having pfs_mount problems. I am trying to mount on /cdrom and I am getting the ff error:

pfs_mountd.rpc: Can't stat /cdrom: No such file or directory
pfs_mount: /dev/dsk/c5t2d0 on /cdrom: stat failed: No such file or@
pfs_mount: giving up on /cdrom

I have checked the ff:

I have an entry on the /etc/pfs_fstab file as such: /dev/dsk/c5t2d0 /cdrom pfs-rrip xlat=unix 0 0

Any thoughts on what I am doing wrong? Thanks!



11 REPLIES 11
Victor BERRIDGE
Honored Contributor

Re: PFS_MOUNT error

Hi,
Are you sure /cdrom exist?
Are you sure it is a rockridge extension cd you are trying to mount?


Just thoughts...

All the best

Victor
Brando Sumayao
Advisor

Re: PFS_MOUNT error

Hi Vic,

/cdrom does exist and yes, I am using the rockridge format.

Brando
Michael Tully
Honored Contributor

Re: PFS_MOUNT error

Hi,

Here is the procedure for mounting a
Rockridge CD

Add this entry to /etc/pfs_fstab

/dev/dsk/c5t2d0 /SD_CDROM pfs-rrip xlat=unix 10

Mount the cd in the drive

# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
# /usr/sbin/pfs_mount /SD_CDROM

Make sure the directory is created and you
have not got your shell in that directory at
the time of mounting.

HTH
-Michael
Anyone for a Mutiny ?
Victor BERRIDGE
Honored Contributor

Re: PFS_MOUNT error

Ok...
You did:
/usr/sbin/pfs_mountd &
and
followed with:
/usr/sbin/pfsd &
you verified :
ps -ef|grep pfs...
and checked that the device declared in pfs_fstab is the cdrom:
ioscan -funC disk

I know there are variantes on what youcan find in /etc/pfs_fstab:
/dev/dsk/c3t2d0 /SD_CDROM pfs-rrip xlat=unix 0
or:
/dev/dsk/c2t2d0 /SD_CDROM pfs-rrip xlat=unix 1 0
or:
/dev/dsk/c2t2d0 /SD_CDROM /cdrom pfs-iso9660 ro,suid 0

Keep us informed!

All the best
Victor
Brando Sumayao
Advisor

Re: PFS_MOUNT error

Mike,

Tried your steps, but I am still getting this error:

pfs_mount: /dev/dsk/c5t2d0 on /cdrom: stat failed: No such file or@
pfs_mount: giving up on /cdrom

I am using /cdrom instead of /SD_CDROM and I know that this is defined in the /etc/pfs_fstab file.

I will try Vic's suggestions next.

Brando
Brando Sumayao
Advisor

Re: PFS_MOUNT error

No luck!

This error line bothers me:
pfs_mount: /dev/dsk/c5t2d0 on /cdrom: stat failed: No such file or@

What does this mean?

Thanks.
Michael Tully
Honored Contributor

Re: PFS_MOUNT error

Hi,

Lets try a slightly different approach....
Can you mount any CD at all??

Insert say an application CD (HPUX),
mount it and try to access it. I want to
see if that makes any difference

# mount /dev/dsk/c5t2d0 /cdrom
Again make sure that nothing else is mounted
there already (bdf, /etc/mnttab)
and try to view the directory.

-Michael
Anyone for a Mutiny ?
Brando Sumayao
Advisor

Re: PFS_MOUNT error

Michael and Victor,

Thanks for all your help. What I did was I went ahead and mounted the CD using SAM instead and it worked.

What I was trying to accomplish was to copy the contents of Oracle 8i CDs 1 and 2 to staging areas so that I can install from the local disk instead of the CDs.

Again, appreciate all the help anyway. Everyday is a learning experience!

Brando
Victor BERRIDGE
Honored Contributor

Re: PFS_MOUNT error

Hi again Brando,
Are you sure that /dev/dsk/c5t2d0 exist?
Im surprised you can do it through sam and not by hand...
(Never thought sam could do pfs_mount..., thus my first reply - is your cd rockridge (oracle often says yes but Ive found cases where they were not...)
It looks like someon has copied the /etc/pfs_fstab from a machine to another but unfortunately the cdrom isnt the same device file...
Ive got cdrom drive :
on a L2000 at /dev/dsk/c3t2d0
on a N4000 at /dev/dsk/c0t1d0
on a K class at /dev/dsk/c2t2d0
etc...
reason why I asked you to double check with
ioscan -funC disk...

Happy you got out of trouble anyway...

All the best

Victor

Sanjay_6
Honored Contributor

Re: PFS_MOUNT error

Hi Brando,

check the permissions for the directory /cdrom. Set it as 777. Also check and see that you are defining the correct device file for the CDROM.

Hope this helps.

Regds
Jairo Campana
Trusted Contributor

Re: PFS_MOUNT error

to prove this:-
Mount the cdrom CD of Oracle /SD_CDROM or create /cdrom

nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount ???t rrip ???x unix /dev/dsk/cxtxdx /cdrom

- DISPLAY
export DISPLAY=xxx.xxx.xxx.xxx:0

legionx