Re: Another one for fixup-storage

Previous thread: tty: ctrl-c not always echoed, especially under load by Joe Peterson on Monday, August 4, 2008 - 3:03 pm. (10 messages)

Next thread: [PATCH 1/4] list.h: Add list_splice_tail() and list_splice_tail_init() by Luis R. Rodriguez on Monday, August 4, 2008 - 3:48 pm. (4 messages)
From: Robert Krawitz
Date: Monday, August 4, 2008 - 3:20 pm

This is for a Dell Inspiron E1705/9400.  I'm using a non-OEM disk (a 
Hitachi 320 GB drive).

Note that matching on "MP061" doesn't work -- it needs to be "MP061*" 
due to the way dmidecode seems to return the data (with a bunch of 
spaces after the tag).  Hence I've attached the data rather than merely

I've only had this thing a month or so and already had over 70,000 
unload cycles.  Ick.
-- 
Robert Krawitz                                     <rlk@alum.mit.edu>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@uunet.uu.net
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
From: Tejun Heo
Date: Monday, September 29, 2008 - 12:22 am

Can you please attach the result of "smartctl -a" output?

Thanks.

-- 
tejun
--

From: Robert Krawitz
Date: Monday, September 29, 2008 - 4:41 am

Date: Mon, 29 Sep 2008 16:22:51 +0900
   From: Tejun Heo <tj@kernel.org>

   Robert Krawitz wrote:
   > This is for a Dell Inspiron E1705/9400.  I'm using a non-OEM disk (a
   > Hitachi 320 GB drive).
   > 
   > Note that matching on "MP061" doesn't work -- it needs to be "MP061*"
   > due to the way dmidecode seems to return the data (with a bunch of
   > spaces after the tag).  Hence I've attached the data rather than merely
   > 
   > I've only had this thing a month or so and already had over 70,000
   > unload cycles.  Ick.

   Can you please attach the result of "smartctl -a" output?

# smartctl -a /dev/sda
smartctl 5.39 2008-05-08 21:56 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     Hitachi HTS543232L9A300
Serial Number:    080403FB0400LEG0YVBA
Firmware Version: FB4OC40C
User Capacity:    320,072,933,376 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3f
Local Time is:    Mon Sep 29 07:41:26 2008 EDT
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:                 ( 645) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline ...
From: Tejun Heo
Date: Tuesday, September 30, 2008 - 7:16 am

Thanks.  And how much does the load cycle count increase per hour
without any adustment?

-- 
tejun
--

From: Robert Krawitz
Date: Tuesday, September 30, 2008 - 7:22 am

Date: Tue, 30 Sep 2008 23:16:24 +0900
   From: Tejun Heo <tj@kernel.org>
   MIME-Version: 1.0
   CC: linux-kernel@vger.kernel.org
   Content-Type: text/plain; charset=UTF-8

   Robert Krawitz wrote:
   >    Date: Mon, 29 Sep 2008 16:22:51 +0900
   >    From: Tejun Heo <tj@kernel.org>
   > 
   >    Robert Krawitz wrote:
   >    > This is for a Dell Inspiron E1705/9400.  I'm using a non-OEM disk (a
   >    > Hitachi 320 GB drive).
   >    > 
   >    > Note that matching on "MP061" doesn't work -- it needs to be "MP061*"
   >    > due to the way dmidecode seems to return the data (with a bunch of
   >    > spaces after the tag).  Hence I've attached the data rather than merely
   >    > 
   >    > I've only had this thing a month or so and already had over 70,000
   >    > unload cycles.  Ick.
   > 
   >    Can you please attach the result of "smartctl -a" output?
   > 
   > # smartctl -a /dev/sda
   > smartctl 5.39 2008-05-08 21:56 [x86_64-unknown-linux-gnu] (local build)
   > Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net

   Thanks.  And how much does the load cycle count increase per hour
   without any adustment?

I didn't count it for a full hour (I put the workaround in place over
a month ago); it looked like it was incrementing something between 2
and 5 times per minute, as I recall.

-- 
Robert Krawitz                                     <rlk@alum.mit.edu>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@uunet.uu.net
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
--

From: Tejun Heo
Date: Tuesday, September 30, 2008 - 9:57 am

Can you please measure it again and post the result?

Thanks.

-- 
tejun
--

From: Tejun Heo
Date: Tuesday, September 30, 2008 - 10:10 am

Just one more question.  What do you mean by non-OEM?  It didn't come
with the listed harddrive?

-- 
tejun
--

From: Robert Krawitz
Date: Tuesday, September 30, 2008 - 10:34 am

Date: Wed, 01 Oct 2008 02:10:05 +0900
   From: Tejun Heo <tj@kernel.org>

   Robert Krawitz wrote:
   > This is for a Dell Inspiron E1705/9400.  I'm using a non-OEM disk (a
   > Hitachi 320 GB drive).

   Just one more question.  What do you mean by non-OEM?  It didn't come
   with the listed harddrive?

Correct.  I purchased and installed the hard drive after I bought the
laptop.

Anyway, here's my smartctl output.  My laptop was mostly fairly idle
during these 2 10-minute periods, although I was doing a few things
(an OOo document, for example).  It's a bit more than twice a minute:

# while true ; do smartctl -a /dev/sda |grep 193; sleep 600; done
193 Load_Cycle_Count        0x0012   093   093   000    Old_age   Always       -       72102
193 Load_Cycle_Count        0x0012   093   093   000    Old_age   Always       -       72124
193 Load_Cycle_Count        0x0012   093   093   000    Old_age   Always       -       72148
--

From: Tejun Heo
Date: Tuesday, September 30, 2008 - 10:38 am

Hello,


Ah... thanks.  I Robert's case is like that too and I don't think
storage-fixup is the right place to deal with that.  It seems we'll need
something which is somewhat intelligent and more dynamic.  I'll talk
with Bruce whether we can do something about it using smartd.

Thanks.

-- 
tejun
--

From: Tejun Heo
Date: Tuesday, September 30, 2008 - 11:45 am

added

-- 
tejun
--

Previous thread: tty: ctrl-c not always echoed, especially under load by Joe Peterson on Monday, August 4, 2008 - 3:03 pm. (10 messages)

Next thread: [PATCH 1/4] list.h: Add list_splice_tail() and list_splice_tail_init() by Luis R. Rodriguez on Monday, August 4, 2008 - 3:48 pm. (4 messages)