OpenVZ Forum


Home » Mailing lists » Devel » Can a VE contain the root filesystem?
Re: Can a VE contain the root filesystem? [message #30190 is a reply to message #30179] Thu, 15 May 2008 06:47 Go to previous message
Vasily Averin is currently offline  Vasily Averin
Messages: 17
Registered: April 2008
Junior Member
¶ΕΣκΡτ wrote:
> Can VE use the root filesystem as private filesystem?
> 
> Scenario: I first installed Oracle without OpenVz, then I installed OpenVz,
> but I do not want to install Oracle again in a VE, I wonder if I can let a VE
> use the original root FS as private FS, then I can use Oracle in VE.

You can bind-mount any parts of host filesystem into VE.
For example you can use per-ve mount script to bind-mount /opt directory to the
/vz/root/<VEID>/opt.

Moreover I think you can try to bind-mount / to some directory inside VE (for
example to /vz/root/<VEID>/hostroot/), then call chroot inside VE.

thank you,
	Vasily Averin
 
Read Message
Read Message
Previous Topic: suspend/resume instead of stop/start from vz init script
Next Topic: user namespace semantics (may 16)
Goto Forum:
  


Current Time: Wed Oct 29 03:50:13 GMT 2025

Total time taken to generate the page: 0.23692 seconds