Can I split primary drive for Prox & VM's and Cache for VM'd TrueNas ?

ettill

New Member
Nov 22, 2025
1
0
1
When I installed ProxMox used only 400G of a 1Tb NVME in the hope that I could use the 500G left as a Cache for my HDD based TrueNas ..
I have just Proxmox 9.1-1 in a new machine and have not starting migrating my 2T Mirrored and 8Tb Mirrored drive over.
One of the issues that I have had is even in a mirrored environment i get only around 20MB/sec ... on a 2.5G network. Was hoping i could use part of the NVME drive a cache/buffer for the NAS to speed up the write speeds. This is what I have only as the Disk for ProxMox .1763779972985.png
Anyone have suggestions on how i can set up the available space as another partition,

Sorry still very new to Prox and Linux environments ... and terrible in Console... hehehe...

Thanks in advance.
 
Hello,
It`s is simple. In proxmox console : pvcreate /dev/nvme0n1p4
vgcreate data-vg /dev/nvme0n1p4
lvcreate -L 100%FREE -T data-vg/data-vg-thin

Can you follow these steps? If yes try AI. :)
 
Last edited:
@stamox What benefit would it be to create a separate PV and LV here? Also not having unallocated space in the VG with thin pools is a bad idea.

@ettill How do you plan to give that partition to TrueNAS?
 
Last edited:
  • Like
Reactions: Johannes S
A hint besides the initial question:
BAD IDEA!

Having OS, VM/Container storage AND cache for harddrives inside a VM on ONE NMVe is not going to perform well.
If you still think to try it, go ahead and find out.
 
  • Like
Reactions: Johannes S and UdoB
Having OS, VM/Container storage AND cache for harddrives inside a VM on ONE NMVe is not going to perform well.
Beside of the performance: if this single device fails the whole house of cards will be fubar.
 
Absolutely right! I had just assumed, that the OP did already realize that. However, good point to mention it, just to make sure.