Festplatte irrtümlicherweise DEGRADED

Status
Not open for further replies.

milesdavis

Dabbler
Joined
Aug 5, 2013
Messages
10
Hallo Community,

gleich zu den Fakten:
Ich habe Freenas 9.3 laufen mit 4 WD Green à 2 TB und 2 WD Red à 4 TB. Die sind als "Mirror" angelegt, sodass ich nicht 16, sondern 8 TB zur Verfügung habe (eig. 7.x TB).

Bevor ich die neuen 4TB-Platten einbaute, hatte ich stattdessen eine einzige 1TB-Platte mit einem separaten Dataset usw., die einzig für ownCloud da war.
Die anderen 2TB-Platten waren wie jetzt auch gespiegelt angelegt.

Da ich nur 6 SATA-Anschlüsse habe, musste also die 1TB-ownCloud-Platte raus.

Gesagt getan:
Erstmal habe ich bei meinen Jails und Plugins ein wenig aufgeräumt. Es waren noch viel Testkram drauf. Dann hab ich die 1TB-Platte auf "Wipe" gesetzt und dann das NAS runtergefahren und die Umbauarbeiten durchgeführt.

Jetzt der Fehler:
Den Pool konnte ich ohne Probleme erweitern und alles klappt auch, allerdings "vermisst" mein FreeNAS die 1TB-Platte bzw. den Ersatz dafür. Deshalb ist wohl auch eine der Platten nun als DEGRADED markiert.

Im Nachhinein kann ich mir ungefähr denken was passiert ist, aber wie kann ich das denn nun unkompliziert wieder geradebiegen, sodass alles ONLINE ist?

Gerne kann ich Screenshots o. Ä. liefern und auch eine TeamViewer-Session ist möglich.


Vielen Dank für die Hilfe im voraus!

Gruß,
miles
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Was ist der Output von zpool status? Code tags oder Pastebin bitte.
 

milesdavis

Dabbler
Joined
Aug 5, 2013
Messages
10
Code:
[root@freenas] ~# zpool status
  pool: FreeNAS
state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://illumos.org/msg/ZFS-8000-9P
  scan: scrub in progress since Sun Jan 11 00:00:10 2015
        855G scanned out of 3.24T at 61.5M/s, 11h23m to go
        104K repaired, 25.77% done
config:

        NAME                                            STATE     READ WRITE CKSUM
        FreeNAS                                         ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/c7b69310-30ec-11e2-b4ba-d43d7e287bb1  ONLINE       0     0     0
            gptid/c86efd88-30ec-11e2-b4ba-d43d7e287bb1  ONLINE       0     0     0
          mirror-1                                      ONLINE       0     0     0
            gptid/dcb9b6ed-fdb8-11e2-8eb5-d43d7e287bb1  ONLINE       0     0   101  (repairing)
            gptid/ddbeccee-fdb8-11e2-8eb5-d43d7e287bb1  ONLINE       0     0     0
          mirror-2                                      ONLINE       0     0     0
            gptid/7858f206-98d0-11e4-8e0a-d43d7e287bb1  ONLINE       0     0     0
            gptid/794efcda-98d0-11e4-8e0a-d43d7e287bb1  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          da0p2     ONLINE       0     0     0

errors: No known data errors
[root@freenas] ~#


Okay, last time it there was DEGRADED, now it is ONLINE where "repairing" is written behind.

If I login to the GUI the red alert is still lighting up and it says:

KRITISCH: The volume FreeNAS (ZFS) state is ONLINE: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected.


(Sorry fürs Englisch, ich bin sonst immer in dieser Sprache unterwegs bei solchen Sachen und seltener in Deutsch)

UPDATE:
over night, freenas did some repairing stuff but in the gui the same message appears. The zpool status report looks like this now:

Code:
[root@freenas] ~# zpool status
  pool: FreeNAS
state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://illumos.org/msg/ZFS-8000-9P
  scan: scrub repaired 770M in 54h58m with 0 errors on Tue Jan 13 06:58:58 2015
config:

        NAME                                            STATE     READ WRITE CKSUM
        FreeNAS                                         ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/c7b69310-30ec-11e2-b4ba-d43d7e287bb1  ONLINE       0     0     0
            gptid/c86efd88-30ec-11e2-b4ba-d43d7e287bb1  ONLINE       0     0     0
          mirror-1                                      ONLINE       0     0     0
            gptid/dcb9b6ed-fdb8-11e2-8eb5-d43d7e287bb1  ONLINE       0     0 8.74K
            gptid/ddbeccee-fdb8-11e2-8eb5-d43d7e287bb1  ONLINE       0     0     0
          mirror-2                                      ONLINE       0     0     0
            gptid/7858f206-98d0-11e4-8e0a-d43d7e287bb1  ONLINE       0     0     0
            gptid/794efcda-98d0-11e4-8e0a-d43d7e287bb1  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          da0p2     ONLINE       0     0     0

errors: No known data errors



Finally, I learned, that FreeNAS has great self-repair-capabilities, so I didn't recognized the scan you can see in the output above. After the scan was completed there were no errors detected and everything works fine!

So, thank you to the FreeNAS-Developers for their great work!
 
Last edited:
Status
Not open for further replies.
Top