1832512 Members
4465 Online
110043 Solutions
New Discussion

mount cdrom???

 
SOLVED
Go to solution
Thana
Occasional Contributor

mount cdrom???

Hi
I try to mount cdrom. It show me very strange.
-----------------------------------
Before mount

drwxrwxrwx 2 root sys 96 Aug 18 2004 cdrom

mount /dev/dsk/c0t0d0 /cdrom

After mount
dr-xr-xr-x 1 -1 -1 2048 Jun 11 2002 cdrom

When I try to read cdrom. It show strange list of file as followed.

dr-xr-xr-x 1 -1 -1 2048 Jun 11 2002 DOC
-r-xr-xr-x 1 -1 -1 5334 Jun 11 2002 INDEX.HTM;1
dr-xr-xr-x 1 -1 -1 2048 May 14 2002 INSTALL
dr-xr-xr-x 1 -1 -1 2048 May 14 2002 LGTO
dr-xr-xr-x 1 -1 -1 2048 May 14 2002 RESPONSE
-r-xr-xr-x 1 -1 -1 651 May 14 2002 RUNINSTA.;1
dr-xr-xr-x 1 -1 -1 2048 Jun 11 2002 STAGE

** file name with extension html show as HTM;1.

Evenif I try to mount with command.

mount -F cdfs /dev/dsk/c0t0d0 /cdrom

It still got same result.

How can I do. CD-rom is oracle install for HP-UX
13 REPLIES 13
Alexander M. Ermes
Honored Contributor

Re: mount cdrom???

Hi there.
Did you try pfsmount ? Described somewhere in Oracle Documentation.
There is also a patch to avoid this, but i cannot remember the number.
Perhaps somebody else has still got it.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Paul_481
Respected Contributor

Re: mount cdrom???

Hi Thana,

I also dont know what the patch is but if you are in a hurry follow this steps.


#vi /etc/fstab

input the ff.

/dev/dsk/ /CDROM pfs-rrip xlat=unix 1 0

at the command line enter

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

mount the CDROM

#/usr/sbin/pfs_mount /CDROM

to unmount

#/usr/sbin/pfs_umount /CDROM

Regards,
Paul
Joseph Loo
Honored Contributor

Re: mount cdrom???

hi,

try this:

1. create file, /etc/pfs_fstab
2. add entry to /etc/pfs_fstab
# "device name" /cdrom pfs-rrip xlat=unix 0 0
3. run pfs daemon at the background
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
4. start nfs server
# /sbin/init.d/nfs.server start
make sure NFS_CLIENT and NFS_SERVER=1 in /etc/rc.config.d/nfsconf
5. mount and unmount file system
# pfs_mount /cdrom
# pfs_umount /cdrom

regards.
what you do not see does not mean you should not believe
Paul_481
Respected Contributor
Solution

Re: mount cdrom???

Hi Thana,

Here's the patches that you need to mount a rock ridge cdrom format

PHCO_25841
PHKL_26269
PHKL_32035

after installing these patches you can mount your cdrom using this command

# mount -F cdfs -o rr /dev/dsk/c#t#d# /CDROM

Regards,
Paul
Paul_481
Respected Contributor

Re: mount cdrom???

By the way, these patches are for kernel so you need to reboot your system.

Regards,
Paul
Yogeeraj_1
Honored Contributor

Re: mount cdrom???

hi,

search for "My CD-ROM doesn't show what I expect" at the site below:
http://www.cmve.net/~merijn/


regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Thana
Occasional Contributor

Re: mount cdrom???

๠Hi I try many way as your recommend.
And follow oracle 9i installation booklet.
I can not mount it. the result as followed.
Every command take very long time and not success.

(pstuxs24):/etc# cat fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol9 /aps vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol10 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol11 /oradata vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/dsk/c0t0d0 /SD_CDROM pfs-rrip xlat=unix 1 0
(pstuxs24):/etc# pfs_mount /SD_CDROM
pfs_mount: /etc/pfs_fstab: No such file or directory
Usage: pfs_mount [-v -f -t -o -x [type|option|xlat] ... [mount_device] [ mount_point ]
(pstuxs24):/etc# pfs_mount -t iso9660 /dev/dsk/c0t0d0 /SD_CDROM
(pstuxs24):/etc# nohup /usr/sbin/pfs_mountd &
[5] 2597
(pstuxs24):/etc# Sending output to nohup.out

(pstuxs24):/etc# nohup /usr/sbin/pfsd &
[6] 2599
(pstuxs24):/etc# Sending output to nohup.out

(pstuxs24):/etc# /usr/sbin/pfs_mount -t rrip -x unix \ /dev/dsk/c0t0d0 /SD_CDROM

Any idea? If I can not mount. I will patch system. But now I will try firs
Joseph Loo
Honored Contributor

Re: mount cdrom???

hi,

if you do not want to apply the patch which will need a reboot to kick into effect. follow the steps i have given cause i used it to mount the Oracle 9i CD.

u have to start NFS in order to pfs_mount the CD.

regards.
what you do not see does not mean you should not believe
Sergejs Svitnevs
Honored Contributor

Re: mount cdrom???

Paul_481
Respected Contributor

Re: mount cdrom???

Hi Thana,

My mistake, you should create /etc/pfs_fstab

#vi /etc/pfs_fstab

and add

/dev/dsk/c0t0d0 /CDROM pfs-rrip xlat=unix 1 0

then run the daemon and mount/umount the filesystem

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

#/usr/sbin/pfs_mount /CDROM
#/usr/sbin/pfs_umount /CDROM


Regards,
Paul
Paul_481
Respected Contributor

Re: mount cdrom???

Additional, the patches i gave you previously was for HPUX 11.11, for HPUX 11.00 here's the patch

PHKL_26450
PHCO_26449
PHKL_28060

Regards,
Paul
V. Nyga
Honored Contributor

Re: mount cdrom???

Hi,

have you tried if you already have the RockRidge option?
mount -F cdfs -o rr,ro,cdcase /dev/dsk/c0t0d0 /cdrom

And very much times I've read the advice here in the forum NOT to use pfs_mount.
It's not very stable. You can also read it at Merijn's site. The link you got above.

The RockRidge option works good and is simple to use.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Thana
Occasional Contributor

Re: mount cdrom???

This curcumstnace occured because of
many pfsd daemon run many time and can not kill. Then before mount rock-ridge cd-rom must to check daemon first.
My senior describe me that each daemon make very high I/O load. Then it just reboot and mount again no need to patch.