Debian Linux (lenny) RAID1 para

Fórumok

Sziasztok,

Itthoni gépemen software-es RIAD1 van és ma délben ilyen hibaüzenetek voltak a kernel logban:


...
[492938.822584] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
[492938.837534] sd 0:0:0:0: [sda] Write Protect is off
[492938.837534] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[492938.837534] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[492944.037787] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[492944.037787] ata1.00: irq_stat 0x40000008
[492944.037787] ata1.00: cmd 60/80:00:3f:8c:3d/00:00:39:00:00/40 tag 0 ncq 65536 in
[492944.037787] res 41/40:00:70:8c:3d/85:00:39:00:00/40 Emask 0x409 (media error)
[492944.037787] ata1.00: status: { DRDY ERR }
[492944.037787] ata1.00: error: { UNC }
[492944.045223] ata1.00: configured for UDMA/133
[492944.045223] ata1: EH complete
[492944.045223] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
[492944.051290] sd 0:0:0:0: [sda] Write Protect is off
[492944.051290] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[492944.051290] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[492948.998929] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[492948.999045] ata1.00: irq_stat 0x40000008
[492948.999154] ata1.00: cmd 60/80:00:3f:8c:3d/00:00:39:00:00/40 tag 0 ncq 65536 in
[492948.999157] res 41/40:00:70:8c:3d/85:00:39:00:00/40 Emask 0x409 (media error)
[492948.999405] ata1.00: status: { DRDY ERR }
[492948.999508] ata1.00: error: { UNC }
[492949.006014] ata1.00: configured for UDMA/133
[492949.006014] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[492949.006014] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[492949.006014] Descriptor sense data with sense descriptors (in hex):
[492949.006014] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[492949.006014] 39 3d 8c 70
[492949.006014] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[492949.006014] end_request: I/O error, dev sda, sector 960334960
[492949.006014] ata1: EH complete
[492949.010434] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
[492949.010434] sd 0:0:0:0: [sda] Write Protect is off
[492949.010434] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[492949.010509] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[493256.791841] md: md0: data-check done.
[493256.910370] RAID1 conf printout:
[493256.910370] --- wd:2 rd:2
[493256.910370] disk 0, wo:0, o:1, dev:sda1
[493256.910370] disk 1, wo:0, o:1, dev:sdb1

Olyan mintha a SATA bus reset-elt volna, a folyamat végén az md0_resync processz dologozott rendesen, elég magas load-ot is okozott.

A smartctl nem mutat hibát.


dezso:~# smartctl --all /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: WDC WD5000BEVT-00A0RT0
Serial Number: WD-WXE0AA987461
Firmware Version: 01.01A01
User Capacity: 500,107,862,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Jun 6 13:41:41 2010 CEST
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: (13560) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 158) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x7037) SCT Status 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 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 186 185 021 Pre-fail Always - 1683
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 143
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 1611
10 Spin_Retry_Count 0x0032 100 100 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 142
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 22
193 Load_Cycle_Count 0x0032 154 154 000 Old_age Always - 139687
194 Temperature_Celsius 0x0022 103 098 000 Old_age Always - 44
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 051 Old_age Offline - 0

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 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
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.

A kérdésem az, hogy szerintetek ez disk hiba? Vagy mégis hol keressem az okát, hogy mi volt ez?

Hozzászólások

Nem futtattál smart-tesztet, igaz? A -all csak kiírja, amit naplózott magának (ill. nem tudja kiírni, amit nem).

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

man smartctl

Többféle teszt van; offline, short, long... Amúgy a smart se mindentudó, de érdemes megnézni. Amit még kiemelnék, mert gyakran tévesztik:

Please note: the fact that an Attribute is of type 'Pre-fail' does not mean that your disk is about to fail! It only has this meaning if the Attribute´s current Normalized value is less than or equal to the threshold value.

Közbe lefutott a test és ezt mondta:


dezso:~# smartctl -l selftest /dev/sda
smartctl version 5.38 [i686-pc-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 Completed: read failure 10% 1614 960329747
# 2 Extended offline Aborted by host 90% 1611 -
# 3 Extended offline Aborted by host 90% 1611 -

Ezekszerint az SDA rossz, próbáltam badblock testet futtatni, de mivel része egy RAID1 tömbnek a badblock akadékoskodik. Szerinted force-oljam vagy szedjem ki inkább a tükörből és úgy?

Szerintem nem ettől lett rossz szektora, bár tényleg magas. 40 körülre leviheted, tovább ne kínozd.

Egy rossz ventilátorral még ronthatsz is a helyzeten, amennyiben rezgést visz a lemezek körüli vasba.

Inkább azon kell gondolkozni, hogy nincs elég szellőzés. A házban általában elölről hátrafelé közlekedik a levegő. A HDD-kre kéne a leghűvösebb levegő jusson, első ventilátor nélkül is.

Egy IBM entry-level szerverünkben (ezekben is van HDD ventilátor) jelenleg 36 C a lemez. Maximum 39 volt.