- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to find SCSI hard disk in the system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 07:56 PM
тАО06-28-2004 07:56 PM
How to find SCSI hard disk in the system
how do i find SCSI hard disk installed in the system and scan all devices.
Thx!
Ashan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 08:18 PM
тАО06-28-2004 08:18 PM
Re: How to find SCSI hard disk in the system
will tell you what scsi devices you have
try also
cdrecord -scanbus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 08:50 PM
тАО06-28-2004 08:50 PM
Re: How to find SCSI hard disk in the system
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 09:04 PM
тАО06-28-2004 09:04 PM
Re: How to find SCSI hard disk in the system
lsscsi - list all SCSI devices (or hosts) currently on system (from man lsscsi)
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 10:52 PM
тАО06-28-2004 10:52 PM
Re: How to find SCSI hard disk in the system
List all the devices on your system and then grep for SCSI and then disk
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 11:45 PM
тАО06-28-2004 11:45 PM
Re: How to find SCSI hard disk in the system
For example, many Proliant servers use Smart Array RAID adapter and cciss driver uses not-so-standart names: /dev/cciss/cXdY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 12:41 AM
тАО06-29-2004 12:41 AM
Re: How to find SCSI hard disk in the system
As noted there is no ioscan for Linux. Too bad.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 12:28 PM
тАО06-30-2004 12:28 PM
Re: How to find SCSI hard disk in the system
Although there isn't an ioscan per-se, SuSE Linux has a really neat tool called hwinfo. It will give you a complete breakdown of your system (including SCSI devices). For example, I have a SCSI tape drive on this system:
36: SCSI 103.0: 10601 Tape
[Created at scsi.237]
Unique ID: m9fb.3rUV42LTd0F
Parent ID: bSAa.urRinWvBqX1
Hardware Class: unknown
Model: "Quantum DLT4000"
Vendor: "Quantum"
Device: "DLT4000"
Revision: "D782"
Driver: "aic7xxx"
Device File: /dev/st0
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #22 (SCSI storage controller)
What more info could you ask for? :-)
It might work under other distributions (I have never tried).
You also have:
sginfo -l
/dev/scd0 /dev/sr0 /dev/nst0
/dev/sg0 [=/dev/scd0 scsi0 ch=0 id=0 lun=0]
/dev/sg1 [scsi1 ch=0 id=2 lun=0]
/dev/sg2 [=/dev/nst0 scsi1 ch=0 id=3 lun=0]
OK, but not quite as informative as hwinfo.
And...
sg_map
/dev/sg0 /dev/scd0
/dev/sg1
/dev/sg2 /dev/st0
And even...
sg_scan
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em] type=5
/dev/sg1: scsi1 channel=0 id=2 lun=0 type=3
/dev/sg2: scsi1 channel=0 id=3 lun=0 type=1
You should be able to find out all you need to with these tools....
Col
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 03:39 PM
тАО06-30-2004 03:39 PM
Re: How to find SCSI hard disk in the system
The file names are like cciss0,cciss1 etc.
Sajeesh