LXC config problem


Well-Known Member
Nov 15, 2017
Warsaw, Poland
I would like to install OMV on proxmox lxc as stated in that tutorial:
Only difference my debian is 9.3 and omv is 4.0.x.
Everything so far works great only I have stuck on: make hook to mount data drives (sdb2 and sdc2)
I have got this when I try to run container:
The configuration file contains legacy configuration keys.
Please update your configuration file!
finally container starts but I cannot see any drives ...
This is my container config file (/etc/pve/lxc/108.conf):
arch: amd64
cores: 4
hostname: omv
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=,hwaddr=5A:8A:F0:4B:10:6F,ip=,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-1,size=8G
swap: 2048
lxc.aa_profile: unconfined
lxc.mount.auto: cgroup:rw
lxc.mount.auto: proc:rw
lxc.mount.auto: sys:rw
lxc.cgroup.devices.allow: b 8:16 rwm
lxc.cgroup.devices.allow: b 8:17 rwm
lxc.cgroup.devices.allow: b 8:18 rwm
lxc.cgroup.devices.allow: b 8:32 rwm
lxc.cgroup.devices.allow: b 8:33 rwm
lxc.cgroup.devices.allow: b 8:34 rwm
lxc.autodev: 1
lxc.mount.entry: /media/11772968-9c22-4652-8f30-96b0e5a16a94 media/11772968-9c22-4652-8f30-96b0e5a16a94 none bind,create=dir,optional 0 0
lxc.mount.entry: /media/60864452-f794-4ef7-bd58-a2ec42f092e5 media/60864452-f794-4ef7-bd58-a2ec42f092e5 none bind,create=dir,optional 0 0
can someone tell me are there some config variables are not anymore valid?
thanks for any help


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!