14.05.2012 18:06
hockins
 
В общем стоит у меня дома сервачек Xubuntu 9.04 на mini-itx системе poslab, жесткий WD 160 Gb 2,5" IDE. Столкнулся с CRC ошибками при копировании файлов, проверил утилитой badblocks, раз от разу от 25 до 45 бэдблоков находит. Я не поверил прогнал викторией под виндой, нашел около 30 блоков 200ms и один 600ms и ни одного хуже. Собственно вопрос: badblocks считает медленные блоки плохими? У меня есть винты примерно с такими характеристиками (согласно виктории) под винду, и таких проблем с ними нет.

Добавлено через 2 минуты 59 секунд
P.S. На сервере крутится utorrent и transmission и службы по мелочи, так что диск может быть давольно затертым. Я начинающий линуксойд, так что прошу без хардкорных команд.
14.05.2012 19:57
OlegON
 
Я бы не ориентировался на показания badblock, это уже прошлый век и показания его могут зависеть не только от винта, но и от оперативки, материнки и фаз луны. Винт S.M.A.R.T. поддерживает? А то smartmontools куда лучше применить.
15.05.2012 11:29
hockins
 
Спасибо.
sudo smartctl -H /dev/sda
Дало ответ, что винт в принципе жив :)
sudo smartctl -t short /dev/sda
Я не понял где ответ ждать?
Какой еще тест запустить для полного разоблачения?
15.05.2012 20:10
OlegON
 
Да ответы все там же... На самом деле гонять до посинения и издыхания винты - это в прошлом. Если не ругается смарт - посмотри, мож шлейф заломался или еще что... А то и файловую систему смени, какая она? Как монтируется? Какие модули в ядре включены для дисков. lspci -k посмотреть можно.
16.05.2012 07:28
hockins
 
От lspci -k что-то мало толку:
[CUT]$ lspci -k
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
Kernel driver in use: agpgart-intel
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Intel Corporation 82852/855GM Integrated Graphics Device
Kernel driver in use: i915
Kernel modules: intelfb, i915
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Intel Corporation 82852/855GM Integrated Graphics Device
Kernel modules: i915
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
Subsystem: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
Subsystem: Intel Corporation Device 24c2
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
Subsystem: Intel Corporation Device 24c2
Kernel modules: i2c-i801
01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
Subsystem: Elitegroup Computer Systems Device 8167
Kernel driver in use: r8169
Kernel modules: r8169
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Elitegroup Computer Systems Device 8139
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp [/CUT]

Добавлено через 9 минут 59 секунд
От lspci -k что-то мало толку:
Цитата:
$ lspci -k
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
Kernel driver in use: agpgart-intel
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Intel Corporation 82852/855GM Integrated Graphics Device
Kernel driver in use: i915
Kernel modules: intelfb, i915
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Intel Corporation 82852/855GM Integrated Graphics Device
Kernel modules: i915
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
Subsystem: Intel Corporation Latitude X300
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
Subsystem: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
Subsystem: Intel Corporation Device 24c2
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
Subsystem: Intel Corporation Device 24c2
Kernel modules: i2c-i801
01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
Subsystem: Elitegroup Computer Systems Device 8167
Kernel driver in use: r8169
Kernel modules: r8169
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Elitegroup Computer Systems Device 8139
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
Вот еще не понял:
Цитата:
Да ответы все там же...
повторный вызов ничего не дает.
Цитата:
На самом деле гонять до посинения и издыхания винты - это в прошлом
а это просто не понятно.
ФС ext3 монтируется автоматически системой.

Еще вот такую тему обнаружил, не знаю что это значит:
Цитата:
$ sudo smartctl -l selftest /dev/sda
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen

=== 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 Short offline Completed: read failure 90% 19754 307666563
# 2 Short offline Completed: read failure 90% 19753 307666563
16.05.2012 08:00
OlegON
 
Вот по последнему кусочку и можно сказать, что винт с тобой прощается...

я бы заменил винты, несмотря на то, что винде там кажется :) видел я потом, чем это кончается, на винде :)
16.05.2012 08:01
OlegON
 
Хотя... Read failure, опять же, может быть из-за шлейфа.
16.05.2012 11:03
hockins
 
Ну нормальные показатели же.

$ sudo smartctl -A /dev/sda
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen

=== START OF READ SMART DATA SECTION ===
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 197 195 051 Pre-fail Always - 22634
3 Spin_Up_Time 0x0003 187 187 021 Pre-fail Always - 1625
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 88
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 253 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 073 073 000 Old_age Always - 19776
10 Spin_Retry_Count 0x0013 100 253 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 100 253 051 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 87
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 16
193 Load_Cycle_Count 0x0032 185 185 000 Old_age Always - 45003
194 Temperature_Celsius 0x0022 111 088 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 18
198 Offline_Uncorrectable 0x0010 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0009 100 253 051 Pre-fail Offline - 0
16.05.2012 20:17
OlegON
 
нормальные, потому и возвращаюсь к идее шлейфа...
Часовой пояс GMT +3, время: 03:44.

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.