LP #977226: pt-summary doesn't detect LSI RAID control
Description
Environment
Smart Checklist
Activity

lpjirasync January 24, 2018 at 3:30 PM
**Comment from Launchpad by: Baron Schwartz on: 17-04-2012 15:46:55
Seems reasonable to just incorporate this fix, then, and assume nothing else changes.

lpjirasync January 24, 2018 at 3:30 PM
**Comment from Launchpad by: Dave Juntgen on: 17-04-2012 15:34:05
In my own bubble - yes.
On Tue, Apr 17, 2012 at 3:25 PM, Baron Schwartz <baron@percona.com> wrote:
> Does the tool work well after you make this patch, and can it get status
> and format it correctly?
>
> –
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/977226
>
> Title:
> pt-summary new LSI RAID control undetected.
>
> Status in Percona Toolkit:
> New
>
> Bug description:
> New LSI RAID SAS Control is not detected in pt-summary
>
> [root@xxx /usr/local/bin]# lspci | grep "RAID bus*"
> 03:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260 (rev 05)
>
> In parse_raid_controller_lspci() the follow needs to be added:
>
> ...
>
> if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" $file; then
> echo 'LSI Logic MegaRAID SAS'
> elsif grep -q "RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS" $file; then
> echo 'LSI Logic MegaRAID SAS'
>
> ...
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/percona-toolkit/+bug/977226/+subscriptions
–
David W. Juntgen

lpjirasync January 24, 2018 at 3:30 PM
**Comment from Launchpad by: Baron Schwartz on: 17-04-2012 15:25:33
Does the tool work well after you make this patch, and can it get status and format it correctly?
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Priority
High
Details
Details
Assignee
Reporter

Priority
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

**Reported in Launchpad by Dave Juntgen last update 10-08-2012 18:15:03
New LSI RAID SAS Control is not detected in pt-summary
[root@xxx /usr/local/bin]# lspci | grep "RAID bus*"
03:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260 (rev 05)
In parse_raid_controller_lspci() the follow needs to be added:
...
if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" $file; then
echo 'LSI Logic MegaRAID SAS'
elsif grep -q "RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS" $file; then
echo 'LSI Logic MegaRAID SAS'
...