LXC without RAW Images

rauppe31

New Member
Mar 26, 2013
21
1
3
Hello

I would like to migrate some of my OpenVZ VMs to LXC. So I've setup a new host with Proxmox 4.
I needed to find out that with LXC Proxmox is using .raw images to store the disks of a container.

I'm searching a storage solution where I can create a let's say 1GB file in a container. After I delete the file, those 1GB should be available again on the filesystem of the host (just like it was in OpenVZ).

I already tried to use LVM instead of the normal "directory" storage, but that also didn't work. The deleted 1GB stay on the hosts filesystem.

Does anyone have a hint for me?

Thank you.
 
Last edited:
Thank you. Do I need additional disks for ZFS or can I have the root filesystem and my VMs on the same ZFS volume?
I'll try ZFS tomorrow. I haven't used ZFS anywhere yet.
 
Yes, you can have everything on one disk (maybe two for redundancy). ZFS is a filesystem and volume manger and a raid manger and .... a lot more.