From: Siju George on
Hi,

I have 2 HDDS on RAID1

srv1:~# dmesg |grep sda
[ 2.291895] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
[ 2.291895] sd 0:0:0:0: [sda] Write Protect is off
[ 2.291895] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.291895] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 2.291895] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
[ 2.291895] sd 0:0:0:0: [sda] Write Protect is off
[ 2.291895] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.291895] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 2.291895] sda: sda1 sda2 sda3 sda4
[ 2.309892] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.572419] md: bind<sda1>
[ 2.646614] md: bind<sda2>
[ 2.668049] md: bind<sda3>
[ 2.689747] md: bind<sda4>
srv1:~# dmesg |grep sdb
[ 2.309971] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
[ 2.310023] sd 1:0:0:0: [sdb] Write Protect is off
[ 2.310062] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.310079] sd 1:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 2.310167] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
[ 2.310219] sd 1:0:0:0: [sdb] Write Protect is off
[ 2.310257] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.310275] sd 1:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 2.310334] sdb: sdb1 sdb2 sdb3 sdb4
[ 2.334975] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 2.574688] md: bind<sdb1>
[ 2.649835] md: bind<sdb2>
[ 2.668049] md: bind<sdb3>
[ 2.689747] md: bind<sdb4>
srv1:~#

I ran

smartctl -t long on both the hard disks.

now when I take the log

srv1:~# smartctl -l selftest /dev/sda
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Self-test routine in progress 90% 576 -

srv1:~# smartctl -l selftest /dev/sdb
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Self-test routine in progress 90% 60 -

srv1:~#

why is the life time of sda around *10* times that of sdb ?

thanks

--Siju


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTilu86Ox-pZRXJQlARkEbo_xaSJaD9XlJKWNkdrN(a)mail.gmail.com
From: Siju George on
On Tue, Jun 22, 2010 at 4:42 PM, CamaleĆ³n <noelamac(a)gmail.com> wrote:?
>
> Mmm... as per "man smartctl", LifeTime(hours) is "(sic) The time at which
> the test took place, measured in hours of disk lifetime".
>
> Are both disks "brand new" and "equals" (same manufacturer, same
> version), not just "same size"?
>

no the first one is old ( sda ) the second one is new ( sdb)

> If yes, compare the output of "smartctl -A /dev/sd[ab]" and look for
> "Power On Hours" values. These, being a raid1, should be similar.
>

srv1:~# smartctl -A /dev/sda |grep "Power_On_Hours"
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always - 591
srv1:~# smartctl -A /dev/sdb |grep "Power_On_Hours"
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always - 75


but I got the reason. One os new :-)

thanks

--Siju


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTinT4DEptU9kmU11HYhMeuAoa7tn5WG-6R_bD1kn(a)mail.gmail.com