Hi Orion On Fri, May 22, 2009 at 07:15:55PM +0100, Orion wrote: > > I have exactly the same problem as the original poster on the newest > stable version of OpenVZ. > > # vzctl destroy 139 > Destroying VE private area: /var/lib/vz/private/139 > Can't create tmp dir /var/lib/vz/private/13/vztmp: No such file or > directory > > It seems that the last digit of the three numbers is strangely missing > from the tmp dir error. The original poster has the same problem too. I > also have a comparable filesystem arrangement due to needing to > span across two disks. I have ext3 on /, /var/lib/vz, > and /var/lib/vz/private/139. Destroying the 139 node causes the > problem shown above. However, destroying any other node works perfectly. > So the problem is clearly related to using two or more filesystems for > VZ containers.
Thanks a lot. I'll try to reproduce the problem with a similar setup. I do not think it is the filesystem that is the problem, but rather the fact that the filesystem is mounted as it is. > The output of /var/lib/vz and /var/lib/vz/private shows entirely the > same information for each directory, essentially a mask of 755 > (read-write-execute for the owner, and read-execute for the rest) with > root ownership. It doesn't as far as I can see appear to be a > permissions problem. > > A workaround to solve the problem of removing a container is to > clear all relevant files from the individual private filesystem (i.e > private/139) and then unmount it. After that, you can call the normal > destroy command to get rid of all other related files. This works > perfectly. Thanks for the information. Best regards, // Ola > Orion > > > -- --------------------- Ola Lundqvist --------------------------- / [email protected] Annebergsslingan 37 \ | [email protected] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

