OpenVZ Forum


Home » General » Support » Samba cifs client in VE's
Re: Samba cifs client in VE's [message #26843 is a reply to message #26842] Sun, 03 February 2008 09:25 Go to previous message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
piavlo wrote on Sun, 03 February 2008 10:26

You can share the portage with bind mounts.
If you are worried about security put the shared portage tree on a separate file system, and use vps.mount & vps.umount scripts
to auto mount the portage tree inside VE then it is started.
There are also read only bind mounts implementation which would
solve your problem perfectly but i not shure if this was ever inserted into linux mainline kernel (i tried with kernels up to 2.6.23 and it never worked for me)
But you can make the shared portage filesystem mounted readonly
in the HN, and make it r/w only for a short period of time then you're updating portage.


Looks like read only bind mounts were added only recently to 2.6.24, see
http://kernelnewbies.org/LinuxChanges#head-0da4f463de7038980 b699b6a2c91e5f16eac361b
 
Read Message icon9.gif
Read Message
Read Message
Previous Topic: nscd on VE
Next Topic: Hardwares stop in Create VM (image from other hardware)
Goto Forum:
  


Current Time: Mon Nov 11 04:43:32 GMT 2024

Total time taken to generate the page: 0.03461 seconds