Disk Disabled after Partiy Check - HELP


Recommended Posts

Hi, I am unraid noob so please excuse if there are any basic questions. I have been using unRaid for a while and its been great. I generally don't keep my server on and switch on only when needed. After a long time (72 days) I ran parity checked yesterday. Before running the parity check i copied some files to one of disks. During parity check there was lot of read and write errors in one of the HDD and unRaid moved it to disabled state. I checked the cables and restarted the array but it is still in disabled state.

 

I ran both short and long smart test, I am attaching the syslog taken before the reboot and the smart status report. Can someone please look into it and see if this HDD needs replacement? This is 2 TB WD Red NAS drive and it is just 2 and half years old. I ran preclear when I purchased these HDD.

 

Thanks a lot for your inputs and help.

 

Statistics for /dev/sdd WDC_WD20EFRX-68AX9N0_WD-WMC300130454
smartctl -a -d ata /dev/sdd
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red (AF)
Device Model:     WDC WD20EFRX-68AX9N0
LU WWN Device Id: 5 0014ee 058c461e8
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:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Apr 15 09:40:53 2015 IST
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:      ( 118)	The previous self-test completed having
				the read element of the test failed.
Total time to complete Offline 
data collection: 		(25980) 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: 	 ( 263) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x70bd)	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   200   200   051    Pre-fail  Always       -       6
  3 Spin_Up_Time            0x0027   199   176   021    Pre-fail  Always       -       3050
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       821
  5 Reallocated_Sector_Ct   0x0033   199   199   140    Pre-fail  Always       -       30
  7 Seek_Error_Rate         0x002e   196   194   000    Old_age   Always       -       43
  9 Power_On_Hours          0x0032   098   098   000    Old_age   Always       -       1868
10 Spin_Retry_Count        0x0032   100   100   000    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       -       419
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       67
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       753
194 Temperature_Celsius     0x0022   115   106   000    Old_age   Always       -       32
196 Reallocated_Event_Count 0x0032   170   170   000    Old_age   Always       -       30
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   200   200   000    Old_age   Offline      -       1

SMART Error Log Version: 1
No Errors Logged

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       60%      1860         1724653656
# 2  Short offline       Completed without error       00%      1858         -
# 3  Extended offline    Completed without error       00%       410         -
# 4  Short offline       Completed without error       00%        91         -

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.

syslog.zip

Link to comment

