Problem with networking in an openVZ container on a NAS - Proxmox 2.1

woupida

New Member
Jul 12, 2012
2
0
1
Hi all,

I have been using Proxmox 1.5 and decided to upgrade to 2.1 essentially because of support of OpenVZ container on NAS.
Containers (debian 5.0.2 template) can be created on my NAS but have network problems. No network (I choses venet option).
ifconfig gives nothing
/etc/init.d/networking start gives :

"Configuring network Interfaces...ifup: failed to lock statefile
/etc/network/run/ifstate: No locks avalaible
Failed."

/etc/network/run/ifstate does exist.

here is /etc/network/interfaces (got from the console) :
...
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down ifconfig venet0 down

iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0

auto venet0:0
iface venet0:0 inet static
address 172.16.30.117
netmask 255.255.255.255

Does anyone has any idea to solve this problem ?

Cheers,

André
 
Hi,

To solve the problem, I googled 'no locks available NFS' and it appears that NFS volumes must be mounted with 'nolock' option. So I modified /etc/pve/storage.cfg to add this option, wich gives :

nfs: NAS
path /mnt/pve/NAS
server 172.16.30.52
export /Proxmox
options vers=3,nolock
content backup,rootdir
maxfiles 1

As far as I know it is not possible to add this option through the GUI.

André
 

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!