<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 11, 2016 at 6:24 PM, Saravanakumar Arumugam <span dir="ltr">&lt;<a href="mailto:sarumuga@redhat.com" target="_blank">sarumuga@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 11/11/2016 06:03 PM, Sander Eikelenboom wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
</blockquote></span>
It is not possible, at least I am not aware about any such solution yet.<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I can&#39;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&#39;s view on the data and the data in the<br>
underlying brick filesystem ?<br>
<br>
Is this a correct view ?<br>
<br>
</blockquote></span>
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><div><br></div><div>No, it is possible. You just need to be a bit creative.<br><br></div><div>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></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Saravana<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div></div>