If you look at the SMART attributes section of the SMART report you will see the disk has 30 reallocated sectors (attribute #5). A reallocated sector happens when the drive is unable to write to a particular sector. The sector is marked as bad and is remapped to one of the spare sectors on the drive.

 

It has nothing to do with shutting the server down. Nothing to worry about there.

 

It's entirely possible that you could continue use the drive for many more years and not have any further reallocated sectors, but since its probably still under warranty you're better off RMAing the drive for a replacement.

 

I haven't looked at the syslog yet as I'm currently on an iPad and unable to open it, so it's possible there may be other issues. Hopefully someone else can take a look before I have the opportunity to tomorrow.

Link to comment

Installed an app on the iPad to open zip files.  :o

 

An expert still needs to weigh in as I'm a Linux syslog amateur. Lots of repeating read errors in the log and uncorrectable errors. You said you already reseated power and SATA cables on the drives. You should reseat the SATA cables at the motherboard side as well if you haven't already.  The long SMART test also had read errors. Regardless, the disk is showing reallocated sectors and read errors so should be replaced.

 

If you do not have another drive to rebuild onto (and do not plan to buy one) and plan to wait until you receive the RMA drive to rebuild the failed drive, I'd suggest keeping your server powered off until then. If you have another drive fail before the existing failed drive is rebuilt, you will lose data.

Link to comment

I would concur with the advice given.

 

The syslog is showing lots of read/write errors on disk1.  It is also showing that the drive is having problems staying online.  This would suggest that either the drive is not healthy, or that you have a cabling issue with that drive.    If you combine that with the fact that the long self-text also failed that tends to suggest that it is the drive that does not look at all healthy and if it is still in warranty and an RMA is available then that looks like a good idea.

Link to comment

If you look at the SMART attributes section of the SMART report you will see the disk has 30 reallocated sectors (attribute #5). A reallocated sector happens when the drive is unable to write to a particular sector. ...

 

It's entirely possible that you could continue use the drive for many more years and not have any further reallocated sectors, but since its probably still under warranty you're better off RMAing the drive for a replacement. .

 

Although in theory I can agree that 5 reallocated sectors do not render a failed disk, real world experience has shown that once bad sectors start to appear, more and more off them appear after every parity check and the drive is on its way to failure. In this case, with the failed self-test, there is absolutely no doubt the drive needs to be replaced.

 

Side comment - I am not 100% sure what it is, but that multi zone error of 1 is also not a good sign. Those trend to show up on failing disks as well.

Link to comment

Thanks all your reply. So I will initiate the RMA process. I don't have another drive to rebuild the array but guess i will buy one since i am almost 80% full in the current 3 data drives.

 

One question, do you think i need to replace the power and SATA cable as well?

 

Also i paid premium for WD Red drives hoping that they will last long guess this time will stick with WD green drives? any suggestions on the HDD?

 

 

 

 

Link to comment

Also i paid premium for WD Red drives hoping that they will last long guess this time will stick with WD green drives? any suggestions on the HDD?

You do get a longer warranty period with the Red's and that is definitely worth something.  The premium is not that much.  I am personally buying the Red drives as I want the longer warranty period.  I have had several Green drives fail a month or two after the warranty expired which is very annoying.
Link to comment

Although in theory I can agree that 5 reallocated sectors do not render a failed disk, real world experience has shown that once bad sectors start to appear, more and more off them appear after every parity check and the drive is on its way to failure. In this case, with the failed self-test, there is absolutely no doubt the drive needs to be replaced.

 

Completely agree.  I personally wouldn't continue using a drive once it has developed reallocated sectors either.  Not exactly sure why I put that in my earlier post.  :o

Link to comment

A bit of counterpoint r.e. reallocated sectors.

 

There's nothing wrong with using drives with a few reallocated sectors.  That simply means the drive is working as designed => it recognized a defective sector;  was able to successful recover the data from that sector; and reallocated it to a spare sector.    If it could NOT recover the data from the sector, it would not reallocate it -- it would then be a "pending sector", which is a different story altogether.  I do NOT recommend using drives with pending sectors.  If you can't clear the pending sectors, replace the drive !!  [How to clear them is a topic of its own  :) ]

 

There's also nothing bad about a few multi zone errors ... these are corrected errors.  If they turn into Offline Uncorrectable errors, THEN you have a problem.

 

You SHOULD, however, pay attention to whether or not the reallocated sector count is growing.  If it's consistently increasing, then the drive has issues that are getting worse, and it's time to replace it.    But if it simply has a few reallocated sectors, and is otherwise okay, then there's no reason to replace it.

 

 

Link to comment

Thanks all for the replies.

 

Sorry bit confused, is it safer just to RMA this drive or wait and watch if the reallocated sectors are growing?

 

The failed self test makes me believe that it should be replaced sooner rather than waiting.

Link to comment

Sorry guys one last question. Currently I have 3 data disks and 1 Parity and all of them are 2TB WD Red. While shopping I found some good discount on the 3TB drives. I browsed the forum and found that I can replace the current faulty disk with the parity drive and replace the parity with higher capacity 3TB HDD using "swap-disable". I am running version 5.0.5. Is it ok if I do this? currently the failed disk is showing in Red dot.

 

If get a 3TB drive and put that in the current parity drive slot and take the parity and put it in the failed disk slot and power up the unit , will it work? Will unRaid identify this change automatically and rebuild the parity and array automatically or do I have to do something.

 

Thanks again for your inputs.

Link to comment
  • 2 weeks later...

My 3TB drive is precleared and I had to do swap-disable since my current parity is only 2TB. I have been reading the manuals and this is what i think I should do, please correct me if I am wrong.

 

1. Currently one drive is disabled and drive has been marked as red

2. Select the faulty drive and assign to no-device

3. Stop the array

4. Restart the array

4. Change the current parity from the old parity drive and assign the new 3TB parity drive (sdf)

5. Change the disabled drive - assign the old parity drive

6. Start the array

 

Is this good enough?

Link to comment

You can't change assignments when the array is started => so you have to Stop the array before you can do #2 (so the disk will be missing);  THEN you Start the array (so it shows the missing drive);  then you Stop it again and make the new assignments (new parity drive; old parity to the missing drive's slot); and finally you Start the array and let it do it's thing [copy the parity drive; then rebuild the failed drive].

 

Link to comment

Thanks everyone, swap disable worked and i ran a parity check after. It completed with 0 errors. Just one last question, if i change the SATA port of the parity drive or a data drive will there be any impact? Thanks.

 

No. UnRaid recognizes drives by their serial number, not based on what sata port the drive is connected to.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.