Hi,
I created zpool in PVE webgui, didn't realize it can be problem later, because it used /dev/sd* instead of /dev/disk/by-id/*. Now after reboot my RAID-Z2 is DEGRADED.
Is there some quick way how to fix this? I want to avoid backup/restore if possible.
I created zpool in PVE webgui, didn't realize it can be problem later, because it used /dev/sd* instead of /dev/disk/by-id/*. Now after reboot my RAID-Z2 is DEGRADED.
Code:
# zpool status -x
pool: dpool
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub repaired 0B in 0 days 00:02:58 with 0 errors on Thu Dec 19 20:44:59 2019
config:
NAME STATE READ WRITE CKSUM
dpool DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
14009361960905333539 FAULTED 0 0 0 was /dev/sdf1
9903023571805836418 FAULTED 0 0 0 was /dev/sdg1
sdh ONLINE 0 0 0
errors: No known data errors
Is there some quick way how to fix this? I want to avoid backup/restore if possible.