<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I don't have time to write up a long
answer right now (work's killing me today) but if you search for
lvm on the IRC log, we had a bit of a discussion about that a few
days (or was it a week... they're all blending together) ago.<br>
<br>
On 01/10/2013 03:06 PM, Gaurav P wrote:<br>
</div>
<blockquote
cite="mid:CAOCYyVS2Rn9aiYEpxVW+TZw2noG8r-br41y0uC6gbhzoQ8NV4g@mail.gmail.com"
type="cite">
<div dir="ltr">*bump*<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Jan 7, 2013 at 8:13 PM, Gaurav
P <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:gaurav.lists+gluster@gmail.com"
target="_blank">gaurav.lists+gluster@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
</div>
I've been reading up on GlusterFS and I'm looking for
best practices around using multiple disks as bricks in
servers that will be part of a replicated volume. <br>
<br>
Say I start with a single disk each in two servers
(/dev/sda1 mounted at /a)<br>
<pre>gluster volume create test-volume replica 2 transport tcp server1:/a server2:/a</pre>
<br>
</div>
Then I add a second disk in each server (/dev/sdb1 mounted
at /b)<br>
<pre>gluster volume add-brick test-volume replica 2 transport tcp server1:/b server2:/b</pre>
<br>
<div>With this (after rebalancing), am I correct in
understanding that I will have a distributed replicated
volume with GlusterFS providing the equivalent of
RAID1+0 for data on my volume. <br>
<br>
</div>
<div>Now as I understand, I will be restricted to adding
disks (bricks) of the same size whenever I need to
extend the volume. What are the pros/cons of instead
using LVM to provide a single LV on each server and
extending the LV and filesystem each time I add
additional storage? The other benefit to LVM being the
ability to take snapshots. The one downside I foresee is
that a concatenated LV will not use the second PV (disk)
till the first PV is full, though I could perhaps
stripe?<br>
<br>
More questions to follow, but I'm trying to think
through this before I get started with my first
deployment.<br>
<br>
</div>
<div>TIA<span class="HOEnZb"><font color="#888888"><br>
</font></span></div>
<span class="HOEnZb"><font color="#888888">
<div>
Gaurav<br>
</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>