Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mount CD ROM Error 1

Status
Not open for further replies.

Tranbo

IS-IT--Management
Apr 14, 2010
75
0
0
US
Question for SCO-OSR6

what is the proper command to mount the CD-Rom? my CD-Rom is recognized by the system below:

Alias - Address - Inquiry String
-------- -------- --------------
hba3 - c1b0t2 - (ide,1) Generic IDE/ATAPI
cdrom1 - c1b0t0l0 - SONY DVD RW DW-Q120A PYS1

See sc01(7) for information about CD-ROM device nodes.
#

Here is the error

# mount /dev/rcd0 /cd-rom
UX:mount.svr5: ERROR: File system type cannot be determined
# mount -F iso9660 /dev/rcd0 /cd-rom
UX:cdfs mount.svr5: INFO: CDFS mount is read-only.
UX:cdfs mount.svr5: ERROR: Cannot mount: /dev/cd0
UX:cdfs mount.svr5: ERROR: I/O error
#

Try other tips from this forum still doesn't work

# mkdev cdrom
Mass storage devices are configured automatically
when the system is booted with a new device present.

Current CD-ROM configuration:

Alias - Address - Inquiry String
-------- -------- --------------
hba4 - c2b0t2 - (ide,1) Generic IDE/ATAPI
cdrom1 - c2b0t0l0 - SONY DVD RW DW-Q120A PYS1

See sc01(7) for information about CD-ROM device nodes.
# mount /dev/cdrom1 /cd-rom
UX:mount.svr5: ERROR: File system type cannot be determined
#


Thanks advance for your help.


 
What is the output of this command ?
dtype /dev/cd0

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
# dtype /dev/cd0
/dev/cd0 I/O error

-----

when I put in the installation media the kernel will boot up and I was able to install from CD-Rom...but I can't install mp2 from CD-ROM because of CD is not available
 
Any one? I'm about to give it up on getting this CD-Rom mountable.

The mystery here is the CDROM drive only work when install new server and after that it no longer available for the new server install ?????
 
does 6 list devices during boot like earlier systems? that would give you the right device name to use. should be able to confirm that it exists in /dev.

My experience is all 5.0.5 or earlier so may not apply.


Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
And is there a mountable CD in the drive?


Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Yes, there is a cd with MP2 on it, I can read and install mp2 on other server. I can also burn CD on this Server using command line below. but I can not mount the D_mn! CD Drive

mkisofs –f –R –r –l –J –V “DiskLabel” –o /u1/tmp/rwdisk.isa RWARC

cdrecord –v –pad –data –sao /u1/tmp/rwdisk.isa
 
And the crosscheck in 5.0.5 is in /etc/cdrecord for the hardware device IIRC. Should match with what you are attempting to mount.
This from memory, don't have a system up at present.

Understand the frustration. Went through it with SCSI devices until I built up stock so I could test by swapping.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Ed, we are on to something here...

content of CD Record

# The default device, if not specified elsewhere
#
CDR_DEVICE=ide

# drive name device speed fifosize driveropts
#
teac= 1,3,0 -1 -1 ""
panasonic= 1,4,0 -1 -1 ""
plextor= 1,4,0 -1 -1 ""
sanyo= 1,4,0 -1 -1 burnfree
yamaha= 1,5,0 -1 -1 ""
ide= 2,0,0 -1 -1 burnfree
cdrom= 0,6,0 2 1m ""


The mkdev hd shown ide is the correct parameter...I think

# mkdev cdrom
Mass storage devices are configured automatically
when the system is booted with a new device present.

Current CD-ROM configuration:

Alias - Address - Inquiry String
-------- -------- --------------
hba4 - c2b0t2 - (ide,1) Generic IDE/ATAPI
cdrom1 - c2b0t0l0 - SONY DVD RW DW-Q120A PYS1

See sc01(7) for information about CD-ROM device nodes.
#



 
Got it!!!! to work by accident LOL

Using the media created with cdrecord using command line above on this server it work!!!!. In this case the media was a DVD-R format

# mount /dev/cdrom/cdrom1 /cd-rom
UX:cdfs mount.svr5: INFO: CDFS mount is read-only.
#

All other CD media will not work.

Thank-You all for helping.
 
Here is more info on this drive ...per PH advice

# dtype /dev/cd0
/dev/cd0 : RCKRDG filesystem

 
My conclusion at this point is: The Server can only read and mount what it created...kind like "don't eat what it didn't kill" LOL I believed it is can only read and create rockridge files format see the bottom of this post

# cdrecord -v -pad -data -sao /u1/tmp/rwdisk.isa
Cdrecord-ProDVD-Clone 2.01 (i586-sco-sysv5uw7.1.4) Copyright (C) 1995-2004 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 32768
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-Q120A '
Revision : 'PYS1'
Device seems to be: Generic CD-ROM.
Current: CD-R
Profile: DVD+RW/DL
Profile: DVD+R
Profile: DVD+RW
Profile: 0x0016
Profile: 0x0015
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R (current)
Profile: CD-ROM
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 996864 = 973 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 86 MB padsize: 30 KB
Total size: 99 MB (09:51.18) = 44339 sectors
Lout start: 99 MB (09:53/14) = 44339 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11634 (97:26/66)
ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 315507
Forcespeed is OFF.
Starting to write CD/DVD at speed 40 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01: 86 of 86 MB written (fifo 100%) [buf 79%] 22.4x.
Track 01: writing 30 KB of pad data.
Track 01: Total bytes read/written: 90775552/90806272 (44339 sectors).
Writing time: 53.412s
Average write speed 15.0x.
Min drive buffer fill was 79%
Fixating...
Fixating time: 4.029s
BURN-Free was never needed.
cdrecord: fifo had 2771 puts and 2771 gets.
cdrecord: fifo was 0 times empty and 1277 times full, min fill was 96%.


# mount /dev/cd0 /cd-rom
UX:cdfs mount.svr5: INFO: CDFS mount is read-only.
#

# umount /cd-rom
# dtype /dev/cd0
/dev/cd0 : RCKRDG filesystem


 
Nothing on my 5.0.5 systems is DVD so my experience may have no relevance but I move(d) stuff built by cdrecord on CDs between machines without issues back when I was transferring data between 15 or 16 machines.

Because all the systems had SCSI tape before I shifted to CDR the units I used for burning were also SCSI to keep the I/O simple. Anything I built and burned on the drives would then go onto the system by "mount /dev/cd0 /cd0" with no switches. The data backup, the ISO build from the backup, the burning of the image, and a later move of the backup to the storage queue were CRONTAB driven. It also helped that the data and CDR were on different controllers and that any transfers, data to backup, backup to ISO, ISO to burner, and backup to backup queue never involved one controller or one drive for both duties.

You might want to try burning and reading with different switches to see what effects that might have.


Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top