Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Basic question abt SCSI

Posted on 2004-04-20
3
Medium Priority
?
336 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 750 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

722 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