[Users] sharing directory between two VE

Kirill Korotaev dev at parallels.com
Wed Jul 4 13:11:47 EDT 2012


Bind mount from ve mount script solves this problem...

Sent from my iPhone

On 04.07.2012, at 21:05, "Olivier Kaloudoff" <openvz at kalou.net> wrote:

> Hi,
> 
>    For the purpose of a migration, I'd need to share a directory between   
> two VE, context 1 and 2. I've tried, with no success:
> 
> - mounting /tmp/shared.ext2 from the host to both guests using simfs and -o  
> loop
> - mounting --bind /tmp/shared.dir from the host to both guests using mount  
> --make-shared
> - mounting --bind from the 1st VE to the 2nd
> 
> Is there another way to try ... ?
> 
> Using vserver, I used to change the context of the files, does OpenVz offer  
> this capability ?
> 
> Best Regards,
> 
> Olivier
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users



More information about the Users mailing list