For minimal installation make sure to have pciutils before proceeding.
yum install pciutils -y
Determine which script to be us an run command below
lspci -nn | grep LSI
If you found result like below then use script lsi_raid_check
02:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 05)
Setup Script lsi_raid_check
cd /opt wget http://ipfusions.com/setup/MegaRAID.tar.gz tar -zxf /opt/MegaRAID.tar.gz mkdir -p /ips1 cd /ips1 wget http://ipfusions.com/scripts/lsi_raid_check chmod 0755 /ips1/lsi_raid_check (crontab -l; echo "1 1 * * * /ips1/lsi_raid_check") | crontab - service crond reload
Please run this command and check if there is output show.
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -ALL
————————————————————————————————————————————————————————————
If you found result like below then use script mpt_raid_check
02:00.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS [1000:0056] (rev 08)
Setup script mpt_raid_check (For CentOS 6)
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install daemonize -y mkdir -p /ips1 cd /ips1 wget http://ipfusions.com/setup/mpt-status-1.2.0-3.el6.x86_64.rpm rpm -Uvh mpt-status-1.2.0-3.el6.x86_64.rpm wget http://ipfusions.com/scripts/mpt_raid_check chmod 0755 /ips1/mpt_raid_check (crontab -l; echo "1 1 * * * /ips1/mpt_raid_check") | crontab - service crond reload
Please run command
mpt-status -i 0
and check if there is output show.
Setup script mpt_raid_check (For CentOS 5)
mkdir -p /ips1 cd /ips1 wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5-4.noarch.rpm yum install daemonize -y wget http://ipfusions.com/setup/mpt-status-1.2.0-3.el5.centos.x86_64.rpm rpm -Uvh mpt-status-1.2.0-3.el5.centos.x86_64.rpm wget http://ipfusions.com/scripts/mpt_raid_check chmod 0755 /ips1/mpt_raid_check (crontab -l; echo "1 1 * * * /ips1/mpt_raid_check") | crontab - service crond reload
Please run command
mpt-status -i 0
and check if there is output show.
Setup script mpt_raid_check (For Ubuntu)
mkdir -p /ips1 cd /ips1 apt-get install mpt-status -y modprobe mptctl wget http://ipfusions.com/scripts/mpt_raid_check chmod 0755 /ips1/mpt_raid_check (crontab -l; echo "1 1 * * * /ips1/mpt_raid_check") | crontab - service cron reload
Please run command
mpt-status -i 0
and check if there is output show.
***P/S: run
modprobe mptctl
if the error show mptctl is not loaded in the kernel
————————————————————————————————————————————————————————————
If you found result like below then use script sas2_raid_check
01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
Setup script sas2_raid_check
mkdir -p /ips1 cd /ips1 wget http://ipfusions.com/scripts/sas2ircu chmod 0755 /ips1/sas2ircu mv /ips1/sas2ircu /bin/ wget http://ipfusions.com/scripts/sas2_raid_check chmod 0755 /ips1/sas2_raid_check (crontab -l; echo "1 1 * * * /ips1/sas2_raid_check") | crontab - service crond reload
Please run command
sas2ircu 0 DISPLAY
and check if there is output show.