Hi all.
I noticed an error on zfs-import-scan during the boot process. And the log says that it somehow finds a previously destroyed ZFS pool and is trying to import it:
As the message suggests, I was virtualizing TrueNAS, and 'app' was the volume I mounted into that VM, which should have been destroyed with the VM itself. When I try to invoke the command manually, I get the following (expected) error:
How may I really destroy the 'app' pool so that zfs-import-scan no longer fails?
Many Thanks.
I noticed an error on zfs-import-scan during the boot process. And the log says that it somehow finds a previously destroyed ZFS pool and is trying to import it:
Code:
May 13 23:25:46 pve zpool[1014]: cannot import 'app': pool was previously in use from another system.
May 13 23:25:46 pve zpool[1014]: Last accessed by truenas (hostid=12d506b5) at Wed Dec 31 19:00:00 1969
May 13 23:25:46 pve zpool[1014]: The pool can be imported, use 'zpool import -f' to import the pool.
As the message suggests, I was virtualizing TrueNAS, and 'app' was the volume I mounted into that VM, which should have been destroyed with the VM itself. When I try to invoke the command manually, I get the following (expected) error:
Code:
root@pve:~# zpool import -f
no pools available to import
root@pve:~# zpool import -afN -d /dev/disk/by-id -o cachefile=none
internal error: cannot import 'app': Value too large for defined data type
Aborted
How may I really destroy the 'app' pool so that zfs-import-scan no longer fails?
Many Thanks.
Last edited: