<html><head></head><body>Are there any plans to create an unsharding tool? <br><br><div class="gmail_quote">On April 23, 2018 4:11:06 AM EDT, Gandalf Corvotempesta &lt;gandalf.corvotempesta@gmail.com&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">2018-04-23 9:34 GMT+02:00 Alessandro Briosi &lt;ab1@metalit.com&gt;:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Is it that really so?<br></blockquote><br>yes, i've opened a bug asking developers to block removal of sharding<br>when volume has data on it or to write a huge warning message<br>saying that data loss will happen<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I thought that sharding was a extended attribute on the files created when<br> sharding is enabled.<br><br> Turning off sharding on the volume would not turn off sharding on the files,<br> but on newly created files ...<br></blockquote><br>No, because sharded file are reconstructed on-the-fly based on the<br>volume's sharding property.<br>If you disable sharding, gluster knows nothing about the previous<br>shard configuration, thus won't be able to read<br>all shards for each file. It will only returns the first shard,<br>resulting in data-loss or corruption.<br><hr><br>Gluster-users mailing list<br>Gluster-users@gluster.org<br><a href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a><br></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.</body></html>