1755672 Members
3244 Online
108837 Solutions
New Discussion юеВ

Re: Problems mounting CD

 
SOLVED
Go to solution
dictum9
Super Advisor

Problems mounting CD


This is 11.11 on A class.

I am trying to mount Oracle CD. It looks almost right but the username/group is messed up and so are the file names. Am I using the right options? What's going on?


#:mount -F cdfs -o cdcase /dev/dsk/c0t1d0 /cdrom
# ll /cdrom
total 34
dr-xr-xr-x 1 4294967295 4294967295 2048 May 13 2002 install
dr-xr-xr-x 1 4294967295 4294967295 2048 May 13 2002 lgto
-r-xr-xr-x 1 4294967295 4294967295 651 May 13 2002 runinsta.
dr-xr-xr-x 1 4294967295 4294967295 2048 May 13 2002 response
dr-xr-xr-x 1 4294967295 4294967295 2048 Jun 10 2002 doc
-r-xr-xr-x 1 4294967295 4294967295 5334 Jun 10 2002 index.htm
dr-xr-xr-x 1 4294967295 4294967295 2048 Jun 10 2002
11 REPLIES 11
Jeff_Traigle
Honored Contributor

Re: Problems mounting CD

This works for us:

mount -F cdfs -o ro,rr,noauto /dev/dsk/c0t1d0 /cdrom
--
Jeff Traigle
Steven E. Protter
Exalted Contributor
Solution

Re: Problems mounting CD

Shalom,

See the script in my post in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=70859

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
uadm26
Super Advisor

Re: Problems mounting CD

Hi,

To mount Oracle CD's I use pfs_mount, it's easy and work's fine. Using "nohup" and "&" you send the processes to background, and worry about shell logout or system-hang-up.
To mount the CD:
Example:
nohup pfs_mountd&

nohup pfsd&

pfs_mount -van -xlat unix /dev/rdsk/c0t1d0 /SD_CDROM

Then to eject the CD:

pfs_umount /dev/rdsk/c0t1d0
ps -edaf | grep pfs
kill -9 "pid dos pfs"

Good Luck...
JT
uadm26
Super Advisor

Re: Problems mounting CD

Hi, correction
Using "nohup" and "&" you send the processes to background, and you don't worry about shell logout or system-hang-up.
Paul Sperry
Honored Contributor

Re: Problems mounting CD

How did you mount the CD. I'd sujest using
RockRidge.

For 11.0 :

PHKL_28060 PHCO_26449 PHKL_26450

For 11.11:

PHKL_25760 PHCO_25841 PHKL_26269


Then to mount

/usr/sbin/mount -F cdfs -e -o ro,rr device
Sp4admin
Trusted Contributor

Re: Problems mounting CD

Hi Etc,

pf-mount some time will hang the server if you don't have the current patch. We use the commands listed below. Normaly the 1st one works for us.

mount -F cdfs -o rr /dev/dsk/cxtxdx /cdrom

mount -o cdcase /dev/dsk/cxtxdx /cdrom

mount -o rr,ro /xxxx/xxxx /xxxx/xxxx

Sp,
James R. Ferguson
Acclaimed Contributor

Re: Problems mounting CD

Hi:

Unless this is a must-have, right-now, *don't* fiddle with a 'pfs_mount'. Instead, install any matches you need to do a native mode mount. Jeff has provided the syntax. If you can't wait to install the patches, which require a reboot, do yourself a favor and make this the last time you 'pfs_mount'!

The rationale for *not* using 'pfs_mount' is documentented in my response in the thread Steven mentions:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=70859

I also noted the 11.11 patches you need, there, although they almost certainly have been superseded.

Regards!

...JRF...
dictum9
Super Advisor

Re: Problems mounting CD

Thanks for the replies, but not one command above worked and I tried all of them. I am sure they work on other systems, but on 11.11 it bombed. Not sure if this is a patch issue or what. (It is a fresh install)

Browsing the referenced thread, I was able to get the following to work:


pfsd &
ps -fe| grep pfs
pfs_mount -o xlat=unix /dev/dsk/c0t1d0 /cdrom


I will explore working alternatives without pfs_mount, using just "mount".
James R. Ferguson
Acclaimed Contributor

Re: Problems mounting CD

Hi (again):

Assuming that you install (or have installed) the requisite patches for native CD mounts, you should be able to do:

# /usr/sbin/mount -F cdfs -e -o ro,rr device_file

The current 11.11 patches you need are:

PHCO_25841
PHKL_34153
PHKL_26269

You must install all three patches for the mount feature to work.

Regards!

...JRF...