[Gluster-users] Convert existing volume to shard volume
kdhananj at redhat.com
Thu Mar 17 17:21:20 UTC 2016
If you want the existing files in your volume to get sharded, you would
a. enable sharding on the volume and configure block size, both of which
you have already done,
b. cp the file(s) into the same volume with temporary names
c. once done, you can rename the temporary paths back to their old names.
On Thu, Mar 17, 2016 at 9:51 PM, André Bauer <abauer at magix.net> wrote:
> Hi List,
> i just upgraded from 3.5.8 to 3.7.8 and want to convert my existing VM
> Images volume to a shard volume now:
> gluster volume set dis-rep features.shard on
> gluster volume set dis-rep features.shard-block-size 16MB
> How are the existing image files handled?
> Do i need to start rebalance to convert existing files?
> Or is it better to start with an empty volume?
> If so, why?
> Gluster-users mailing list
> Gluster-users at gluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users