Child pages
  • Configuring smartmontools for LSI 9750 RAID Controller on XenServer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is easy to install smartmontools on Citrix XenServer (see this article for instructions), but that smartmontools release is somewhat dated and does not support recent RAID controllers such as the LSI/3ware 9750 family of RAID controllers. When executed, the following error message is returned:

# smartctl -a -d 3ware,1 /dev/twl0
smartctl version 5.38 [i686-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 1)
Note: /dev/sdX many need to be replaced with /dev/tweN or /dev/twaN
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

So I have created a new smartmontools package which can be installed on Citrix XenServer and which is based on the latest smartmontools release 5.42. The RPM package has been compiled under CentOS 5.7 and it installs in CentOS 5, Citrix XenServer (which is based on CentOS 5), RedHat and probably many other distributions similar to CentOS and RedHat.

...

wget http://www.schirmacher.de/download/attachments/36012250/smartmontools-5.42-1.i386.rpm
wget http://vault.centos.org/5.4/os/i386/CentOS/mailx-8.1.1-44.2.2.i386.rpm
rpm -hiv smartmontools-5.42-1.i386.rpm mailx-8.1.1-44.2.2.i386.rpm

Preparing...                ########################################### [100%]
   1:mailx                  ########################################### [ 50%]
   2:smartmontools          ########################################### [100%]

 To update smartmontools, run rpm -U smartmontools-5.42-1.i386.rpm only.

Checking the RAID controller status

...