Christian Franke | 3 Jan 18:20 2012
Picon

Re: smartmontools-5.42 RPM for Citrix XenServer available

Arne Schirmacher wrote:
> I have compiled a RPM package for smartmontools-5.42 that can be
> installed on Citrix XenServer. The most recent previous package was the
> release 5.38 which did not support the LSI 9750 RAID controller.
>
> The RPM package and the RPM source package can be downloaded from:
>
> http://www.schirmacher.de/x/2oAlAg

Thanks for the info.

I added the full link to the CentOS info here:
https://sourceforge.net/apps/trac/smartmontools/wiki/Download

Thanks,
Christian

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
Thane Sherrington | 5 Jan 13:11 2012

Windows Event Log entries

I'm using smartd with the following smartd.conf file.

DEVICESCAN -a -o on -S on -s (S/../.././12|L/../../6/03)

According to the smartctl -a, the tests are running properly, 
however, I can't figure out how to see messages in the event log.  I 
can see smartd starting up, but I don't see any reports from it 
(temp, attribute changes, test results.)   What am I doing wrong?

Thanks,

T

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
Christian Franke | 6 Jan 07:43 2012
Picon

Re: Windows Event Log entries

Thane Sherrington wrote:
> I'm using smartd with the following smartd.conf file.
>
> DEVICESCAN -a -o on -S on -s (S/../.././12|L/../../6/03)
>
> According to the smartctl -a, the tests are running properly,
> however, I can't figure out how to see messages in the event log.  I
> can see smartd starting up, but I don't see any reports from it
> (temp, attribute changes, test results.)   What am I doing wrong?
>

Which smartd command line options are used?
Is smartd started as a service?
Are smartd startup and shutdown messages visible in Windows event viewer?

Christian

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
Thane Sherrington | 6 Jan 16:44 2012

Re: Windows Event Log entries

At 09:25 AM 06/01/2012, Christian Franke wrote:
>Thane Sherrington wrote:
> > Sorry, I should have been more clear.  I'm running smartd as a
> > service, and it's running (and I see the "The SmartD Service service
> > entered the running state." in the event viewer.)
> >
>
>Do smartd own startup messages appear in "Application" section ?
>Should be identical to "smartd -d" output. Did you test this first?
>If "syslogevt.exe" is not registered, the event entries start with an
>error message from windows.

Yes, it's in the Application section.  I was foolishly looking under 
System.  All the reports are popping up there.  I notice that the 
temp report (which appears to be the most common) is showing things like:
smartd[8208]:Info: Device: /dev/sda, SMART Usage Attribute: 194 
Temperature_Celsius changed from 103 to 104
smartd[8208]:Info: Device: /dev/sda, SMART Usage Attribute: 194 
Temperature_Celsius changed from 104 to 103

smartctl -a says this:
194 
Temperature_Celsius     0x0022   104   083   000    Old_age   Always 
      -       43

I'm assuming the raw value (43) is the actual temp).  Is there a way 
to get this number in the event log?

>BTW: Which windows version is used?

(Continue reading)

Christian Franke | 6 Jan 18:14 2012
Picon

Re: Windows Event Log entries

Thane Sherrington wrote:
> smartctl -a says this:
> 194 Temperature_Celsius     0x0022   104   083   000    Old_age   
> Always      -       43
>
> I'm assuming the raw value (43) is the actual temp).  Is there a way 
> to get this number in the event log?

Add e.g. "-W 2,45,50 -I 194" to smartd.conf, see man page for details.

>
>> Why do you remove/install smartd?
>
> I was doing that to make sure that the new smartd.conf file was being 
> read.

Not necessary, smartd.conf is read when service starts. Reinstall is 
only needed to change the command line options.

>
> Thanks for all your help.  As always, it is really appreciated.

You're welcome

Christian

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
(Continue reading)

Thane Sherrington | 6 Jan 19:21 2012

Re: Windows Event Log entries

