Il disco ZFS – Zpool sostituisce i risultati nel riavvio del process di resilver che non finisce mai

Ho sostituito un disco rotto con un tipo già utilizzato nella mia piscina per qualche tempo. Il problema che affronto è che il process di resilver sembra bloccato in un ciclo di riavvio. Ogni qualvolta controllavo lo zpool status vedo che il process di resilver è iniziato un paio di secondi fa. La percentuale di progresso rimane bloccata allo 0%

per esempio

  • Quanto è grande il mio tavolo di deduplicazione ZFS al momento?
  • Aggiornato Ubuntu, tutte le unità in un gruppo non sono disponibili
  • Il calcolo di IOPS per ZFS RAIDZ è diverso da quello che calcola IOPS per RAID5 e RAID6?
  • le raccomandazioni per una soluzione efficiente di backup remoto offsite di vm's
  • Distriggerszione della funzionalità RAID su HP Smart Array P400
  • FreeNAS con ZFS e TLER / ERC / CCTL
    • scan: resilver in corso dal Gio Giu 1 09:13:27 2017
    • scan: resilver in corso dal Gio Giu 1 09:15:10 2017
    • scan: resilver in corso dal Gio Giu 1 09:18:11 2017

    Non ho idea di cosa sta andando storto, mai incontrato questo problema prima. Apprezzerò alcuni consigli da parte della comunità.

     root@nas:~# dmesg | grep ZFS [5.224533] ZFS: Loaded module v0.7.0-rc4_36_g2d82116e8, ZFS pool version 5000, ZFS filesystem version 5 

     root@nas:~# uname -a Linux nas 4.9.0-0.bpo.3-amd64 #1 SMP Debian 4.9.25-1~bpo8+1 (2017-05-19) x86_64 GNU/Linux 

     root@nas:~# zpool status [code] pool: naspool 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 Thu Jun 1 09:13:27 2017 3.52G scanned out of 12.8T at 157M/s, 23h40m to go 720M resilvered, 0.03% done config: NAME STATE READ WRITE CKSUM naspool DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 wwn-0x5000c5005d126ae9 ONLINE 0 0 0 ata-ST3000DM001-1CH166_Z1F3LC75 ONLINE 0 0 0 ata-ST4000DM005-2DP166_ZDH1BA2G ONLINE 0 0 0 replacing-3 DEGRADED 0 0 0 11962083988745856144 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_45U3NSGGS-part1 ata-ST4000DM005-2DP166_ZDH1L31E ONLINE 0 0 0 (resilvering) ata-ST3000DM001-1CH166_W1F517W8 ONLINE 0 0 0 errors: No known data errors[/code] 

     root@nas:~# zpool status [code] pool: naspool 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 Thu Jun 1 09:15:10 2017 511M scanned out of 12.8T at 31.9M/s, 116h23m to go 101M resilvered, 0.00% done config: NAME STATE READ WRITE CKSUM naspool DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 wwn-0x5000c5005d126ae9 ONLINE 0 0 0 ata-ST3000DM001-1CH166_Z1F3LC75 ONLINE 0 0 0 ata-ST4000DM005-2DP166_ZDH1BA2G ONLINE 0 0 0 replacing-3 DEGRADED 0 0 0 11962083988745856144 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_45U3NSGGS-part1 ata-ST4000DM005-2DP166_ZDH1L31E ONLINE 0 0 0 (resilvering) ata-ST3000DM001-1CH166_W1F517W8 ONLINE 0 0 0 errors: No known data errors 

     root@nas:~# zpool status pool: naspool 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 Thu Jun 1 09:18:11 2017 40.0M scanned out of 12.8T at 3.34M/s, (scan is slow, no estimated time) 7.78M resilvered, 0.00% done config: NAME STATE READ WRITE CKSUM naspool DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 wwn-0x5000c5005d126ae9 ONLINE 0 0 0 ata-ST3000DM001-1CH166_Z1F3LC75 ONLINE 0 0 0 ata-ST4000DM005-2DP166_ZDH1BA2G ONLINE 0 0 0 replacing-3 DEGRADED 0 0 0 11962083988745856144 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_45U3NSGGS-part1 ata-ST4000DM005-2DP166_ZDH1L31E ONLINE 0 0 0 (resilvering) ata-ST3000DM001-1CH166_W1F517W8 ONLINE 0 0 0 errors: No known data errors 

     root@nas:~# ls -altr /dev/disk/by-id/ total 0 drwxr-xr-x 8 root root 160 May 31 20:08 .. drwxr-xr-x 2 root root 800 May 31 20:08 . lrwxrwxrwx 1 root root 9 Jun 1 09:19 wwn-0x5001b44a10bb94af -> ../../sda lrwxrwxrwx 1 root root 9 Jun 1 09:19 ata-SanDisk_SDSSDP128G_133230401711 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5001b44a10bb94af-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5001b44a10bb94af-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5001b44a10bb94af-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-SanDisk_SDSSDP128G_133230401711-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-SanDisk_SDSSDP128G_133230401711-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-SanDisk_SDSSDP128G_133230401711-part1 -> ../../sda1 lrwxrwxrwx 1 root root 9 Jun 1 09:19 wwn-0x5000c500646bb32a -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 1 09:19 ata-ST3000DM001-1CH166_Z1F3LC75 -> ../../sdc lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5000c500646bb32a-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-ST3000DM001-1CH166_Z1F3LC75-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5000c500646bb32a-part9 -> ../../sdc9 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-ST3000DM001-1CH166_Z1F3LC75-part9 -> ../../sdc9 lrwxrwxrwx 1 root root 9 Jun 1 09:19 wwn-0x5000c500a2ef74a9 -> ../../sde lrwxrwxrwx 1 root root 9 Jun 1 09:19 ata-ST4000DM005-2DP166_ZDH1L31E -> ../../sde lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5000c500a2ef74a9-part9 -> ../../sde9 lrwxrwxrwx 1 root root 10 Jun 1 09:19 wwn-0x5000c500a2ef74a9-part1 -> ../../sde1 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-ST4000DM005-2DP166_ZDH1L31E-part9 -> ../../sde9 lrwxrwxrwx 1 root root 10 Jun 1 09:19 ata-ST4000DM005-2DP166_ZDH1L31E-part1 -> ../../sde1 lrwxrwxrwx 1 root root 9 Jun 1 09:20 wwn-0x5000c500a2a93310 -> ../../sdd lrwxrwxrwx 1 root root 9 Jun 1 09:20 ata-ST4000DM005-2DP166_ZDH1BA2G -> ../../sdd lrwxrwxrwx 1 root root 10 Jun 1 09:20 wwn-0x5000c500a2a93310-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Jun 1 09:20 ata-ST4000DM005-2DP166_ZDH1BA2G-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Jun 1 09:20 wwn-0x5000c500a2a93310-part9 -> ../../sdd9 lrwxrwxrwx 1 root root 10 Jun 1 09:20 ata-ST4000DM005-2DP166_ZDH1BA2G-part9 -> ../../sdd9 lrwxrwxrwx 1 root root 9 Jun 1 09:21 wwn-0x5000c5005d1119cc -> ../../sdf lrwxrwxrwx 1 root root 9 Jun 1 09:21 ata-ST3000DM001-1CH166_W1F517W8 -> ../../sdf lrwxrwxrwx 1 root root 10 Jun 1 09:21 wwn-0x5000c5005d1119cc-part1 -> ../../sdf1 lrwxrwxrwx 1 root root 10 Jun 1 09:21 ata-ST3000DM001-1CH166_W1F517W8-part1 -> ../../sdf1 lrwxrwxrwx 1 root root 10 Jun 1 09:21 wwn-0x5000c5005d1119cc-part9 -> ../../sdf9 lrwxrwxrwx 1 root root 10 Jun 1 09:21 ata-ST3000DM001-1CH166_W1F517W8-part9 -> ../../sdf9 lrwxrwxrwx 1 root root 9 Jun 1 09:21 wwn-0x5000c5005d126ae9 -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 1 09:21 ata-ST3000DM001-1ER166_Z500CKWL -> ../../sdb lrwxrwxrwx 1 root root 10 Jun 1 09:21 wwn-0x5000c5005d126ae9-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 1 09:21 ata-ST3000DM001-1ER166_Z500CKWL-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 1 09:21 wwn-0x5000c5005d126ae9-part9 -> ../../sdb9 lrwxrwxrwx 1 root root 10 Jun 1 09:21 ata-ST3000DM001-1ER166_Z500CKWL-part9 -> ../../sdb9 

  • Riavviare la networking su Debian Jessie
  • systemd's journalctl: come filtrare per messaggio?
  • Negare alcuni utenti locali (non indirizzi) per submit email da exim4
  • Come si utilizza HAProxy con variables di ambiente quando si esegue come servizio
  • Ottieni IP del nodo che esegue una risorsa specifica quando abbassa i nodes master agli slave
  • Debian 8: non sono disponibili moduli LSB
  • One Solution collect form web for “Il disco ZFS – Zpool sostituisce i risultati nel riavvio del process di resilver che non finisce mai”

    Non sono riuscito a risolvere questo problema e ho finito sostituendo il disco da un altro, che ha risolto il problema. Sospetto che l'unità sia stata difettosa, anche quando non sono stati registrati errori SMART.

    Suggerimenti per Linux e Windows Server, quali Ubuntu, Centos, Apache, Nginx, Debian e argomenti di rete.