[Users] Same as Physical PC

Jun OKAJIMA okajima at digitalinfra.co.jp
Sun May 27 12:51:07 EDT 2007

Cant I make a very same env as real one to VE?
It has just very same /dev as real Linux, and also same /proc as real 
I know it is no meaning for server virtualization, which is the purpose
of OpenVZ, because it loses all of security. But it is convenient for
development, testing, or such purposes.


I tried like below, in the OpenVZ live CD.

# mount --bind /dev /var/lib/vz/private/101/dev
# mount --proc /proc /var/lib/vz/private/101/proc
# vzctl start 101

But, it ended up with below.

Starting VE ...
vzquota : (error) Quota on syscall for 101: Device or resource busy
vzquota on failed [3]

To make the matters worse, something like this failed in same way.
I am sure that this must be possible, because the below URL did it.
But I failed. Why?. The env I used is the live CD which downloaded
from your site.
Any help?

# mkdir /aaa
# mount -t tmpfs none /aaa
# echo "hello world" >/aaa/bbb
# mount --bind /aaa /var/lib/vz/private/101/tmp
# vzctl start 101
( and "vzquota" error happened. WHY??? and what I should do?)

Note: I know that adding "DEVICES=" lines to a config file is necessary 
to access
      actual physical devices.

                 --- Okajima, Jun. Tokyo, Japan.

More information about the Users mailing list