Installation

Run the commands below on the Citrix XenServer console:

wget http://www.schirmacher.de/download/p_w_uploads/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

When issuing a standard status command such as smartctl -a /dev/sda, smartctl returns the status of the LSI 9750 RAID controller:

# smartctl -a /dev/sda   (要以root身份登陆才能执行此命令)
smartctl 5.42 2011-10-20 r3458 [i686-linux-2.6.32.12-0.7.1.xs6.0.0.529.170661xen] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               LSI
Product:              9750-4i    DISK
Revision:             5.12
User Capacity:        249,988,907,008 bytes [249 GB]
Logical block size:   512 bytes
Logical Unit id:      0x600050e0f9f62a006aa60000379c0000
Serial number:        R011DA355F4CA
Device type:          disk
Local Time is:        Thu Dec 29 11:32:04 2011 CET
Device supports SMART and is Disabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Error Counter logging not supported
Device does not support Self Test logging

参考:http://www.schirmacher.de/display/INFO/Configuring+smartmontools+for+LSI+9750+RAID+Controller+o