[Gluster-users] Xenserver Gluster Storage Repository Question
Robert Hajime Lanning
lanning at lanning.cc
Wed Oct 23 00:42:42 UTC 2013
On 10/22/13 13:58, Scot Hollingsworth wrote:
> Hi.
>
> I've been working with gluster for about a week now. So far, I can see
> myself moving off my existing Redhat GFS cluster for gluster. I'm doing
> some testing and don't completely understand the client side yet. Let
> me explain. I have two servers both have a brick with 275GB of
> storage. Gluster is setup and replicating the files to each node. I
> mounted the volume on node1. I setup a Xenserver and connected to
> node1. Creating VMs using the gluster SR on node1 is working. However,
> I only see 275GB available on the SR. Is this because I have volume
> mounted on a server node? Should I have a separate client that mounts
> the volume? From what I understand the client will still mount 1
> server. I do have a few more servers I can add to my gluster. Before I
> continue with my setup, I am curious will the Xenserver only see how
> available storage on the node that it connects to. I guess I was
> thinking I would see a volume that has the combined storage capacity not
> just one disk.
You have two nodes with one brick on each node.
You created a volume with "replica 2".
This means that the two bricks are combined as a mirror. Anything
written to one, is also written to the other. So, effectively you only
have one brick worth of available space.
If you want to have 550GB of space in the volume, then you need to not
specify any replica counts for the volume.
--
Mr. Flibble
King of the Potato People
More information about the Gluster-users
mailing list