Operating System - HP-UX
1820074 Members
3152 Online
109608 Solutions
New Discussion юеВ

mounting iso9660 CD-ROM on HP-UX11

 
SOLVED
Go to solution
kousikasa06
New Member

mounting iso9660 CD-ROM on HP-UX11

hi forum,
am facing a strange problem in mounting iso9660 CD-ROM on HP-UX11 machine. my CDROM consists of directories in CAPITAL LETTERS with long filenames ex. "INSTALLER;1"
but, while reading the mounted CDROM, still the file names and directories appear in the same way.
My requirement is read them as INSTALLER.
even, i have tried with -o cdcase options,
syntax:
/dev/dsk/c2t1d0 /cdrom pfs-iso9660 xlat=unix 0 0
/dev/dsk/c2t1d0 /cdrom pfs-iso9660 ro,suid 0 0
and also with mount -r -o cdcase /dev/dsk/c6t1d0 /cdrom.

Its not working at my end.
could u help me in this issues???

regards,
rajesh
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: mounting iso9660 CD-ROM on HP-UX11

Shalom Kouskiasa,

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

That might help.

Maybe this:

mount -o ro /dev/dsk/c0t0d0 /cdrom

I have a script somewhere

/usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/c3t2d0 /cdrom

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
Wayne Patton_1
Advisor

Re: mounting iso9660 CD-ROM on HP-UX11

Try this . . . It works for us.

mount -F cdfs -o cdcase /dev/dsk/device_file_name /mount_point

-wayne
Geoff Wild
Honored Contributor
Solution

Re: mounting iso9660 CD-ROM on HP-UX11

Install Rockridge Extensions:

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).

Installation of patches requires a reboot.

swinstall -x autoreboot=true -x autoselect_patches=TRUE -x patch_match_target=TRUE -x patch_filter=*
.* -s /var/software/hp/rockridge @`hostname`


To mount a Rockridge CD (instead of using pfs_mount):

mount -F cdfs -o ro,rr,noauto /dev/cdrom /cdrom

To unmount:

umount /cdrom

To share out the cd over NFS:

exportfs -i -o ro,anon=0 /cdrom

On remote:

mount -F nfs sha1:/cdrom /zmnt


Note: client server does NOT need to have Rock Ridge patches installed to access the cdrom remotely.



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: mounting iso9660 CD-ROM on HP-UX11

In all my examples use:

/dev/dsk/c6t1d0

As the device path to the cdrom. I should have taken the time to fix my cutting and pasting.

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
Sylvain CROUET
Respected Contributor

Re: mounting iso9660 CD-ROM on HP-UX11

Try the cdcase option of the mount command.
kousikasa06
New Member

Re: mounting iso9660 CD-ROM on HP-UX11

Hi steven,jeorg and others,

very gud morning to all of u,

i have used the mentioned suggestions,but unfortunately, they could not make my installation process success.

i used:

mount -F cdfs -o rr /dev/dsk/c1t2d0 /cdrom
mount -o ro /dev/dsk/c0t0d0 /cdrom
/usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/c3t2d0 /cdrom
mount -F cdfs -o cdcase /dev/dsk/device_file_name /mount_point
but, could not succeed.

my req:
my cd consists of files and dir names all in CAPITALS, when i mounted, am just seeing them as SETUP.EXE;1 and some times installe instead of INSTALLER.just for example.

i want a mounting command, with which i can mount the CD and read the contents as INSTALLER(complete name without any semicolons in capitals)

could u suggest me in this regard??
thanks in advance,

./rajesh

kousikasa06
New Member

Re: mounting iso9660 CD-ROM on HP-UX11

Hi,

my cdrom contains file and directories as
ARGOSOFT SETUP.EXE INSTALLER and ..
i used the following mounting command
mount -F cdfs -o cdcase /dev/dsk/... /cdrom
now it mounted the CDROM, and the view is lik this.

argofos setup.exe installe

i have install script in dir called "installe"
i executed "./install" command but it was not a sucess and i got
# ./install
interpreter "/bin/sh" not found
file link resolves to "/usr/bin/sh"
sh: ./install: not found.
#
so, could u pls help in this regard???

regards,
rajesh
Bill Hassell
Honored Contributor

Re: mounting iso9660 CD-ROM on HP-UX11

You will not be successful until you add the 3 patches mentioned above. The -orr option is simply ignored unless you have these patches installed. The all UPPERCASE letters is the 'normal' ISO-9660 directory (with 8.3 UPPERCASE and ;1 version) being displayed. The -ocdcase option will NOT work because this option simply changes UPPERCASE to lowerecase. PFS is very unstable in 11.00 and higher.

So to access the RockRidge filename directories, you need the above mentioned patches. Then the -orr will work.


Bill Hassell, sysadmin

Re: mounting iso9660 CD-ROM on HP-UX11

Hi,
As Geoff Wild & Hassel said, get the Rock-Ridge extension patches installed. Do not use 'pfs_mount' at all, as it is very unstable with 11.0 onwards. We had same issue, after loading the Rock Ridge extension pateches it worked well.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
kousikasa06
New Member

Re: mounting iso9660 CD-ROM on HP-UX11

hi team,
very gud mor!!

well, to say,now i succeeded in mounting the cdrom on hp-ux with the three patches installed and having some extra code in /etc/pfs_fstab.

here to say, i used pfs mount with no_version option.it worked nicely.

thanks for ur valuable suggestions and looking forward to keep my healthy relationship with u all.

truly,
rajesh