OpenVZ Forum

Home » Mailing lists » Users » Same as Physical PC
Same as Physical PC [message #13464] Sun, 27 May 2007 16:51
Jun OKAJIMA is currently offline  Jun OKAJIMA
Messages: 30
Registered: March 2006
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. msg_13000
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.
Previous Topic: backup VE with vzdump
Next Topic: Same as Physical PC
Goto Forum:

Current Time: Tue Feb 19 02:16:29 GMT 2019