Help with disk size shrinking for new LXC

jumper49

New Member
Nov 12, 2023
1
0
1
I am trying to setup a new LXC, and i am very new at proxmox and home servers in general. How do i shrink this ZFS volume so that when I assign an LXC to use it as storage it doesnt have access to the whole thing?

I want to create partitions or small sections on it but i do already have data on it as no UI's highlighted this problem until i install CasaOS.

I have attached some screenshots and would appreciate any help available to me (I have been up for hours and dont want to break anything, I have run commands to give you the info of my current dumpster fire of a setup)

I would appreciate if you could explain where I have went wrong as well as I would like to learn and only know windows.

Thank you kind stranger :)
 
How do i shrink this ZFS volume so that when I assign an LXC to use it as storage it doesnt have access to the whole thing?
Generally speaking, shrinking is always much, much harder and growing a filesystem. Therefore, there is no button to do this in the GUI and that is a good think. Specially for ZFS datasets (not zvols), it is easy. You need to find out your container id, then find the underlying zfs dataset and change the quota setting for it. Please see here.