<div dir="ltr"><div><div><div><div>If you want the existing files in your volume to get sharded, you would need to<br></div><div>a. enable sharding on the volume and configure block size, both of which you have already done,<br></div>b. cp the file(s) into the same volume with temporary names<br></div>c. once done, you can rename the temporary paths back to their old names.<br><br></div>HTH,<br></div>Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 9:51 PM, AndrĂ© Bauer <span dir="ltr">&lt;<a href="mailto:abauer@magix.net" target="_blank">abauer@magix.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List,<br>
<br>
i just upgraded from 3.5.8 to 3.7.8 and want to convert my existing VM<br>
Images volume to a shard volume now:<br>
<br>
gluster volume set dis-rep features.shard on<br>
gluster volume set dis-rep features.shard-block-size 16MB<br>
<br>
How are the existing image files handled?<br>
Do i need to start rebalance to convert existing files?<br>
<br>
Or is it better to start with an empty volume?<br>
If so, why?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Regards<br>
André<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a></font></span></blockquote></div><br></div>