cancel
Showing results for 
Search instead for 
Did you mean: 

Using CD ROM

SOLVED
Go to solution
Shahbaz_1
Regular Advisor

Using CD ROM

Hi,
I am trying to use CD ROM (hp unix 11), but ...
after inserting the CD, I am issuing the folowing command,
/usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c3t2d0 /cdrom

But getting the following error
/usr/sbin/pfs_mount: giving up on /cdrom

Do I need to start any process before using pfs_mount commnad?

Please ....?

Thanks in Advance
Syed
Let's share the great thing "THE KNOWLEDGE"
7 REPLIES
Tom Geudens
Honored Contributor

Re: Using CD ROM

Hi,
The following is mandatory before using pfs-mount :
cd /tmp
nohup /usr/sbin/pfs_mountd ???v &
sleep 10
nohup /usr/sbin/pfsd 4 ???v &
sleep 10

Hope this helps,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
Tom Geudens
Honored Contributor

Re: Using CD ROM

Hi,
A little "add-on"
You might want to make a /etc/pfs_fstab file containing the following line.
/dev/cdrom /SD_CDROM pfs-rrip retry=3,soft,intr,xlat=unix 0 0

You can then mount every Oracle CD with a simple pfs_mount -a (!!! after starting the daemons !!!).

Another important issue. Do a
pfs_umount /SD_CDROM
directly after you stop using the CD. You can not get the CD out of the drive unless you do this ! After unmounting you may kill the pfs-daemons in reverse order.

Be carefull, PFS is a really tricky way to mount CD's.

Hope this helps,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
Wodisch
Honored Contributor

Re: Using CD ROM

Hello,

for PFS to be able to work, you need to have "NFS" up and running, at least the "portmapper" (i.e. "rpcbind").

HTH,
Wodisch
Sanjay_6
Honored Contributor

Re: Using CD ROM

Hi Syed,

you have to start two pfs processes before you do pfs_mount,

# nohup pfs_mountd &
# nohup pfsd &

Now mount the cdrom,

/usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c3t2d0 /cdrom

Hope this helps.

Regds
Shahbaz_1
Regular Advisor

Re: Using CD ROM

Thanks every body,

Hi Sanjay, Can you pls let me know,
I start two pfs processes and mounth the CD.
after pfs_umount, do I need to kill two running pfs processes?

Thanks & Regards
Syed
Let's share the great thing "THE KNOWLEDGE"
Patrick Wallek
Honored Contributor

Re: Using CD ROM

Yes, you can kill the pfs daemons AFTER you pfs_umount the CD. Be SURE that you kill them in the reverse order that you started them.

# kill pid_of_pfsd

# kill pid_of_pfs_mountd

Be warned that if you mess up while using pfs daemons, it can require a reboot of your system to clean up.

If you do a search (on the left-hand menu) and type if 'pfs daemon' you will see lots of threads on the usage of the pfs daemons.
Sanjay_6
Honored Contributor
Solution

Re: Using CD ROM

Hi Syed,

Once you have finished using the cdrom, installing whatever product is there in cdrom, you unmount the cdrom,

pfs_umount /cdrom

Then look for the pfs processes and kill them,

ps -ef |grep pfs

you will see 4 processes, pfsd, pfs_mountd, rpc.pfsd, rpc.pfs_mountd, kill them in this order pfsd, pfs_mountd, rpc.pfsd and rpc.pfs_mountd

Hope this helps.

Regds