[Users] Same as Physical PC
Vasily Tarasov
vtaras at openvz.org
Mon May 28 06:48:37 EDT 2007
Hello,
It is a usual mistake. As described in the post you referenced to:
<snip>
You're mounting to __private__ directory, that is not right: in order to
see information on external mounted filesystem in VE, you should start
VE and then mount to __root__ directory:
mount --bind /mnt/testhome /vz/root/102/home/
</snip>
Otherwise quota will complain ;)
HTH,
Vasily
On Mon, 2007-05-28 at 00:52 +0900, Jun OKAJIMA wrote:
>
> 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 Linux.
> 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.
> http://forum.openvz.org/index.php?t=msg&goto=13000&#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.
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
More information about the Users
mailing list