vzctl create and NFS storage "Private area already exists" problem

woima

Renowned Member
May 3, 2012
18
2
68
I have used nfs storage for my vz containers and they are working just fine, but few days ago there became one problem. I can't create new containers anymore.


All I got is this error message:


Private area already exists in /mnt/pve/nfs-server/private/1086
Creation of container private area failed
TASK ERROR: command 'vzctl --skiplock create 1086 --ostemplate /mnt/pve/Proxmox_Templates/template/cache/debian-6.0-standard_6.0-4_amd64.tar.gz --private /mnt/pve/nfs-server/private/1086' failed: exit code 44


Doubted that it would be problem with hardlinks, but there is other containers running with very same setup on same machine. I tryed to creating container on antoher node too, but same error occurs.


I'm lost, can someone guide me.


running kernel: 2.6.32-12-pve


NODE# df -h /mnt/pve/nfs-server/private/
10.10.10.10:/mnt/containers
71G 3.9G 63G 6% /mnt/pve/nfs-server
NODE# df -h /mnt/pve/nfs-server/private/1086/
Filesystem Size Used Avail Use% Mounted on
- 60G 1.1G 59G 2% /mnt/pve/nfs-server/private/1086


NFS-SERVER# /etc/exports
/mnt/containers 10.10.0.0/16(rw,no_subtree_check,sync,no_root_squash,nohide)
/mnt/containers/private/1086 10.10.0.0/16(rw,no_subtree_check,sync,no_root_squash,nohide)


NFS-SERVER# df -h /mnt/containers/private/1086
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/nfs-vz1086 60G 1.1G 59G 2% /mnt/containers/private/1086
 
Why does that file already exists? Make sure you do not access the same NFS share from different PVE clusters.

Folder that allready exists was problem. Reson why it exists was that all containers are on separate LVM volumes (main idea was separate snapshots for all containers). All worked fine with restoring from backup. We have to re-think file structure now.