At 01:14 PM 06/01/2012, Christian Franke wrote:
>Thane Sherrington wrote:
>>smartctl -a says this:
>>194 Temperature_Celsius     0x0022   104   083   000    Old_age
>>Always      -       43
>>
>>I'm assuming the raw value (43) is the actual temp).  Is there a 
>>way to get this number in the event log?
>
>Add e.g. "-W 2,45,50 -I 194" to smartd.conf, see man page for details.

Thanks.  I'll read through that again.

>Not necessary, smartd.conf is read when service starts. Reinstall is 
>only needed to change the command line options.

Ok, so if I change the smartd.conf I just need to do a:
net stop smartd
net start smartd

to read the new conf file?

T 

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
(Continue reading)

Malcolm Cowe | 5 Jan 00:44 2012
Picon

Smartctl Takes a Long Time

Hi,

I have a failing drive that I'm using to help develop some monitoring 
probes. It's definitely broken, independently verified by syslog and the 
MD driver. However, when I run smartctl's basic health check, it takes a 
very long time to complete (and it passes!):

[root]# time smartctl -H /dev/sdam
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

SMART Health Status: OK

real    6m21.123s
user    0m0.002s
sys    0m0.007s

This is an older version of the software (I'm running CentOS 5.3 with 
little opportunity to upgrade).

Is there a way to supply a timeout for the smartctl command (for 
example, if I was to run smartd instead of the command line)?

Regards,

Malcolm.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
(Continue reading)

Christian Harraeus | 5 Jan 18:57 2012
Picon

interpretation of smartmon-value UDMA_CRC_Error_Count (200 --> 100)

Hi,

I have a Samsung HD204UI harddisk, which is part of a raid 1-system. One
day the value of UDMA_CRC_Error_Count fell from 200 downto 100. I have
performed a SMART healthcheck which resulted as "passed". Since this day
the value of UDMA_CRC_Error_Count remains at 100.

My question: Should I change the harddisk or can I use it further
without danger of data loss?

Find below the output of smartctl -all and enclosed the graphics of munin.

Best regards,
Christian

smartctl 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HD204UI
Serial Number:    S2H7J1BZC09718
Firmware Version: 1AQ10001
User Capacity:    2.000.398.934.016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 6
Local Time is:    Mon Dec 12 14:55:43 2011 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

(Continue reading)

NodeSocket | 7 Jan 06:00 2012

Script To Check Health Daily Of All Disks

Hello, we are looking to write a simple bash script which checks the
health of every disk daily. We can view the heath and error log of
each disk by executing:

smartcrl --health --log=error -d sat+megaraid,11 /dev/sda2

Where disk goes from 0 to 11.

First, is there a way to list the health of all disks (0-11), without
running the command each time for each disk?

Second, before we write a custom script to parse the output, and if an
error, send an e-mail, does such a package already exist?

Thanks.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
Christian Franke | 7 Jan 13:12 2012
Picon

Re: Smartctl Takes a Long Time

Malcolm Cowe wrote:
> Hi,
>
> I have a failing drive that I'm using to help develop some monitoring
> probes. It's definitely broken, independently verified by syslog and the
> MD driver. However, when I run smartctl's basic health check, it takes a
> very long time to complete (and it passes!):
>
> [root]# time smartctl -H /dev/sdam
> smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8
> Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
>
> SMART Health Status: OK
>
> real    6m21.123s
> user    0m0.002s
> sys    0m0.007s

Likely some ATA command take a long time or times out. It may be 
possible that a timeout condition is not properly detected by smartctl.

Please try to enable debug output with '-r ioctl' option and check which 
ATA pass-through I/O-control take the long time:

REPORT-IOCTL: Device=/dev/sdam Command=SMART STATUS CHECK
... (more debug output if SAT is used)
[Long delay here ?]
... (more debug output if SAT is used)
REPORT-IOCTL: Device=/dev/sdam Command=SMART STATUS CHECK returned 0
(Continue reading)


Gmane