Маємо наступну ситуацію:
root@solaris:~# zpool import -f -N -F 9663859789121603598 sata_pool
cannot import 'rpool' as 'sata_pool': one or more devices is currently unavailable
root@solaris:~# zpool import -f -N -F -o readonly=on 9663859789121603598 sata_pool
cannot import 'rpool' as 'sata_pool': one or more devices is currently unavailable
root@solaris:~# zpool import
pool: rpool
id: 9663859789121603598
state: UNAVAIL
status: One or more devices are missing. There are insufficient
replicas for the pool to continue functioning.
action: The pool cannot be imported. Connect the missing
device(s) and try again.
see: http://support.oracle.com/msg/ZFS-8000-6X
scan: resilvered 33.2G in 9m23s with 0 errors on Fri Oct 3 10:17:14 2025
config:
NAME STATE
root UNAVAIL
mirror-0 DEGRADED
c1t1d0 ONLINE
c1t0d0 UNAVAIL
Але з цієї ситуацію є неочевидний лайфхак: створити пул з диску, який в даному випадку UNAVAIL і далі імпортуємо пул:
root@solaris:~# zpool create -f testpool c1t0d0
root@solaris:~# zpool import
pool: rpool
id: 9663859789121603598
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
scan: resilvered 33.2G in 9m23s with 0 errors on Fri Oct 3 10:17:14 2025
config:
NAME STATE
root ONLINE
c1t1d0 ONLINE
root@solaris:~# zpool import -f -N 9663859789121603598 sata_pool
root@solaris:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
sata_pool 298G 33.2G 265G 11% 1.00x ONLINE -
testpool 298G 112K 298G 0% 1.00x ONLINE -