So, I've gotten myself into an odd situation. I'm doing a fresh install of 15.0.
I was migrating a root-on-zfs pool to a smaller partition, and at the end, the new pool seems okay, but "zfs import" is showing the original pool, UNAVAIL, and the devices it thinks are in the mirror are both devices/paritions that have been put into the new mirror.
I don't seem to be able to "zpool destroy" it (cannot open), and I can't import it (vdev problem; no such pool or dataset).
And, labelclear isn't an option as the drives are both in the working mirror. I did try to labelclear /dev/nda1p4 before I re-added it to the new mirror (via replace of a bogus element), but that failed to do anything even then.
I just need to tell the system that that pool doesn't exist. How do I know why it thinks it does?
Info below, missing a few kernel prints the console sees that the script didn't.
Thanks.
I was migrating a root-on-zfs pool to a smaller partition, and at the end, the new pool seems okay, but "zfs import" is showing the original pool, UNAVAIL, and the devices it thinks are in the mirror are both devices/paritions that have been put into the new mirror.
I don't seem to be able to "zpool destroy" it (cannot open), and I can't import it (vdev problem; no such pool or dataset).
And, labelclear isn't an option as the drives are both in the working mirror. I did try to labelclear /dev/nda1p4 before I re-added it to the new mirror (via replace of a bogus element), but that failed to do anything even then.
I just need to tell the system that that pool doesn't exist. How do I know why it thinks it does?
Info below, missing a few kernel prints the console sees that the script didn't.
Thanks.
Code:
Script started on Wed Jan 28 21:30:28 2026
root@:~ # zpool status
pool: zroot2
state: ONLINE
scan: resilvered 1.75G in 00:00:01 with 0 errors on Wed Jan 28 21:04:44 2026
config:
NAME STATE READ WRITE CKSUM
zroot2 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nda0p4 ONLINE 0 0 0
nda1p4 ONLINE 0 0 0
errors: No known data errors
root@:~ # zpool import
pool: zroot
id: 12777438546136241594
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-3C
config:
zroot UNAVAIL insufficient replicas
mirror-0 UNAVAIL insufficient replicas
nda1p4 UNAVAIL invalid label
nda0 UNAVAIL cannot open
root@:~ # zpool destroy -f zroot
cannot open 'zroot': no such pool
root@:~ # zpool import -N -f zroot
cannot import 'zroot': no such pool or dataset
Destroy and re-create the pool from
a backup source.
root@:~ #