LinuxForum.Fans
Тема

Проблемы с жестким диском?

Автор: Oleg65 21 сообщений 4536 просмотров
#386009

Ноутбук Toshiba L650-17R (Core i3 330M 2130 Mhz, Intel HM55, Intel GMA HD), жесткий диск на 250 Гб. У сына резко перестал грузиться. Выключал его, соответственно, не программно, а кнопкой. Gparted выхлоп: input/output error during read on /dev/sda. lshw - хард видит, емкость, вендора. fdisk выхлоп: fdisk: unable to read /dev/sda inappropriate ioctl for device. Короче получается, что не может на него писать и с него читать. Команда dd (чтоб забить нулями) не идет. Понимаю, что похоже навернулся хард. В практике мне такое не встречалось. Кто что может посоветовать? *WALL*

#386010

Загрузитесь с "живого" диска и покажите вывод команды

text
smartctl -a /dev/sda 
#386011

Lupo Alberto, минут 10 грузиться будет, сейчас выложу.

#386014
Показать
root@ubuntu:/home/ubuntu# smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint M7
Device Model: SAMSUNG HM250HI
Serial Number: S20TJ9AZ672165
LU WWN Device Id: 5 0024e9 202b860dc
Firmware Version: 2AC101C4
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sat Jul 5 21:10:54 2014 UTC
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: ( 4140) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 69) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 18073
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 092 092 025 Pre-fail Always - 2460
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2290
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 1
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2616
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 099 099 000 Old_age Always - 1777
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1905
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 879
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 055 000 Old_age Always - 34 (Min/Max 11/48)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 1
197 Current_Pending_Sector 0x0032 098 098 000 Old_age Always - 39
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3765
223 Load_Retry_Count 0x0032 099 099 000 Old_age Always - 1777
225 Load_Cycle_Count 0x0032 093 093 000 Old_age Always - 72104

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed [00% left] (0-65535)
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

root@ubuntu:/home/ubuntu#
#386022

Oleg65, с виду вполне нормальный диск. А вот после грубого выключения я бы провел проверку диска с помощью fsck.

#386023

Если к диску есть доступ, попробуйте его переставить в разъёме.

#386024

Да, и тесты бы погонять

text

smartctl --test=long /dev/sda
#386025

fsck yars,

Показать
root@ubuntu:/home/ubuntu# fsck /dev/sda
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

#386026

Lupo Alberto, уже и переставлял и контакты чистил... Сейчас потестим...

#386027
Oleg65 написал:
fsck yars,
Показать
root@ubuntu:/home/ubuntu# fsck /dev/sda
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

Не пробовали выполнять рекомендации?

#386028
"Oleg65" написал:
Сейчас потестим...

Примерно час с лишним займёт. Вы только тест диска и файловой системы вместе не запускайте. Пожалуй, я бы с проверки файловой системы начал.

#386029

Lupo Alberto, да, я сообразил, посмотрим, что получится. А рекомендации попробую после теста

#386033

Смарт тест завершился. В логе только: read failurе. При проверке на бэдсектора:

Показать
root@ubuntu:/home/ubuntu# dd if=/dev/sda of=/dev/null bs=8K
dd: error reading ‘/dev/sda’: Input/output error
0+1 records in
0+1 records out
4096 bytes (4,1 kB) copied, 5,84527 s, 0,7 kB/s
root@ubuntu:/home/ubuntu#
Читать отказывается... :'( Как попытаться вылечить или выбросить? И да, e2fsck -b 8193 /dev/sda выдает то же самое
Показать
root@ubuntu:/home/ubuntu# fsck /dev/sda
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

#386034

Выходит, что да, диск умирает. Или контроллер жестких дисков, а это куда неприятнее. Я бы попробовал этот диск подключить вместо штатного диска в USB-HDD. Там же вроде как такие же 2.5" жесткие диски для ноутбуков.

#386035
"Oleg65" написал:
Смарт тест завершился. В логе только: read failurе.
Lupo Alberto написал:
Загрузитесь с "живого" диска и покажите вывод команды
text
smartctl -a /dev/sda 

#386036
Lupo Alberto написал:
[quote="Oleg65"]Смарт тест завершился. В логе только: read failurе.

Lupo Alberto написал:
Загрузитесь с "живого" диска и покажите вывод команды
text
smartctl -a /dev/sda 

[/quote]
smartctl -a:
Показать
root@ubuntu:/home/ubuntu# smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint M7
Device Model: SAMSUNG HM250HI
Serial Number: S20TJ9AZ672165
LU WWN Device Id: 5 0024e9 202b860dc
Firmware Version: 2AC101C4
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sat Jul 5 21:10:54 2014 UTC
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: ( 4140) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 69) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 18073
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 092 092 025 Pre-fail Always - 2460
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2290
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 1
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2616
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 099 099 000 Old_age Always - 1777
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1905
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 879
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 055 000 Old_age Always - 34 (Min/Max 11/48)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 1
197 Current_Pending_Sector 0x0032 098 098 000 Old_age Always - 39
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3765
223 Load_Retry_Count 0x0032 099 099 000 Old_age Always - 1777
225 Load_Cycle_Count 0x0032 093 093 000 Old_age Always - 72104

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed [00% left] (0-65535)
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

root@ubuntu:/home/ubuntu#
#386045

Oleg65, на первый взгляд, очень похоже на гибель контроллера или мамки в целом.

#386048

Спасибо всем! К деньгам! :D

#386050

Oleg65, чьим? :D

#386106
"stranger" написал:
очень похоже на гибель контроллера или мамки в целом

Хотелось бы на будущее узнать, по каким параметрам вы это определили?

"Oleg65" написал:
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       879

Видимо, ноутбук частенько пинали во включённом состоянии.

Войдите или зарегистрируйтесь, чтобы ответить.