Здравствуйте.
Проблема такая - есть FreeBSD установленная на zmirror. (ada0+ada1)
Вылетел ada0.
Сделал
zpool detach bootpool ada0s1a
zpool detach zroot ada0s1dустановил новый ada0
сделал
dd if=/dev/ada1 of=/dev/ada0 bs=1024k
root@f1:/usr/home/serge # zpool status -v
pool: bootpool
state: ONLINE
scan: resilvered 448M in 0 days 00:00:32 with 0 errors on Thu Nov 21 15:06:49 2024
config:
NAME STATE READ WRITE CKSUM
bootpool ONLINE 0 0 0
ada1s1a ONLINE 0 0 0
errors: No known data errors
pool: zroot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:00:32 with 0 errors on Tue Apr 14 11:18:36 2020
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
ada1s1d ONLINE 0 0 0
пробую подсоединить снова разделы-
root@f1:/usr/home/serge # zpool attach bootpool ada1s1a ada0s1a
invalid vdev specification
use '-f' to override the following errors:
/dev/ada0s1a is part of active pool 'bootpool'
root@f1:/usr/home/serge # zpool attach -f bootpool ada1s1a ada0s1a
invalid vdev specification
the following errors must be manually repaired
/dev/ada0s1a is part of active pool 'bootpool'
пробую повторно отключить раздел-
root@f1:/usr/home/serge # zpool detach bootpool ada0s1a
cannot detach ada0s1a: no such device in pool
Как поправить ситуацию?