LINUX.ORG.RU
ФорумTalks

[пятничное] Меряемся сами знаете чем. На этот раз на основе smart.

 


0

0

У себя запускаем smartctl -a /dev/hdd_dev

Берем следующие данные:

Model Family:     Seagate Barracuda 7200.7 and 7200.7 Plus family
4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       8954
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       28

Start_Stop_Count - это толщина
А чтобы узнать длинну, нужно разделить Power_On_Hours на Power_Cycle_Count.
Результат округлить в меньшую сторону.

8954/28 = 319

У кого больше?
★★★★★

Device does not support SMART

а на буке не интересно.

Spectr ★★★
()

v v12aml # smartctl -A /dev/sda | grep -E 'Start_Stop_Count|Power_On_Hours|Power_Cycle_Count'
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 0
9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 5071
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 162
v v12aml # smartctl -A /dev/sdb | grep -E 'Start_Stop_Count|Power_On_Hours|Power_Cycle_Count'
4 Start_Stop_Count 0x0032 253 253 000 Old_age Always - 15
12 Power_Cycle_Count 0x0032 253 253 000 Old_age Always - 394
v v12aml # smartctl -A /dev/sdc | grep -E 'Start_Stop_Count|Power_On_Hours|Power_Cycle_Count'
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 11
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 2384
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 19
v v12aml # expr 5071 / 162
31
v v12aml # expr 2384 / 19
125

v12aml ★★
()

хрень какая-то:

root@grey-vm: smartctl -a /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     VMware Virtual IDE Hard Drive
Serial Number:    00000000000000000001
Firmware Version: 00000001
User Capacity:    4,294,967,296 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   4
ATA Standard is:  ATA/ATAPI-4 T13 1153D revision 17
Local Time is:    Fri Mar 16 14:16:40 2007 NOVT
SMART support is: Unavailable - device lacks SMART capability.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

то шо выходит, у меня пиписьки вообще нет ?! :-o

// wbr

klalafuda ★☆☆
()

keikko ~ $> sudo smartctl -A /dev/hda | grep -E 'Start_Stop_Count|Power_On_Hours|Power_Cycle_Count' Password: 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 78 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 13901 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 39

keikko ~ $> expr 13901 / 39 356

так то ;) это на буке , винт менял осенью 2006 года (старый начал сыпатся)

alphex_kaanoken ★★★
()
Ответ на: комментарий от alphex_kaanoken

13901 часов, это полтора года _непрерывной_ работы. У тебя этот параметр в минутах. Т.е. 13901/60/39 = 5

Macil ★★★★★
() автор топика

Посчитайте за меня.

$ sudo smartctl -a /dev/sda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: SEAGATE  ST373307LW       Version: 0004
Serial number: 3HZ0TZL3000073338Y65
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Fri Mar 16 10:49:05 2007 IST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     24 C
Drive Trip Temperature:        68 C
Elements in grown defect list: 0
Vendor (Seagate) cache information
  Blocks sent to initiator = 3750353713
  Blocks received from initiator = 2183838642
  Blocks read from cache and sent to initiator = 1517607335
  Number of read and write commands whose size <= segment size = 954583686
  Number of read and write commands whose size > segment size = 11139311
Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 20089.00
  number of minutes until next internal SMART test = 30
Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:   18308202        0         0  18308202   18308202      15444.141           0
write:         0        0         0         0          0       3198.333           0

Non-medium error count:    25036

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Completed                   -     911                 - [-   -    -]
# 2  Background long   Completed                   -     780                 - [-   -    -]
# 3  Background long   Completed                   -     634                 - [-   -    -]
# 4  Background long   Interrupted (bus reset ?)   -     634                 - [-   -    -]
# 5  Background long   Interrupted (bus reset ?)   -     634                 - [-   -    -]
# 6  Background long   Interrupted (bus reset ?)   -       0                 - [-   -    -]
# 7  Background long   Completed                   -     550                 - [-   -    -]
# 8  Background long   Completed                   -     474                 - [-   -    -]
# 9  Background long   Completed                   -     452                 - [-   -    -]
#10  Background long   Completed                   -     421                 - [-   -    -]
#11  Background short  Completed                   -     409                 - [-   -    -]
#12  Background short  Completed                   -       1                 - [-   -    -]
#13  Background short  Completed                   -       1                 - [-   -    -]

