Can't boot truenas scale

Hi there,

I run TrueNAS scale as VM in proxmox for about 6 months without problem, but I think I made a mistake (don’t know what mistake yet)…

I launched a big backup, and it stopped, I went to see why, couldn’t connect to the webGUI, opened proxmox, view TrueNAS as running, but still no webGUI.

Tried to reboot the VM, timed out, killed it, restarted it, and couldn’t, the boot process hangs at

Job ix-zfs.service/start running

So, I went back to proxmox to check volumes, and:

capture_20241004-132602

VM_1 is the TrueNAS OS volume, a 128Gb partition

The (valuable) data is on a 4 x 8Tb RaidZ1 (pass-through). I don’t really care about the OS, but I need the data (and no, I don’t have backup … :tired_face:)

What should I do now to recover ? My first idea is to create a new VM, pass-thou the 4 8Tb HD drives to that new VM, install a fresh TrueNAS scale on it, create a RaidZ1 on the new TrueNAS with those HD. Will this work ?

The other question is how can I investigate the fact that the OS disk went to 128Gb … ?

Thanks

…it sounded good until “create a RaidZ1 on the new TrueNAS with those HD” !!!.
You’d import that pool. Otherwise you’ll loose your data.

is it core or scale ?
is the memory assigned fixed or variable ?
is that the only VM you’ve got in that Proxmox ?

If the drives were actually passed through, the solution is easy to access your data.

Create a bootable flash drive with TrueNAS SCALE on it and boot it up. Here is how:

  1. Power down, disconnect all your drives.
  2. If you have a single drive available that you could use as a temporary boot drive, connect it.
  3. Power up the system with the TrueNAS ISO burned to a bootable flash drive, install TrueNAS SCALE to the temporary drive.
  4. Once done, you should be able to boot into TrueNAS without issue. If you happen to have a copy of your config file, restore it.
  5. Power down, reconnect ONLY your passed through ZFS data drives.
  6. Power On, hopefully the pool will automatically mount. If not, you will have to do it manually.

I would say, if you are really good using Proxmox, you could do all this via VM however if your data is important, don’t fool with it, just get your data available and then back it up.

1 Like

Scale, fixed memory, and no, I do have other running VM and LXC

I did not like scale under proxmox but liked core in proxmox in my testing.
Since you only have that one VM, install Scale on bare metal and recover your pool. It should.
Am in scale bare metal running a Win11 and inside running Hyper-V VMs due to liking M$ memory usage. Meaning that you could run your VMs if any from Scale. :wink:

…until now.
Read this carefully:

If you have no backup, I’d suggest to take your array out of Proxmox before corruption occurs.

As for the boot drive, can you make it larger in Proxmox? Being 100% full locks a pool as read-only, which is not good for a boot device.

In VMWare ESXi I have my virtual boot drive set as a 16GB drive and I ensure I do not have too many boot environments on file. I rarely have over 50% full.