ZFS Removing hanging zpools ...

zpool import
Code:
  pool: XXX
    id: 2236206737834695129
 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:

    XXX         UNAVAIL  insufficient replicas
      nda0      UNAVAIL  cannot open

  pool: ZT2
    id: 17034093544277358579
 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:

    ZT2          UNAVAIL  insufficient replicas
      ada0p1     UNAVAIL  cannot open
root@myfreebsd:/home/x # cd

I want to remove this without using labelclear which is too dangerous.
 
Error remained. I'm very afraid to use labelclear , i know you can use zdb & delete stuff but this is too deep for me. It"s currently more an annoyance then an error.
 
Do you actually care about any data that may be on ada0p1? If not I would assume combinations of gpart and dd to clear things would work.
 
Due to "history" my main zpool is mixed, NVME,SSD. But in the past i ditched partitions belonging to zpools. And now there is something hanging. I had to delete zpools afterwards partitions. I did not do. I deleted partitions first.
Dear Craceur, Occodring to analysis i can use zdb.
Cannot import.
 
Back
Top