<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.im
        {mso-style-name:im;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-AU;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>We have 20 Terabytes to rsync onto a new server (which will have 32 TB capacity), <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And we then want to add that server to an existing 2-node gluster of 73TB (53 TB used, 20 TB free), to give a 3-node gluster with 105TB capacity, 73TB used.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The reason I want to do it this way, if possible, is that Gluster is slow on writes, especially for small files, and we have a LOT of small files, so I’m pretty sure it will be  LOT faster to rsync directly to the new server (which is the one that has free space anyway), and then add that server to the gluster – if it is possible to have gluster recognise those files.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ryan Nix [mailto:ryan.nix@gmail.com] <br><b>Sent:</b> Thursday, 16 October 2014 11:58 AM<br><b>To:</b> SINCOCK John<br><b>Cc:</b> Franco Broi; gluster-users<br><b>Subject:</b> Re: [Gluster-users] Is it ok to add a new brick with files already on it?<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>So Gluster, at its core, uses rsync to copy the data to the other bricks.&nbsp; Why not let Gluster do the heavy lifting?<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Wed, Oct 15, 2014 at 7:35 PM, SINCOCK John &lt;<a href="mailto:J.Sincock@fugro.com" target="_blank">J.Sincock@fugro.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>In a related question... it seems, if it is possible to add filesystems already containing data, as new bricks, then it should also be possible to:<br><br>1) create empty bricks<br>2) add them to the gluster volume while they are empty<br>3) rsync data directly onto the underlying empty bricks, circumventing gluster, ie not through the gluster mountpoint<br>4) somehow get gluster to recognise the data that has been copied into the bricks?<br><br>How would you go about getting gluster to see the data you've rsynced directly in?<br>My concern would be that all the data rsynced directly onto the bricks will just sit there, invisible to glusterfs.<br><br>Thanks again for any info!<br><br><br><span class=im>-----Original Message-----</span><br><span class=im>From: Franco Broi [mailto:<a href="mailto:franco.broi@iongeo.com">franco.broi@iongeo.com</a>]</span><br><span class=im>Sent: Thursday, 16 October 2014 10:06 AM</span><br><span class=im>To: SINCOCK John</span><br><span class=im>Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a></span><br><span class=im>Subject: Re: [Gluster-users] Is it ok to add a new brick with files already on it?</span><br><br><o:p></o:p></p><div><div><p class=MsoNormal>I've never added a brick with existing files but I did start a new Gluster volume on disks that already contained data and I was able to access the files without problem. Of course the files will be out of place but the first time you access them, Gluster will add links to speed up future lookups.<br><br>On Thu, 2014-10-16 at 09:57 +1030, SINCOCK John wrote:<br>&gt; Hi Everyone,<br>&gt;<br>&gt;<br>&gt;<br>&gt; All the instructions I’ve been able to find on adding a brick to a<br>&gt; gluster, seem to assume the brick is empty when it’s added.<br>&gt;<br>&gt;<br>&gt;<br>&gt; So my question is, is it possible for a new brick, loaded up with<br>&gt; files, to be added to a gluster (and for all the files already on that<br>&gt; brick, to be indexed and added into the gluster). Apologies if the<br>&gt; question is answered elsewhere, but I couldn’t find anyone addressing<br>&gt; this specific question, and certainty helps when you’re dealing with<br>&gt; 10’s of terabytes of data... ;-)<br>&gt;<br>&gt;<br>&gt;<br>&gt; Thanks in advance for any info or tips!<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Gluster-users mailing list<br>&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br><br><br>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>