Convert LXC containers to OpenVZ containers

alex3137

Member
Jan 19, 2015
43
3
8
Hello.

Due to number of issues with PVE 4 and LXC, I would like to downgrade to Proxmox 3.4.

Is it possible to convert an LXC container to an OpenVZ container ?

Thank you
 
there is no tool for this.

which LXC issues? please add a link (e.g. to the bugreport)
 
Hello @tom

My main problem is performance issues (IOwait) and I opened a thread here. Some other users experiencing similar problem here, there, there too.

This is very frustrating because it seems to be an issue for a lot of people and Proxmox staff does not really react to the problem. Maybe you are clueless like us, but given the number of users affected it cannot be ignored forever. I am willing to help troubleshooting but we need support from Proxmox team.
 
Did you try to tweak the barriers as it is described everywhere?

I installed several machines in the last two weeks (all with ZFS) and never had any performance problems. I do know that I had to tweak the barriers back in the days of my XEN virtualization, which suffered from similar problems. ext4 is not optimal and you definitely do not need another storage layer if you use LXC. Just use ONE filesystem which is faster.
 
I am using ext3 and disabled barriers the following way in /etc/fstab:

Code:
/dev/pve/data   /var/lib/vz     ext3    defaults,barrier=0,data=writeback       1       2
 
My containters are file on the filesystem (I create them from Proxmox GUI, backup them and restore them with --rootfs local:0)
 
Have you looked in the upstream kernel bugreport for similar issues? Kernel is IMHO unchanged, so there should be similar issues on Ubuntu too.
 
LXC on ext3 is not the setup I would recommend. LXC storage setup is totally different to the old openvz storage, so you cannot do it the same.

Try ZFS - if you follow the hardware recommendations for ZFS, you will see great performance (and features).
 
LXC on ext3 is not the setup I would recommend. LXC storage setup is totally different to the old openvz storage, so you cannot do it the same.

Try ZFS - if you follow the hardware recommendations for ZFS, you will see great performance (and features).

I run a standalone server with one hard drive and 3 partitions: OS, data, backups. I saw ZFS is not recommended in this configuration because of a risk of corruption . Can you advise which filesystem is appropriate in my setup ?
 
if you want performance, you will need to use the appropriate hardware.

A single hard drive give you exactly the performance of a single hard drive and yes, ZFS is not possible here.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!