I noticed a disk failure just now on one of the drives in my main pool -
heard the clicking sound of repeated access attempts so I looked at what
'zpool status' said:

  pool: export
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
    Sufficient replicas exist for the pool to continue functioning in a
    degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
    repaired.
  scan: scrub repaired 0 in 8h12m with 0 errors on Sat Aug 31 10:09:50 2013
config:

    NAME                                           STATE     READ WRITE CKSUM
    export                                         DEGRADED     0     0     0
      raidz1-0                                     DEGRADED     0     0     0
        ata-WDC_WD10EACS-00ZJB0_WD-WCASJ2114122    ONLINE       0     0     0
        ata-WDC_WD10EACS-00ZJB0_WD-WCASJ2195141    ONLINE       0     0     0
        ata-WDC_WD10EARS-00Y5B1_WD-WMAV50817803    FAULTED      1     2     0  
too many errors
        ata-ST31000528AS_9VP18CCV                  ONLINE       0     0     0
    logs
      mirror-1                                     ONLINE       0     0     0
        ata-OCZ-VECTOR_OCZ-0974C023I4P2G1B8-part7  ONLINE       0     0     0
        ata-OCZ-VECTOR_OCZ-8RL5XW08536INH7R-part7  ONLINE       0     0     0
    cache
      ata-OCZ-VECTOR_OCZ-0974C023I4P2G1B8-part6    ONLINE       0     0     0
      ata-OCZ-VECTOR_OCZ-8RL5XW08536INH7R-part6    ONLINE       0     0     0

errors: No known data errors


the fix is easy, insert replacement disk and run:

# zpool replace -f export ata-WDC_WD10EARS-00Y5B1_WD-WMAV50817803 
ata-WDC_WD10EARS-00Y5B1_WD-WMAV50933036
# zpool status -v export
  pool: export
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
    continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Wed Sep  4 10:13:09 2013
    109G scanned out of 2.78T at 75.9M/s, 10h15m to go
    27.3G resilvered, 3.84% done
config:

    NAME                                           STATE     READ WRITE CKSUM
    export                                         DEGRADED     0     0     0
      raidz1-0                                     DEGRADED     0     0     0
        ata-WDC_WD10EACS-00ZJB0_WD-WCASJ2114122    ONLINE       0     0     0
        ata-WDC_WD10EACS-00ZJB0_WD-WCASJ2195141    ONLINE       0     0     0
        replacing-2                                FAULTED      0     0     0
          ata-WDC_WD10EARS-00Y5B1_WD-WMAV50817803  FAULTED      1     2     0  
too many errors
          ata-WDC_WD10EARS-00Y5B1_WD-WMAV50933036  ONLINE       0     0     0  
(resilvering)
        ata-ST31000528AS_9VP18CCV                  ONLINE       0     0     0
    logs
      mirror-1                                     ONLINE       0     0     0
        ata-OCZ-VECTOR_OCZ-0974C023I4P2G1B8-part7  ONLINE       0     0     0
        ata-OCZ-VECTOR_OCZ-8RL5XW08536INH7R-part7  ONLINE       0     0     0
    cache
      ata-OCZ-VECTOR_OCZ-0974C023I4P2G1B8-part6    ONLINE       0     0     0
      ata-OCZ-VECTOR_OCZ-8RL5XW08536INH7R-part6    ONLINE       0     0     0

errors: No known data errors


craig

-- 
craig sanders <[email protected]>
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to