Меняем диски в Nas4Free
/ Просмотров: 651
На старте имеем следующую картину:
garantnas: ~# zpool status
pool: GarantNAS2
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: resilvered 403G in 1h1m with 0 errors on Wed Jun 10 03:16:59 2020
config:
NAME STATE READ WRITE CKSUM
GarantNAS2 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ada2 ONLINE 0 0 0
4080308201405766358 UNAVAIL 0 0 0 was /dev/ada3
errors: No known data errors
Вырубаем Nas4Free, меняем сбойный диск. В моем случае новый диск определился как /dev/ada3
garantnas: ~# zpool replace GarantNAS2 4080308201405766358 /dev/ada3
garantnas: ~# zpool status
pool: GarantNAS2
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 Fri May 31 16:57:06 2024
523M scanned out of 2.99T at 30.8M/s, 28h20m to go
519M resilvered, 0.02% done
config:
NAME STATE READ WRITE CKSUM
GarantNAS2 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ada2 ONLINE 0 0 0
replacing-1 UNAVAIL 0 0 0
4080308201405766358 UNAVAIL 0 0 0 was /dev/ada3/old
ada3 ONLINE 0 0 0 (resilvering)
errors: No known data errors
Картинка сгенерирована в этом сервисе