TrueNAS on ESXi7 filling drives

jayecin

Explorer
Joined
Oct 12, 2020
Messages
79
I am having trouble with my ESXi VM of TrueNAS running the latest release. I rebooted the TrueNAS VM and now it wont boot with the following errors. It seems that ESXi doesnt believe there is anymore space on the drives, but I know for a fact that they were at like 3-4TB of the 8TB drives. Its two 8TB drives in a mirrored setup. Before rebooting TrueNAS showed something like 4TB free in the pool. This server was running fine, today I tried installing ZoneMinder, it froze at MySQL installation 50%, tried the install again and nothing happened. So i rebooted the server and it failed to boot. This had been running fine for around 1 month prior.

1629251716681.png


1629252944603.png


1629251657123.png
 

Attachments

  • 1629251917710.png
    1629251917710.png
    21 KB · Views: 147
Last edited:

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi,

Well, you have it written right under your nose...

You have Hard Disk No 2 that is configured as 7.2 TB. In the same way, HD No3 is using the same space : 7.2 TB. Also, both of them are thick provisioned. That means that ESX will mark as used 100% of the space dedicated for these drives. Overall you asked ESX to provision 14.4 TB when yourself said that you have less than 8.

You will have to destroy that VM and re-create it with drives much smaller than that, small enough to fit in your ESX storage.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Also, know that what you are doing is very unsafe. TrueNAS requires direct physical control of its drive. If you are about to virtualize TrueNAS and you want to rely on it with any meaningful data, you have to PCI passthrough the controler to it and let it access the drive directly instead of giving it virtual drives.

This post from @jgreco is a must read for people who want to virtualize their instance.
 
Last edited:
Top