Stuck on Boot after zpool import -f

anexgohan

Cadet
Joined
Jan 9, 2024
Messages
4
Hello all,
so my system burned down reason/how is still unsolvable to me taking down its 3 internal hard disks (2storage-1parity) and the internal m.2 ssd backup drive which had backups of my host and virtual machines and a few lxc, due to this I cannot just simply restore a backup of the trueNAS vm.

Thankfully due to space constraints, I had another 3 HDD's (2storage-1parity) in an enclosure next to the burned system, which was left unharmed, this was holding my work backups and family pics/vids.
I have built another system and connected the 3 HDD's to it in a trueNAS VM running the latest "Cobia", same as before. I have tried the following
A). after loging in to the GUI i tried to import the pool from gui which just restarts the vm without importing
B). in the CLI i tried zpool status which correctly lists my pool and mentions that the pool is from another computer, but i can import it using -f flag
C). i did the zpool import -f <name>, this does some stuff and restarts the VM, but now the vm gets after
Starting ix-etc.service - Generate TrueNAS /etc files...
(1 of 3) Job ix-swap.service/start running (26s / no limit)
(See the screenshot attached)
vncviewer_8U6uaFnDAc.png


this has been stuck here for the past day, at first i thought it was importing or running a scrub but i'm doubtful now as more time passes.

Any help how to get past this.
Thanks for any responses, much appreciated.
 

anexgohan

Cadet
Joined
Jan 9, 2024
Messages
4
This is the VM conf
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 4
cpu: host
efidisk0: local:200/vm-200-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
machine: q35
memory: 8192
meta: creation-qemu=7.2.0,ctime=1704810031
name: truenas
net0: virtio=56:50:15:39:09:A7,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
sata1: /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN20VVA,backup=0,size=4000787029504
sata2: /dev/disk/by-id/ata-ST4000DM004-2U9104_ZTT4DHBA,backup=0,size=4000787029504
sata3: /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN2TNB4,backup=0,size=4000787029504
scsi0: local:200/vm-200-disk-1.qcow2,discard=on,iothread=1,size=16G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=b699a8bf-f352-4be2-980d-17937acc3cec
sockets: 1
startup: order=1,up=90
tags: vm
vmgenid: e1f626b7-cad9-4dc8-baaf-743539d9e328
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
anexgohan said:
sata1: /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN20VVA,backup=0,size=4000787029504
sata2: /dev/disk/by-id/ata-ST4000DM004-2U9104_ZTT4DHBA,backup=0,size=4000787029504
sata3: /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN2TNB4,backup=0,size=4000787029504
This is a virtualized instance of SCALE (probably from Proxmox) using a completely unsupported config... if you must virtualize TrueNAS (or any OS using ZFS), you need to pass disks into the VM by attaching them to a controller which has been passed in by PCI.

If you haven't already lost the pool, that will come around eventually. Re-think your setup.

 

anexgohan

Cadet
Joined
Jan 9, 2024
Messages
4
This is a virtualized instance of SCALE (probably from Proxmox) using a completely unsupported config... if you must virtualize TrueNAS (or any OS using ZFS), you need to pass disks into the VM by attaching them to a controller which has been passed in by PCI.

If you haven't already lost the pool, that will come around eventually. Re-think your setup.

yeah this setup is more availability trumps recommended, my location does not have server grade parts delivery and customs won't let imported ones pass through.
Also, the zpool import shows it available and importable, the GUI is working properly i can create new pools and datasets, just after importing the pool it wont boot.
 
Top