[Gluster-users] Convert existing volume to shard volume

André Bauer abauer at magix.net
Tue Mar 22 12:01:34 UTC 2016


Thanks for the Info...

Am 17.03.2016 um 18:21 schrieb Krutika Dhananjay:
> 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 at magix.net
> <mailto: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?
> 
> 
>     --
>     Regards
>     André
> 
>     _______________________________________________
>     Gluster-users mailing list
>     Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
>     http://www.gluster.org/mailman/listinfo/gluster-users
> 
> 


-- 
Mit freundlichen Grüßen
André Bauer

MAGIX Software GmbH
André Bauer
Administrator
August-Bebel-Straße 48
01219 Dresden
GERMANY

tel.: 0351 41884875
e-mail: abauer at magix.net
abauer at magix.net <mailto:Email>
www.magix.com <http://www.magix.com/>

Geschäftsführer | Managing Directors: Dr. Arnd Schröder, Klaus Schmidt
Amtsgericht | Commercial Register: Berlin Charlottenburg, HRB 127205

Find us on:

<http://www.facebook.com/MAGIX> <http://www.twitter.com/magix_de>
<http://www.youtube.com/wwwmagixcom> <http://www.magixmagazin.de>
----------------------------------------------------------------------
The information in this email is intended only for the addressee named
above. Access to this email by anyone else is unauthorized. If you are
not the intended recipient of this message any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and
may be unlawful. MAGIX does not warrant that any attachments are free
from viruses or other defects and accepts no liability for any losses
resulting from infected email transmissions. Please note that any
views expressed in this email may be those of the originator and do
not necessarily represent the agenda of the company.
----------------------------------------------------------------------


More information about the Gluster-users mailing list