|
From: Artem B. <ap...@ng...> - 2011-11-30 12:51:56
|
dmesg | grep "4:2:0:0:", probably the same is possible with scsi tools. [ 2.815139] scsi 4:2:0:0: Direct-Access LSI MR9280-4i4e 2.13 PQ: 0 ANSI: 5 [ 2.822693] sd 4:2:0:0: [sda] 27341619200 512-byte logical blocks: (13.9 TB/12.7 TiB) [ 2.822725] sd 4:2:0:0: Attached scsi generic sg0 type 0 [ 2.822907] sd 4:2:0:0: [sda] Write Protect is off [ 2.822910] sd 4:2:0:0: [sda] Mode Sense: 1f 00 00 08 [ 2.822948] sd 4:2:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.874686] sd 4:2:0:0: [sda] Attached SCSI disk 4:2:0:0 - LD0 4:2:1:0 - LD1 4:2:1:0 - LD2 Then you may find bay number with "MegaCli64 -ldpdinfo -a0", where Slot number is bay number. Enclosure Device ID: 24 Slot Number: 0 Drive's postion: DiskGroup: 1, Span: 6, Arm: 0 Enclosure position: 0 Device Id: 8 On 30.11.2011 17:12, Federico Simonetti (9PROOF) wrote: > > Hello, > > I’m trying to read the association between RAID bay and OS device in the > PERC/MegaRAID controllers. > > > For example I would like to know that disk in bay 0 is seen by the system as > /dev/sda, while disk in bay 5 is seen as /dev/sdb. > > Is there a way to “read” such associations via Smartmontools? > > Thank you. > > Best regards. > > Federico > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support |