Stas Oskin
2009-Mar-08 09:59 UTC
[Gluster-users] Accessing the host glusterFS directory from OpenVZ virtual server
Hi. This might be unrelated to this list, but I looking for a way to access GlusterFS partition from OpenVZ virtual server. Meaning a virtual server running on a particular server will access it's host GlusterFS directory. The immediate idea I had was to have the virtual server as the client of GlusterFS, as it would basically happen on same machine networking, but perhaps there is a way to write the data directly to host partition? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090308/63b03427/attachment.html>
Krishna Srinivas
2009-Mar-08 20:06 UTC
[Gluster-users] Accessing the host glusterFS directory from OpenVZ virtual server
On Sun, Mar 8, 2009 at 3:29 PM, Stas Oskin <stas.oskin at gmail.com> wrote:> Hi. > > This might be unrelated to this list, but I looking for a way to access > GlusterFS partition from OpenVZ virtual server. > > Meaning a virtual server running on a particular server will access it's > host GlusterFS directory. > > The immediate idea I had was to have the virtual server as the client of > GlusterFS, as it would basically happen on same machine networking, but > perhaps there is a way to write the data directly to host partition?If the glusterfs partition is accessed by other machines/VMs then it has to be accessed by the openVZ VS (even if it is on the same machine) as a glusterfs client (i.e whatever you just suggested above) Krishna> > Thanks. > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users > >
Stas Oskin
2009-Mar-09 14:11 UTC
[Gluster-users] Accessing the host glusterFS directory from OpenVZ virtual server
> > A disk partition should be accessed through the same posix-locks > subvolume. That is the condition to be met. This restriction is so > that processes use the same locking translator. >Perhaps the VM, if it can access the host machine partition, will use the locking translator automatically via host FUSE?> > Can a virtual machine mount a partition that is already mounted by a > host OS? Any idea?I think we should ask the list about this. Xen can, but I'm not so sure about OpenVZ. The main benefit for this approach I think, will be saving the localhost routing done by host machine, which would translate to saving CPU cycles. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090309/0df6072c/attachment.html>