Today before going to work I shut down my server due to a planned power outage in my building, I think for the first time since setting it up this summer.
When I got back home I started it up and noticed that my ZFS pool wasn't correctly mounted, all the directories were empty, or containing empty subdirectories.
So I tried importing all pools via the GUI and rebooted, no success.
Then I ssh:ed in and checked "zpool status" and I see that the pool is "OK", but one of the disks is resilvering?? (my pool is RAIDZ2)
Why would it be resilvering, and how can I check what caused this? Should I be worried that this disk is about to fail?
zpool status:
❱ zpool status
pool: zpool
state: ONLINE
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 Mon Nov 4 19:12:38 2019
1.03T scanned out of 15.8T at 404M/s, 10h39m to go
175G resilvered, 6.48% done
config:
NAME STATE READ WRITE CKSUM
zpool ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D4440605 ONLINE 0 0 0
ata-WDC_WD60EFRX-68L0BN1_WD-WX61DC896ZRK ONLINE 0 0 0
ata-WDC_WD60EFRX-68L0BN1_WD-WXJ1H26W5NCJ ONLINE 0 0 0 (resilvering)
ata-WDC_WD60EFRX-68L0BN1_WD-WX61DC8965RE ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D4413013 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WXP1H6438KV9 ONLINE 0 0 0
errors: No known data errors
Alles anzeigen
I didn't really change anything except try import via the GUI, and enabled ZFS_POOL_IMPORT=zpool" and ZPOOL_IMPORT_PATH="/dev/disk/by-vdev:/dev/disk/by-id in /etc/default/zfs
While the pool is resilvering, should I still be able to see the pool contents mounted? I found some threads from earlier that people have had
this same kind of issue where the ZFS pool isn't properly mounted on boot - what should I try to get it mounted again?