mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
Merged fix-977226-pt-summary-lsi-raid
This commit is contained in:
@@ -1139,7 +1139,8 @@ find_raid_controller_dmesg () { local PTFUNCNAME=find_raid_controller_dmesg;
|
|||||||
|
|
||||||
find_raid_controller_lspci () { local PTFUNCNAME=find_raid_controller_lspci;
|
find_raid_controller_lspci () { local PTFUNCNAME=find_raid_controller_lspci;
|
||||||
local file="$1"
|
local file="$1"
|
||||||
if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" "${file}"; then
|
if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" "${file}" \
|
||||||
|
|| grep -q "RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS" $file; then
|
||||||
echo 'LSI Logic MegaRAID SAS'
|
echo 'LSI Logic MegaRAID SAS'
|
||||||
elif grep -q "Fusion-MPT SAS" "${file}"; then
|
elif grep -q "Fusion-MPT SAS" "${file}"; then
|
||||||
echo 'Fusion-MPT SAS'
|
echo 'Fusion-MPT SAS'
|
||||||
|
@@ -444,7 +444,8 @@ find_raid_controller_dmesg () { local PTFUNCNAME=find_raid_controller_dmesg;
|
|||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
find_raid_controller_lspci () { local PTFUNCNAME=find_raid_controller_lspci;
|
find_raid_controller_lspci () { local PTFUNCNAME=find_raid_controller_lspci;
|
||||||
local file="$1"
|
local file="$1"
|
||||||
if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" "${file}"; then
|
if grep -q "RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS" "${file}" \
|
||||||
|
|| grep -q "RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS" $file; then
|
||||||
echo 'LSI Logic MegaRAID SAS'
|
echo 'LSI Logic MegaRAID SAS'
|
||||||
elif grep -q "Fusion-MPT SAS" "${file}"; then
|
elif grep -q "Fusion-MPT SAS" "${file}"; then
|
||||||
echo 'Fusion-MPT SAS'
|
echo 'Fusion-MPT SAS'
|
||||||
|
Reference in New Issue
Block a user