HI all,
Sometime, I lose my second drive (when I'm using rsync for example)
There are some messages like this:
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] Unhandled error code
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 86 91 05 10 00 00 08 00
Nov 23 15:26:24 DNS-323 user.err kernel: end_request: I/O error, dev sdb, sector
2257650960Nov 23 15:26:24 DNS-323 user.crit kernel: EXT4-fs error (device sdb2): ext4_find_entry: inode #70516859: (comm rsync) reading directory lblock 0
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] Unhandled error code
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
Nov 23 15:26:24 DNS-323
user.info kernel: sd 1:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 86 91 05 20 00 00 08 00
Nov 23 15:26:24 DNS-323 user.err kernel: end_request: I/O error, dev sdb, sector
2257650976Nov 23 15:26:24 DNS-323 user.crit kernel: EXT4-fs error (device sdb2): ext4_find_entry: inode #70516861: (comm rsync) reading directory lblock 0
I must reboot for temporary fixing (sometimes the nas was totally hang)
No problem with fsck.ext4, and I
have not received mail from smartd daemon, it's like there are too much data between the two drives
# smartctl --all /dev/sdb
smartctl 5.42 2011-10-20 r3458 [armv5tel-linux-2.6.35.14] (local build)
Copyright (C) 2002-11 by Bruce Allen,
http://smartmontools.sourceforge.net=== START OF INFORMATION SECTION ===
Device Model: WDC WD20EZRX-00DC0B0
Serial Number: WD-WMC1T0541071
LU WWN Device Id: 5 0014ee 0036e4845
Firmware Version: 80.00A80
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ACS-2 (revision not indicated)
Local Time is: Fri Nov 23 15:33:17 2012 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: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
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: (26940) 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: ( 255) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) 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 100 253 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 194 174 021 Pre-fail Always - 5266
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 10
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 100 100 000 Old_age Always - 110
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 7
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 5
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 11
194 Temperature_Celsius 0x0022 114 113 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1
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 188 188 000 Old_age Offline - 3896
SMART Error Log Version: 1
ATA Error Count: 1
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 1 occurred at disk power-on lifetime: 81 hours (3 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 61 00 53 4f c2 00 Device Fault; Error: ABRT
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
b0 d8 00 01 4f c2 00 08 1d+03:31:19.721 SMART ENABLE OPERATIONS
e5 00 00 00 00 00 00 08 1d+03:31:19.566 CHECK POWER MODE
ec 00 01 00 00 00 00 08 1d+03:31:19.413 IDENTIFY DEVICE
ec 00 01 00 00 00 00 08 1d+03:31:19.395 IDENTIFY DEVICE
e5 00 00 00 00 00 00 08 1d+03:31:14.568 CHECK POWER MODE
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 98 -
# 2 Extended offline Interrupted (host reset) 90% 17 -
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.
# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 1.8T 706.8G 1.0T 41% /
tmpfs 30.3M 7.3M 22.9M 24% /rootmnt
aufs 1.8T 706.8G 1.0T 41% /
/dev/loop0 5.5M 5.5M 0 100% /rootmnt/rootsq
tmpfs 104.0M 508.0K 103.5M 0% /tmp
/dev/sda2 1.8T 706.8G 1.0T 41% /mnt/sda2
/dev/sdb2 1.8T 706.8G 1.0T 41% /mnt/sdb2
My disk is dead, or I misunderstand something ?
Thanks
Juste one another question, how I can see the swap usage? With top there is only ram ?