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:
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 … )
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 … ?
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:
Power down, disconnect all your drives.
If you have a single drive available that you could use as a temporary boot drive, connect it.
Power up the system with the TrueNAS ISO burned to a bootable flash drive, install TrueNAS SCALE to the temporary drive.
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.
Power down, reconnect ONLY your passed through ZFS data drives.
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.
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.
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.