Long (extended) Self Test duration: 1488 seconds [24.8 minutes]

sdio ★★★★★
()

Дайте-ка я свою пипиську покажу, сынки: 

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   200   182   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   094   093   021    Pre-fail  Always       -       4375
  4 Start_Stop_Count        0x0032   100   100   040    Old_age   Always       -       334
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   253   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   058   058   000    Old_age   Always       -       30717
 10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0013   100   100   051    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       303
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   200   199   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0012   200   200   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always       -       1
200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail  Offline      -       0

посмотрите-ка на Power_On_Hours :)

annoynimous ★★★★★
()
Ответ на: комментарий от annoynimous

>А у кого винт больше 3.5 лет непрерывной работы живет? :)

ща не доступен - увы...

alphex_kaanoken ★★★
()
Ответ на: комментарий от annoynimous

>  9 Power_On_Hours          0x0032   058   058   000    Old_age   Always       -       30717
> посмотрите-ка на Power_On_Hours :)

падумаишь...

# atactl /dev/wd0d smart status
SMART supported, SMART enabled
id value thresh crit collect reliability description                    raw
  1 100   32     yes online  positive    Raw read error rate            171331
  2 100   20     yes offline positive    Throughput performance         0
  3  90   25     yes online  positive    Spin-up time                   3
  4  96   16     no  online  positive    Start/stop count               2237
  5 100   24     yes online  positive    Reallocated sector count       0
  7 100   20     yes online  positive    Seek error rate                3716
  8 100   19     yes offline positive    Seek time performance          0
  9  76   20     no  online  positive    Power-on hours count           13107209
 10 100   20     yes online  positive    Spin retry count               0
 12  84   20     no  online  positive    Device power cycle count       2415
196 100   24     yes online  positive    Reallocated event count        0
197 100   20     no  offline positive    Current pending sector         0
198 100   20     no  offline positive    Offline uncorrectable          0
199 200  197     no  online  positive    Ultra DMA CRC error count      0
200 100   20     yes online  positive    Write error rate               1224

// wbr

klalafuda ★☆☆
()
Ответ на: комментарий от Macil

> 1496 лет! Сознавайся, кто тебе давал доступ к машине времени.

да это он судя по всему в секундах выдает. тогда вполне сходится :)

// wbr

klalafuda ★☆☆
()

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   063   055   006    Pre-fail  Always       -       76255
  3 Spin_Up_Time            0x0003   096   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1255
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   082   060   030    Pre-fail  Always       -       174161753
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       4765
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1468
194 Temperature_Celsius     0x0022   037   048   000    Old_age   Always       -       37
195 Hardware_ECC_Recovered  0x001a   063   055   000    Old_age   Always       -       76255
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0

мне капец? что делать?

stigger
()

hda: 9870 / 46 = 214

hdc: 1285 / 16 = 80

stassats ★★★★
()

>4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 0 >Start_Stop_Count - это толщина

Ну, ничего... зато ты ещё жив.

router ★★★★★
()

4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1827 9 Power_On_Seconds 0x0032 087 087 000 Old_age Always - 6747h+25m+13s 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1783

Хмм. Значит, ширина 1827, длина 6747/1783. Дааа. Попытался представить, пришёл в ужас.

А, точно, это в походном состоянии aka на древнем ноуте. Утром посмотрю, что на боевом домашнем

router ★★★★★
()

  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       730
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       423875
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       406

423875/406=1044 :)

423875/60/406=17

acheron ★★★★
()
Ответ на: комментарий от router

4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 838
9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 4310
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 813

:(

router ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.