hard disk behavior

2012-02-29 Thread jb
Hi,
I very often hear this metallic (mechanical) clicking from my hard disk when
it is active. I experience this behavior under FreeBSD only (not other OSs).
Is there any way to figure out what it means ?
Any other tools, except SMART below, to try ? What to look for ?
 
# /usr/local/sbin/smartctl -a /dev/ada0
smartctl 5.42 2011-10-20 r3458 [FreeBSD 9.0-RELEASE i386] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Scorpio Blue Serial ATA
Device Model: WDC WD1600BEVS-08RST2
Serial Number:WD-WXC308897633
LU WWN Device Id: 5 0014ee 2abfdb88c
Firmware Version: 11.01G11
User Capacity:160,041,885,696 bytes [160 GB]
Sector Size:  512 bytes logical/physical
Device is:In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Wed Feb 29 18:01:06 2012 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0) The previous self-test routine completed
without error or no self-test has ever 
been run.
Total time to complete Offline 
data collection:( 6780) seconds.
Offline data collection
capabilities:(0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine 
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:(  87) minutes.
Conveyance self-test routine
recommended polling time:(   6) minutes.
SCT capabilities:  (0x103f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED 
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   200   200   051Pre-fail  Always   -
  0
  3 Spin_Up_Time0x0003   188   188   021Pre-fail  Always   -
  1558
  4 Start_Stop_Count0x0032   100   100   000Old_age   Always   -
  972
  5 Reallocated_Sector_Ct   0x0033   200   200   140Pre-fail  Always   -
  0
  7 Seek_Error_Rate 0x000f   200   200   051Pre-fail  Always   -
  0
  9 Power_On_Hours  0x0032   087   087   000Old_age   Always   -
  10148
 10 Spin_Retry_Count0x0013   100   100   051Pre-fail  Always   -
  0
 11 Calibration_Retry_Count 0x0012   100   100   051Old_age   Always   -
  0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always   -
  773
192 Power-Off_Retract_Count 0x0032   200   200   000Old_age   Always   -
  29
193 Load_Cycle_Count0x0032   001   001   000Old_age   Always   -
  779337
194 Temperature_Celsius 0x0022   115   104   000Old_age   Always   -
  32
196 Reallocated_Event_Count 0x0032   200   200   000Old_age   Always   -
  0
197 Current_Pending_Sector  0x0012   200   200   000Old_age   Always   -
  0
198 Offline_Uncorrectable   0x0010   100   253   000Old_age   Offline  -
  0
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age   Always   -
  0
200 Multi_Zone_Error_Rate   0x0009   100   253   051Pre-fail  Offline  -
  0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus 

Re: hard disk behavior

2012-02-29 Thread Erich Dollansky
Hi,

On Thursday 01 March 2012 00:18:03 jb wrote:
 I very often hear this metallic (mechanical) clicking from my hard disk when
 it is active. I experience this behavior under FreeBSD only (not other OSs).
 Is there any way to figure out what it means ?
 Any other tools, except SMART below, to try ? What to look for ?
  
nothing seems to be wrong with the disk from my point of view.

I have no idea what causes the noise. What is the machine doing when you hear 
it?

Erich


 # /usr/local/sbin/smartctl -a /dev/ada0
 smartctl 5.42 2011-10-20 r3458 [FreeBSD 9.0-RELEASE i386] (local build)
 Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
 === START OF INFORMATION SECTION ===
 Model Family: Western Digital Scorpio Blue Serial ATA
 Device Model: WDC WD1600BEVS-08RST2
 Serial Number:WD-WXC308897633
 LU WWN Device Id: 5 0014ee 2abfdb88c
 Firmware Version: 11.01G11
 User Capacity:160,041,885,696 bytes [160 GB]
 Sector Size:  512 bytes logical/physical
 Device is:In smartctl database [for details use: -P show]
 ATA Version is:   7
 ATA Standard is:  Exact ATA specification draft version not indicated
 Local Time is:Wed Feb 29 18:01:06 2012 CET
 SMART support is: Available - device has SMART capability.
 SMART support is: Enabled
 
 === START OF READ SMART DATA SECTION ===
 SMART overall-health self-assessment test result: PASSED
 
 General SMART Values:
 Offline data collection status:  (0x00)   Offline data collection activity
   was never started.
   Auto Offline Data Collection: Disabled.
 Self-test execution status:  (   0)   The previous self-test routine 
 completed
   without error or no self-test has ever 
   been run.
 Total time to complete Offline 
 data collection:  ( 6780) seconds.
 Offline data collection
 capabilities:  (0x7b) SMART execute Offline immediate.
   Auto Offline data collection on/off 
 support.
   Suspend Offline collection upon new
   command.
   Offline surface scan supported.
   Self-test supported.
   Conveyance Self-test supported.
   Selective Self-test supported.
 SMART capabilities:(0x0003)   Saves SMART data before entering
   power-saving mode.
   Supports SMART auto save timer.
 Error logging capability:(0x01)   Error logging supported.
   General Purpose Logging supported.
 Short self-test routine 
 recommended polling time:  (   2) minutes.
 Extended self-test routine
 recommended polling time:  (  87) minutes.
 Conveyance self-test routine
 recommended polling time:  (   6) minutes.
 SCT capabilities:(0x103f) SCT Status supported.
   SCT Error Recovery Control supported.
   SCT Feature Control supported.
   SCT Data Table supported.
 
 SMART Attributes Data Structure revision number: 16
 Vendor Specific SMART Attributes with Thresholds:
 ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED 
 WHEN_FAILED RAW_VALUE
   1 Raw_Read_Error_Rate 0x000f   200   200   051Pre-fail  Always  
  -
   0
   3 Spin_Up_Time0x0003   188   188   021Pre-fail  Always  
  -
   1558
   4 Start_Stop_Count0x0032   100   100   000Old_age   Always  
  -
   972
   5 Reallocated_Sector_Ct   0x0033   200   200   140Pre-fail  Always  
  -
   0
   7 Seek_Error_Rate 0x000f   200   200   051Pre-fail  Always  
  -
   0
   9 Power_On_Hours  0x0032   087   087   000Old_age   Always  
  -
   10148
  10 Spin_Retry_Count0x0013   100   100   051Pre-fail  Always  
  -
   0
  11 Calibration_Retry_Count 0x0012   100   100   051Old_age   Always  
  -
   0
  12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always  
  -
   773
 192 Power-Off_Retract_Count 0x0032   200   200   000Old_age   Always  
  -
   29
 193 Load_Cycle_Count0x0032   001   001   000Old_age   Always  
  -
   779337
 194 Temperature_Celsius 0x0022   115   104   000Old_age   Always  
  -
   32
 196 Reallocated_Event_Count 0x0032   200   200   000Old_age   Always  
  -
   0
 197 Current_Pending_Sector  0x0012   200   200   000Old_age   Always  
  -
   0
 198 Offline_Uncorrectable   0x0010   100   253   000Old_age   Offline 
  -
 

Re: hard disk behavior

2012-02-29 Thread Dmitry S. Kasterin
Hi!

2012/2/29, jb jb.1234a...@gmail.com:
 Hi,
 I very often hear this metallic (mechanical) clicking from my hard disk when
 it is active. I experience this behavior under FreeBSD only (not other OSs).
 Is there any way to figure out what it means ?

Some time ago I had a similar problem with an external WD Scorpio Blue disk.
As my point of view, it tends to park its heads too often, even under
heavy load,
so this results in a clicking.

As far as I remember, you can check Load_Cycle_Count from SMART output.
Take some measurements during minute or two. Rapid growth of this parameter
indicates a problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard disk behavior

2012-02-29 Thread Adam Vande More
On Wed, Feb 29, 2012 at 11:18 AM, jb jb.1234a...@gmail.com wrote:

 Hi,
 I very often hear this metallic (mechanical) clicking from my hard disk
 when
 it is active. I experience this behavior under FreeBSD only (not other
 OSs).
 Is there any way to figure out what it means ?
 Any other tools, except SMART below, to try ? What to look for ?

 # /usr/local/sbin/smartctl -a /dev/ada0

 193 Load_Cycle_Count0x0032   001   001   000Old_age   Always
 -
  779337



Likely the noise you are hearing roughly corresponds to Load_Cycle_Count.
Yours is quite high.  You may be able to use  sysutils/ataidle to disable
the parking like so:

ataidle -P 0 /dev/ada0

Not entirely sure if this works on the ada driver, so if not you might want
to ask on freebsd-stable@ or boot up in a Live CD of Linux and use the
tools there.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard disk behavior

2012-02-29 Thread jb
Erich Dollansky erichfreebsdlist at ovitrap.com writes:

 ... 
 I have no idea what causes the noise. What is the machine doing when you hear
 it?
 
 Erich
 

I use it as a desktop.
Mostly web browsing, Firefox, there is always some background activity in
there, like financial data streaming, etc.
But this sound is so concerning: click ...click-clack, click-clack ... etc.

$ top
last pid: 62014;  load averages:  0.09,  0.06,  0.06up 4+02:07:06  18:56:08
63 processes:  1 running, 62 sleeping
CPU 0:  0.8% user,  0.0% nice,  2.0% system,  0.0% interrupt, 97.2% idle
CPU 1:  3.1% user,  0.0% nice,  0.8% system,  0.0% interrupt, 96.1% idle
Mem: 190M Active, 890M Inact, 261M Wired, 312K Cache, 112M Buf, 644M Free
Swap: 3043M Total, 3043M Free

  PID USERNAMETHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
58910 jb   22  200   319M   262M uwait   0  14:07  1.07% firefox-bi
 1283 root  1  200  9716K  1148K select  1   5:15  0.98% moused
 3344 root  2  230 14156K  4940K select  0   8:31  0.00% upowerd
 1865 root  1  200  9612K  1104K select  1   7:17  0.00% powerd
 1978 haldaemon 2  200 23300K  6292K piperd  0   7:07  0.00% hald
58961 jb1  200   118M 30068K select  0   5:08  0.00% npviewer.b
58845 jb1  200   374M   309M select  1   4:37  0.00% Xorg
58951 jb2  200 70360K 31416K kqread  0   2:10  0.00% plugin-con
 1757 messagebus1  200  9812K  2520K select  0   1:46  0.00% dbus-daemo
59121 jb5  220 56108K 29028K uwait   1   0:32  0.00% pan
 1902 root  1  200 11324K  3360K select  1   0:23  0.00% sendmail
58882 jb1  200 11944K  2904K select  0   0:22  0.00% gam_server
59173 jb2  200 40164K 20444K piperd  1   0:15  0.00% Terminal
58883 jb2  200 40168K 19744K piperd  1   0:09  0.00% xfce4-pane
58884 jb1  200 39932K 20396K select  0   0:07  0.00% xfdesktop
[jb@localhost ~]$ 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard disk behavior

2012-02-29 Thread jb
Adam Vande More amvandemore at gmail.com writes:

 ... 
  # /usr/local/sbin/smartctl -a /dev/ada0
 
  193 Load_Cycle_Count0x0032   001   001   000Old_age   Always
  -
   779337
 
 
 Likely the noise you are hearing roughly corresponds to Load_Cycle_Count.
 Yours is quite high.  You may be able to use  sysutils/ataidle to disable
 the parking like so:
 
 ataidle -P 0 /dev/ada0
 
 Not entirely sure if this works on the ada driver, so if not you might want
 to ask on freebsd-stable@ or boot up in a Live CD of Linux and use the
 tools there.
 

Dmitry and Adam,
I think your description of excessive heads parking may be very close.
I will try this remedy and will let you know.
jb


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard disk behavior

2012-02-29 Thread jb
jb jb.1234abcd at gmail.com writes:

 ... 
 Dmitry and Adam,
 I think your description of excessive heads parking may be very close.
 I will try this remedy and will let you know.
 jb
 

OK. Thanks.
jb






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org