Degraded Volume

Status
Not open for further replies.

reedjasonf

Dabbler
Joined
Mar 12, 2013
Messages
21
Hi...

I have a system with FreeNAS-8.3.1-RELEASE-x64 (r13452.

I had four 1 TB WD green drives installed and set up in a Raid Z1 but those drives eventually started failing and the pool was getting full anyway so my plan was to slowly replace them with 2TB WD red drives to both get rid of the failing drives and increase storage space.

I had already replaced one of the green's with a 1TB Red about 6 months ago with no problem and I actually saw performance get much better.

Then I recently replaced another one of the green's with a 2TB red making sure that autoexpand was turned on. After resilvering completed I noticed that on my 'View Volumes' page it says "Degraded" under the status column for the volume and all the zfs datasets under it. However, when I look at the Volume status page it says all drives are online and FreeNAS says the ZFS pool is healthy. Why is my volume in a degraded state?
 

Attachments

  • error.png
    error.png
    145.9 KB · Views: 288

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
He wants you to post the actual output. He doesn't want you to interpret what it says. ;)

Can you post the output of the smartctl for one of your WD Reds please? Just want to check out something. The command is smartctl -a -q noserial /dev/XXX.

Thanks. :)
 

reedjasonf

Dabbler
Joined
Mar 12, 2013
Messages
21
He wants you to post the actual output. He doesn't want you to interpret what it says. ;)

Can you post the output of the smartctl for one of your WD Reds please? Just want to check out something. The command is smartctl -a -q noserial /dev/XXX.

Thanks. :)
You honestly can't fill in the blanks? :-/

Btw, I was on my phone's browser or otherwise I would have posted it.

Here it is: Idk how to post the whole thing since it overflows my screen:
Code:
      7                                                                   
  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      -
      14                                                                 
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      -
      2                                                                   
193 Load_Cycle_Count        0x0032  200  200  000    Old_age  Always      -
      4                                                                   
194 Temperature_Celsius    0x0022  108  104  000    Old_age  Always      -
      39                                                                 
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  000    Old_age  Offline      -
      0                                                                   
                                                                           
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    Interrupted (host reset)      90%        5        -
                                                                           
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.


Also, another thing I noticed was the amount of available space I have has not increased. I made sure autoexpand was on before I installed the two 2TB drives. Do all the drives need to be the same capacity to be in a ZRaid? Right now I have two 2TB drives and two 1TB drives until about 6 months from now when I'll replace the other 1TB drives with 2TB drives.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Your pool will only use the lowest capacity drive to limit the pool size. Replace the 1TB drives with 2TB drives or larger and the pool will expand to use the 2TB drives. Of course do not replace them at the same time. Ensure you read the users guide as this information is there.

Also when someone asks for the output, we never assume anything except the person on the other end knows nothing at all. Don't take this the wrong way, it's a good thing. If I were to assume you knew something, well what level of knowledge should I assume. You can't post all of the smartctl information so you don't know how to scroll back the screen which is a very basic user function. You could also have just piped it to a file and posted that file but do you know what piping is? If I treat all people like they know nothing at all then when I'm giving advice, we will be on the same page. Or that is the goal. When it comes to your data would you want us to assume that the all important zpool status is exactly what you say it is or that there isn't some minor piece of data which you may deem unimportant that may have kept us from accidentally destroying your pool? Passing along all the requested data is the best way we can help.

So, how are you running the smartctl command, are you using the Web GUI Shell? If so in the bottom left corner, select a larger screen size if you can. Next enter your smartctl command. If it scrolls off the screen then type 'smartctl -a -q noserial /dev/XXX | more' and this will split it up into pages. Press the space bar to allow scrolling to the next page. Copy and paste each screen to make a complete list. There are other ways to do it but that can be a bit more involved getting things setup in the first place.
 

reedjasonf

Dabbler
Joined
Mar 12, 2013
Messages
21
Here's the whole output:

Code:
smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (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-68EUZN0                                         
Firmware Version: 80.00A80                                                     
User Capacity:    2,000,398,934,016 bytes [2.00 TB]                           
Sector Sizes:    512 bytes logical, 4096 bytes physical                       
Rotation Rate:    5400 rpm                                                     
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:    Fri Oct 11 09:39:45 2013 CDT                                 
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:                (26940) seconds.                               
Offline data collection                                                       
capabilities:                    (0x7b) SMART execute Offline immediate.       
                                        Auto Offline data collection on/off supp
ort.                                                                           
                                        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:        ( 272) minutes.                               
Conveyance self-test routine                                                   
recommended polling time:        (  5) minutes.                               
SCT capabilities:              (0x703d) 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      -
      0                                                                       
  3 Spin_Up_Time            0x0027  176  176  021    Pre-fail  Always      -
      4158                                                                   
  4 Start_Stop_Count        0x0032  100  100  000    Old_age  Always      -
      8                                                                       
  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      -
      34                                                                      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      -
      8                                                                       
192 Power-Off_Retract_Count 0x0032  200  200  000    Old_age  Always      -
      2                                                                       
193 Load_Cycle_Count        0x0032  200  200  000    Old_age  Always      -
      5                                                                       
194 Temperature_Celsius    0x0022  117  104  000    Old_age  Always      -
      30                                                                     
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  000    Old_age  Offline      -
      0                                                                       
                                                                               
SMART Error Log Version: 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    Interrupted (host reset)      90%        5        - 
                                                                               
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.   
                                                                                


Again, did you miss the part where I was responding on my phone? :tongue:

it's a brand new drive so nothing interesting here.

The problem seems to have resolved itself. I haven't restarted the server other than the one time after resilvering but now it's stating that the volume is healthy on the GUI.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Again, did you miss the part where I was responding on my phone? :p

it's a brand new drive so nothing interesting here.

The problem seems to have resolved itself. I haven't restarted the server other than the one time after resilvering but now it's stating that the volume is healthy on the GUI.

1. You should have just waited so you could post the whole thing from a computer.
2. We've had brand new drives that were full of "interesting"parameters. Not to mention hard drives have a very high mortality rate for their first few months of operation. So assuming a brandnew hard drive has nothing interesting is a horrible assumption to make.
3. Glad the server resolved its problem. :)
 
Status
Not open for further replies.
Top