Grid Fixes

This commit is contained in:
Mike Reeves
2021-08-13 18:22:02 -04:00
parent 9404cb635d
commit aad14b2461

View File

@@ -35,7 +35,7 @@ appliance_check() {
} }
check_nsm_raid() { check_nsm_raid() {
PERCCLI=$(/opt/raidtools/perccli/perccli64 /c0/v0 show|grep Raid|grep Optl) PERCCLI=$(/opt/raidtools/perccli/perccli64 /c0/v0 show|grep RAID|grep Optl)
MEGACTL=$(/opt/raidtools/megasasctl |grep optimal) MEGACTL=$(/opt/raidtools/megasasctl |grep optimal)
if [[ $APPLIANCE == '1' ]]; then if [[ $APPLIANCE == '1' ]]; then
@@ -52,7 +52,7 @@ check_nsm_raid() {
} }
check_boss_raid() { check_boss_raid() {
MVCLI=$(/opt/raidtools/megasasctl |grep optimal) MVCLI=$(/usr/local/bin/mvcli info -o vd |grep status |grep functional)
if [[ -n $DUDEYOUGOTADELL ]]; then if [[ -n $DUDEYOUGOTADELL ]]; then
if [[ -n $MVCLI ]]; then if [[ -n $MVCLI ]]; then