Operating System - Linux
1829494 Members
1521 Online
109991 Solutions
New Discussion

how to know howmany harddisks connceted in a scsi controller

 
Guna_2
Regular Advisor

how to know howmany harddisks connceted in a scsi controller

Dear all

If i have 2 scsi controller as well as 5 no of harddisks in my machine.

if i want to know exactly how many harddisks connceted in a single controller and the scsi id's. how can i get this details?


Rgds & Thanx
Guna
4 REPLIES 4
Atul Gautam
Valued Contributor

Re: how to know howmany harddisks connceted in a scsi controller

Hey Guna,

You can check out and see if the file "/proc/scsi/scsi" helps you out if your's is Red Hat Linux.




Atul
Guna_2
Regular Advisor

Re: how to know howmany harddisks connceted in a scsi controller

Hi Atul,

Thanks Mr.Atul


And one more doubt. Can u please tell me what is the device file for scsi.


Thanx & Rgds,
Guna
George Liu_4
Trusted Contributor

Re: how to know howmany harddisks connceted in a scsi controller

fdisk -l
Vitaly Karasik_1
Honored Contributor

Re: how to know howmany harddisks connceted in a scsi controller

>what is the device file for scsi
in most cases it's

/dev/sd[a,b,c]

But for some HP smartarray controllers with cciss driver it's

/dev/cciss/cXdY

Rgds,
Vitaly