Re: Convert existing volume to shard volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you want the existing files in your volume to get sharded, you would need to
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.

HTH,
Krutika

On Thu, Mar 17, 2016 at 9:51 PM, André Bauer <abauer@xxxxxxxxx> 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?


--
Regards
André

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux