Вот статус zfs после замены диска:
Код: Выделить всё
# zpool status -v tank
pool: tank
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 Jan 1 03:08:50 1970
632M scanned out of 22.2G at 1/s, (scan is slow, no estimated time)
6.26M resilvered, 2.79% done
config:
NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
gptid/4f16c5a8-3193-11e1-a372-5404a6a069af ONLINE 0 0 0
1469015699092375709 UNAVAIL 0 0 0 was /dev/gptid/4fe6c9a2-3193-11e1-a372-5404a6a069af
errors: No known data errors
Код: Выделить всё
# zpool status -v
pool: tank
state: ONLINE
scan: resilvered 22.0G in 2h21m with 0 errors on Fri Mar 30 12:02:56 2012
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
gptid/4f16c5a8-3193-11e1-a372-5404a6a069af ONLINE 0 0 0
errors: No known data errors
Код: Выделить всё
# gpart show
=> 34 5860533101 ada0 GPT (2.7T)
34 2014 - free - (1M)
2048 128 1 freebsd-boot (64k)
2176 33554432 2 freebsd-swap (16G)
33556608 5826976527 3 freebsd-zfs (2.7T)
ib# gpart create -s GPT /dev/ada1
ada1 created
ib# gpart show
=> 34 5860533101 ada0 GPT (2.7T)
34 2014 - free - (1M)
2048 128 1 freebsd-boot (64k)
2176 33554432 2 freebsd-swap (16G)
33556608 5826976527 3 freebsd-zfs (2.7T)
=> 34 5860533101 ada1 GPT (2.7T)
34 5860533101 - free - (2.7T)
# gpart add -t freebsd-boot -s 128 ada1
ada1p1 added
ib# gpart show
=> 34 5860533101 ada0 GPT (2.7T)
34 2014 - free - (1M)
2048 128 1 freebsd-boot (64k)
2176 33554432 2 freebsd-swap (16G)
33556608 5826976527 3 freebsd-zfs (2.7T)
=> 34 5860533101 ada1 GPT (2.7T)
34 128 1 freebsd-boot (64k)
162 5860532973 - free - (2.7T)
PS: Есть возможность загрузиться в сингл моде через ipKVM