Hi, Am Do, 28.08.2008, 14:26, schrieb Papp Tamás: > Roberto Mello wrote: >> On Thu, Aug 28, 2008 at 2:57 AM, Papp Tamás <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> >> I mounted a /var partition under /vz/100/root, which should >> contain the /var related files. >> >> vzctl start, and I created a test file under it. But the file was >> not appeared on the partition, but under the private system. >> >> >> How exactly did you mount it? > mount /dev/VG1/var /vz/100/root/var > > vzctl start 100 > > Or what do you mean, "how"? >> >> Also when I start the VE, I see the root with the same size as >> private, but after the I stop it, it's clean. Is this with >> something like mount -o bind? >> >> >> $VZ/root/$VE is populated dynamically when the VE is started. > > What does it mean "populated"?
When the container with ID is started, the privat area /vz/private/$ID is "mounted" to /vz/root/$ID and then the container get started. For mounting partion use the /vz/root/$ID/ Tree: like: HW_NODE|CT0 $ mount /dev/VG1/var /vz/root/100/var HW_NODE|CT0 $ vzct exec 100 ls /var (show the content in /dev/VG1/var) > > Thank you, > > tamas > > _______________________________________________ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > Regards, Thorsten -- [EMAIL PROTECTED] Thorsten Schifferdecker _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users