Operating System - HP-UX
1832478 Members
2718 Online
110043 Solutions
New Discussion

Re: CD not mounting correctly

 
SOLVED
Go to solution
dictum9
Super Advisor

CD not mounting correctly

This is on 4640 running 11.23
I get all this stuff and it's missing directories. Ownership is wrong.

# mount -F cdfs -o ro /dev/dsk/c0t0d0 /cdrom

l /cdrom

-xr-xr-x 1 -1 -1 14383792 Sep 1 11:30 RED_001F.RPM;1
-r-xr-xr-x 1 -1 -1 22814213 Sep 1 11:30 RED_0020.SH;1
-r-xr-xr-x 1 -1 -1 14549184 Sep 1 11:30 RED_0023.RPM;1
-r-xr-xr-x 1 -1 -1 23546202 Sep 1 11:30 RED_0024.SH;1
-r-xr-xr-x 1 -1 -1 14950061 Sep 1 11:30 RED_0025.RPM;1
-r-xr-xr-x 1 -1 -1 25411996 Sep 1 11:30 RED_0026.SH;1
-r-xr-xr-x 1 -1 -1 15177493 Sep 1 11:30 RED_0029.RPM;1
-r-xr-xr-x 1 -1 -1 26535798 Sep 1 11:30 RED_002A.SH;1
-r-xr-xr-x 1 -1 -1 15517447 Sep 1 11:30 RED_002B.RPM;1
-r-xr-xr-x 1 -1 -1 26761876 Sep 1 11:30 RED_002C.SH;1
-r-xr-xr-x 1 -1 -1 27296282 Sep 1 11:30 RED_0030.SH;1
-r-xr-xr-x 1 -1 -1 14148987 Sep 1 11:30 SUS_0037.RPM;1
-r-xr-xr-x 1 -1 -1 25119256 Sep 1 11:31 SUS_0038.SH;1
-r-xr-xr-x 1 -1 -1 13916605 Sep 1 11:31 SUS_003B.RPM;1
-r-xr-xr-x 1 -1 -1 24817476 Sep 1 11:31 SUS_003C.SH;1
-r-xr-xr-x 1 -1 -1 14636532 Sep 1 11:31 SUS_003F.RPM;1
-r-xr-xr-x 1 -1 -1 24210716 Sep 1 11:31 SUS_0040.SH;1
-r-xr-xr-x 1 -1 -1 13587331 Sep 1 11:31 SUS_0043.RPM;1
-r-xr-xr-x 1 -1 -1 23224788 Sep 1 11:31 SUS_0044.SH;1
-r-xr-xr-x 1 -1 -1 5723 Sep 1 11:31 MD5SUM.;1
-r-xr-xr-x 1 -1 -1 15570518 Sep 1 11:31 RED_002F.RPM;1
-r-xr-xr-x 1 -1 -1 14669365 Sep 1 11:31 SUS_003D.RPM;1
-r-xr-xr-x 1 -1 -1 17808430 Sep 1 11:31 RED_002D.RPM;1
-r-xr-xr-x 1 -1 -1 14781404 Sep 1 11:31 SUS_0039.RPM;1
-r-xr-xr-x 1 -1 -1 26357605 Sep 1 11:31 SUS_003A.SH;1
-r-xr-xr-x 1 -1 -1 3400668 Sep 1 11:31 SUS_0041.RPM;1
-r-xr-xr-x 1 -1 -1 10013842 Sep 1 11:31 SUS_0042.SH;1
dr-xr-xr-x 1 -1 -1 2048 Sep 1 17:38 UNI_0045
dr-xr-xr-x 1 -1 -1 2048 Sep 1 17:38 WIN_0046.20

6 REPLIES 6
OldSchool
Honored Contributor
Solution

Re: CD not mounting correctly

see:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1379832

one of the following should solve the issue:

mount -o rr,ro /dev/dsk/cxtxdx /mount/dir

mount -F cdfs -o cdcase /dev/dsk/cxtxdx /mount/dir
gstonian
Trusted Contributor

Re: CD not mounting correctly

Try

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

or

mount -F cdfs -e -o ro,rr /dev/dsk/c0t0d0 /cdrom
Steven E. Protter
Exalted Contributor

Re: CD not mounting correctly

Shalom,

You need different mount options.

http://www.hpux.ws/?p=20

That might give you a clue, though the document is designed for Oracle.

I see that you are trying to mount a Red Hat rpm disk on HP-UX. You can not to much other than be an NFS server.

If you are building a nfs install point for Red Hat you can just post the iso files to an NFS share. rpm's are only required for ftp and http boot.

More links:
http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12150/appbcdmount.htm

I can't try this but:

mount -t iso9660 /dev/cdrom /mnt/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
dictum9
Super Advisor

Re: CD not mounting correctly

I didn't read the links (yet) but none of the above options worked at all.

The CD was mounted on a PC and copied from there...
Patrick Wallek
Honored Contributor

Re: CD not mounting correctly

>>I didn't read the links (yet) but none of the above options worked at all.

So all responses got 10 points anyway? That makes a whole lot sense.

So what DID happen when you tried the various mount options? I'm really surprised the '-o rr' option didn't work.
Steven E. Protter
Exalted Contributor

Re: CD not mounting correctly

Please give me zero for this as my first response was unhelpfu.

So you are sticking a Red Hat CD in a Windoze CD/DVD-ROM, copying it and expecting to be able to mount it.

Better idea.

Stick it in a Red Hat system.

The OS will mount it automatically, and copy it to an NFS share.

Please state the purpose for your query? Why you are trying to do this might be helpful in helping you solve the problem.

Totally agree with Patrick on the point assignment, though it does make up for the 10 point responses that are often left without points.

Have fun. No more help from me without a mission statement.

:-)

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