[SOLVED] Unable to store VMs on local-thin?

liamlows

Well-Known Member
Jan 9, 2020
37
12
48
Hey y'all,

So I recently setup my two servers (R430 and R720XD) in a cluster with the R430 running the performant applications and the R720XD acting as a NAS and also for running less performant applications. I have run into an issue when creating VMs on the R720XD. The R430 PVE node was installed on a ZFSRAID10 filesystem configuration while the R720XD was installed on a single disk using a ext4 filesystem (it also has a seperate 11 disk RAIDZ2 pool). I have one more disk unused in the system that can be added if needed.

The problem i currently face is when trying to create a VM on the R720XD (PVE here was installed as a ext4 filesystem). The disk the PVE was installed to is a 1.09TB disk and currently uses ~100GB for the CT/ISO storage on local, but the remaining ~900GB of storage is listed as a lvm-thin pool/partition called "data". I have screenshots of this below but i dont know how to access "data" and store VMs on it. I noticed this only after joining the node to the cluster with the other machine (R430).

Let me know what you guys think, thanks!

TLDR: I am trying to have proxmox installed on the single disk and also store VMs on the same disk, the PVE is part of a cluster and the other machine uses ZFS exlusively. When I create VMs on the PVE, there is no option to allow me to choose the LVM-Thin partition/pool as the storage.

Disks->LVM-Thin view:
1656215377361.png

Disks view:
1656215578053.png

[UPDATE]:
So looking at the storage.cfg file on the R720XD PVE I noticed that the zfspool entry was set to a folder that does not exist. Would I simply need to remove that entry and add a new one that maps to another directory on the OS? Or is there a way to map it to the data partition i see under LVM-Thin?
1656215988327.png
 
Last edited:
Alright so I ended up editing the storage.cfg on my R720XD to have the lvm-thin pool "data" and it is appearing now correctly.
1656216898986.png
However, I now see a local-lvm on the R430 which does not have one and i still see the local-zfs on the R720XD when it also does not have one. Any ideas how to fix this?
1656216690785.png

EDIT:
Solved! I feel a little foolish for posting this now but I'll leave it up in case someone comes across the same problem. All I had to do was go to datacenter->storage and edit the local-lvm and local-zfs to be restricted to their respective nodes. I did have to manually add the lvm-thin pool to the storage.cfg for it to appear on the GUI though.
 
Last edited: