Solved

Basic question abt SCSI

Posted on 2004-04-20
3
330 Views
Last Modified: 2013-12-15
I have an IDE hard disk(Samsung).I installed Knoppix on my hard disk and started using it.
 
   when I checked the lilo.conf it tried to pass a command line argument
hda=scsi,hdb=scsi
where hda is my hard disk and hdb is my cdrom.(I didn't made any changes to lilo.conf,The lilo.conf is automatically created during knoopix installation).
In kernel SCSI support is enabled and IDE-SCSI emulation is also enabled.
 
   By passing those above mentioned parametes, I think it is trying to use my IDE disk as SCSI disk . AM I CORRECT?.

I have some  qns.
    1.Is it  possible to use a IDE disk as a SCSI disk just by passing these parameter to kernel  and enabling support for SCSI in kernel?.
   2.I want to know whether my HD is detected as IDE or SCSI.
   For this i checked my dmesg.The message is
**********************************************************
hda: ST340015A, ATA DISK drive
hdb: GCR-8521B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=5169/240/63
ide-cd: passing drive hdb to ide-scsi emulation.
hdb: attached ide-scsi driver.
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 >
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HL-DT-ST Model: CD-ROM GCR-8521B Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
 ************************************************************
  From this I found that My CD-drive is detected as a SCSI device.But what abt my harddisk?.How to find out that my hardisk is detected as a SCSI device.Is there any other way?

3.I am trying to setup a ISCSI SAN in my network.For this the target sud be a SCSI device (as per the doc of iscsi).Is it possible to use my IDE disk for this purpose.??
4.How to findout the LUN of SCSI.can any one explain it briefly.
 Thanks in advance


       
0
Comment
Question by:palanisaravanan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10871011
I don't know why both hda=scsi and hdb=scsi are given as boot options since only the CD/DVD device needs or can use ide-scsi  emulation. That's required to be able to use a cdrecord to burn CD's. The hard drive (hda) is operating as an IDE device and that's shown by "hda: attached ide-disk driver" in the dmesg output.

So far as I know to be able to set up an ISCSI SAN you will need a SCSI controller in the system and one or more attached SCSI disks.
0
 

Author Comment

by:palanisaravanan
ID: 10875891
well.Thats what i too want to know.Why it passing the value of hda=scsi and if u note down the dmesg
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 >
 
  This also means my harddisk only,What this line actually means?>can any one tell me?.I am clueless.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 10878029
I don't know why Knoppix included hda=scsi in the boot options. I'd guess that it is just a simplification in the setup process and that it sets that for all IDE devices, without looking to see if they are CD writers or not.

:/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 >" says that there's a disk on the Master disk on the Primary IDE controller that has primary partitions 1 & 2 and extended partitions 5-9.
0

Featured Post

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question