Re: megaraid + smartctl
Alex Samorukov <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
On 06/11/2014 12:31 PM, Janardhan Molumuri wrote:
>
> I've a MegaRAID controller and with multiple logical drives (raid1)
> created. The devices appear as /dev/{sda,sdb,sdc} to OS and MegaRAID
> disk ids as follows.
>
> Logical disk0: (mapped to /dev/sda)
> physical disk-ID: 9
>
> Logical disk1: (mapped to /dev/sdb)
> physical disk-ID: 10
> physical disk-ID: 11
> physical disk-ID: 12
> physical disk-ID: 13
>
> Interestingly when I query the disk attributes of each physical disks
> using /dev/{sda,sdb}, the results are same.
>
> smartctl -d sat+megaraid,13 -a /dev/sda
> smartctl -d sat+megaraid,13 -a /dev/sdb
>
>
> It seems the device doesn't really indicate anything when working with
> MegaRAID as seen above - Let me know if the above assumption is
> correct or something wrong with the functioning of smartctl.
>
> I am using smartctl v5.43, latest version v6.2 also reports the same.
Hi.
I am recommending to run smartctl --scan-open on smartmontools 6.2. It
implements "virtual" bus syntax which is not mapped to the logical
drives at all.
Logical mapping using /dev/sd* syntax is a little tricky. We only
checking which physical controller it is and after this using unique
device number on controller. So in your case same drive for different
logical controllers is expected behavior.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems