|
From: Alex S. <ml...@os...> - 2013-10-14 20:37:15
|
On 10/14/2013 09:56 PM, Chanda Yadavalli (cyadaval) wrote: > Hello Alex and Christian, > > We did some experiments where we commented out the SMART STATUS check > in both JBOD and RAID modes. In JBOD mode, we use: > "smartctl -H /dev/sdb", and in RAID mode, we use "smartctl -H /dev/sdb -d megaraid,4". > > In the first case, we get back rc=0 and in the second case, rc=4. > > LSI says they retun same error status in both cases, but smartctl seems > to report it differently. In JBOD mode controller exporting all devices to FS as normal disk devs, so megaraid IOCTL based API is not in use at all. It is great that LSI trying to deal with this, my requests were [silently] ignored. I would recommend them to look on the code, e.g. @ http://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/os_linux.cpp#l865 . If they can provide a patch to get the SMART health status (or some reference code to do this) i would be happy to add patch to the product. But from my personal point of view problem is in the firmware SAT layer. |