Click to See Complete Forum and Search --> : Howto mount a scsi??


m3rlin
11-29-2001, 05:38 AM
Hi! Finaly i made my cd-writer to work, and finaly i made to emulate scsi in my cd-rom, the program 1 use to burn cd's he detects both devices, but there is one problem, since i put my cd-rom as scsi i can't mount it anymore, how do i mount scsi devices, when i try to mount he returns the following errors:
"mount: wrong fs type, bad option, bad superblock on /dev/cdrom"
i tryed like "mount /dev/hdc /cdrom" and he returns "/dev/hdc: Error of input/output"
and i tryed with the optin -t iso9660 but with no efect, he realy can't mount my device :( , have any ideas, Thanks!!!

Hena
11-29-2001, 07:49 AM
It seems that it doesn't matter whether the cd-rom is scsi or ide during mounting. Atleast when i was using both ide and scsi cd-rom, the commands in fstab were similar. If you have RH as distribution, you could try my fstab entry on your cd-rom.
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
Now, that seems to need program kudzu, so you could make sure thats installed.

Now the manual command, if given. Should not include /dev/sdc, since that is the third scsi hard drive. Instead your cd-roms are numbered like /dev/cdrom, /dev/cdrom1 etc. So the correct format would be similar to:
mount -t iso9660 /dev/cdrom /mnt/cdrom

Make sure you have the /dev/cdrom directory created before you try to mount your cd-rom.

bdg1983
11-29-2001, 08:39 AM
Check your /var/log/messages to see what scsi device your cdwriter uses. Look for mention of scd0/scd1 or sr0/sr1.

dvdnut
11-29-2001, 11:44 AM
mine is

/mnt/cdrom /dev/scd0

the problem i have is that, in the mandrake update tool, when it ejects the cdrom, it ejects my dvdrom (cdrom2. '/dev/cdrom') instead of the burner, so i have to use terminal to eject the cd so i can continue to update the files and un/install files.

a pain and a hindrance but not life threatening

and there is no config on changing the source of the cd's on the app, other than removin all sources and starting again

mangeli
11-29-2001, 01:24 PM
Some scii are at /dev/sr0

m3rlin
11-29-2001, 08:35 PM
you guys as always wore right :), my cdrom is /dev/sr0, but there's something that i wannt to do, is to give my system user the possibility of mounting the cdrom (/dev/sr0), but only the root can do this, what permissions do i have to give for the user can mount it?
Thanks :)

bdg1983
11-30-2001, 06:38 AM
Originally posted by m3rlin:
<STRONG>you guys as always wore right :), my cdrom is /dev/sr0, but there's something that i wannt to do, is to give my system user the possibility of mounting the cdrom (/dev/sr0), but only the root can do this, what permissions do i have to give for the user can mount it?
Thanks :)</STRONG>

That's one of the popular questions asked here at LNO.

Have a look at the fstab example posted by Hena and change owner to user.

m3rlin
11-30-2001, 08:31 AM
Okey Thanks, i will take a look :)