<html><head></head><body>Feature requests to in Bugzilla anyway. <br>
<br>
Create your volume with the populated brick as brick one. Start it and &quot;heal full&quot;. <br><br><div class="gmail_quote">On November 11, 2016 7:12:03 AM PST, Sander Eikelenboom &lt;linux@eikelenboom.it&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br />Friday, November 11, 2016, 3:47:26 PM, you wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Reposting to gluster-users as this is not development related. <br /></blockquote><br />I posted @devel, because in the most likely case of "No", it could become a <br />feature request ;-)<br /><br />--<br />Sander<br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On November 11, 2016 6:32:49 AM PST, Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt; wrote:<br />  <br /></blockquote><br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Fri, Nov 11, 2016 at 8:01 PM, Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt; wrote:<br /></blockquote><br /><br /><br /><br /><br /><blockquote class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Fri, Nov 11, 2016 at 6:24 PM, Saravanakumar Arumugam &lt;sarumuga@redhat.com&gt; wrote:<br /></blockquote><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">  <br />  On 11/11/2016 06:03 PM, Sander Eikelenboom wrote:<br />  <br />  L.S.,<br />  <br />  I was wondering if it would be possible to turn an existing filesystem with data<br />  (ext4 with files en dirs) into a GlusterFS brick ?<br />  <br />  It is not possible, at least I am not aware about any such solution yet.<br />  <br />  <br />  I can't find much info about it except the following remark at [1] which seems<br />  to indicate it is not possible yet:<br />  <br />          Data import tool<br />  <br />          Create a tool which will allow importing already existing data in the brick<br />          directories into the gluster
volume.<br />          This is most likely going to be a special rebalance process.<br />  <br />  So that would mean i would always have to:<br />  - first create an GlusterFS brick on an empty filesystem<br />  - after that copy all the data into the mounted GlusterFS brick<br />  - never ever copy something into the filesystem (or manipulate it otherwise)<br />    used as a GlusterFS brick directly (without going through a GlusterFS client mount)<br />  <br />  because there is no checking / healing between GlusterFS's view on the data and the data in the<br />  underlying brick filesystem ?<br />  <br />  Is this a correct view ?<br />  <br />  <br />  you are right !<br />  Once the data is copied into Gluster, it internally creates meta-data about data(file/dir).<br />  Unless you copy it via Gluster mount point, it is NOT possible to create such meta-data.<br /></blockquote><br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
border-left: 1px solid #729fcf; padding-left: 1ex;"> No, it is possible. You just need to be a bit creative.<br /></blockquote><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Could you let me know how many such bricks you have which you want to convert to glusterfs. It seems like you want replication as well. So if you give me all this information. With your help may be we can at least come up with a document on how this can be done.<br /></blockquote><br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Once the import is complete, whatever you are saying about not touching the brick directly and doing everything from the mount point holds. But we can definitely convert an existing ext4 directory structure into a volume.<br />  <br /></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex
0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">  <br />  <br />  Thanks,<br />  Saravana<br /></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">  <br /><hr /><br />  Gluster-devel mailing list<br />  Gluster-devel@gluster.org<br />  <a href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br />  <br /></blockquote><br /><br /><br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>