questions on virtual disks in ESXi (boot pool mirror and virtual disk for Apps)

Joined
Jan 6, 2023
Messages
3
Hi, I want virtualize Truenas Scale on ESXi. For that I have some questions when I create the virtual disk(s):

Does it have any advantage adding two virtual disks for the boot pool and setting them up as a mirror (like fixing corruption)? I saw few doing this.

I know it is it is discouraged to use virtual disks or RDM for the actual data pool (For that I use a LSI-HBA). But can make a virtual disk pool just for using it for truecharts apps?
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
Please read Forum Rules. big red letters on top of forum....
Hi, I want virtualize Truenas Scale on ESXi. For that I have some questions when I create the virtual disk(s):
did you read the resource on virtualizing TrueNAS?
Does it have any advantage adding two virtual disks for the boot pool and setting them up as a mirror (like fixing corruption)? I saw few doing this.
does so is fine.
I know it is it is discouraged to use virtual disks or RDM for the actual data pool (For that I use a LSI-HBA). But can make a virtual disk pool just for using it for truecharts apps?
what is the reason for not putting them in the LSI pool?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Does it have any advantage adding two virtual disks for the boot pool and setting them up as a mirror (like fixing corruption)? I saw few doing this.

Generally, this is acceptable. Variation on


Do note that ESXi has been known to freak out if your datastores are not at least RAID1 protected and you try to access data on the VMDK. It can cause your VM to stall. To make it clear, the ESXi datastore is RAID1 and then you have two VMDK's which mirror each other. It seems wasteful but you don't need them to be huge.

But can make a virtual disk pool just for using it for truecharts apps?

Yes, but, same as above. Do it on RAID1 datastore or else risk issues when something bad happens causing the VMDK to hang.
 
Joined
Jan 6, 2023
Messages
3
what is the reason for not putting them in the LSI pool?
Because the main pool is HDD based and I noticed that selecting it for apps causes drive anoise every few seconds because of writes. And i don't want to waste drive bays for a SSD only pool just for that.
 
Joined
Jan 6, 2023
Messages
3
Do note that ESXi has been known to freak out if your datastores are not at least RAID1 protected and you try to access data on the VMDK. It can cause your VM to stall. To make it clear, the ESXi datastore is RAID1 and then you have two VMDK's which mirror each other.
Would it be enough to put the two vmdks on different datastores on different drives?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Would it be enough to put the two vmdks on different datastores on different drives?

No. The point here is that if the hypervisor is unable to read the data from the drive, it is fairly common for the hypervisor to pop an I/O error and to pause the VM. Having two vmdk's on two different datastores does not resolve that. Having two different vmdk's on RAID1 protected storage does, however.
 
Top