<p dir="ltr"></p>
<p dir="ltr">MS<br>
On 28 Feb 2015 13:27, "Jorick Astrego" <<a href="mailto:j.astrego@netbulae.eu">j.astrego@netbulae.eu</a>> wrote:<br>
><br>
><br>
> On 02/28/2015 08:36 AM, M S Vishwanath Bhat wrote:<br>
>><br>
>><br>
>><br>
>> On 28 February 2015 at 02:17, Jorick Astrego <<a href="mailto:j.astrego@netbulae.eu">j.astrego@netbulae.eu</a>> wrote:<br>
>>><br>
>>> Hi, <br>
>>><br>
>>> When I have a 4 or 6 node distributed replicated volume, is there an <br>
>>> easy way to unbalance the data? The rebalancing is very nice, but I was <br>
>>> thinking of a scenario where I would have take half the nodes offline. I <br>
>>> could shift part or all of the data on one replicated volume and stuff <br>
>>> it all on the other replicated volume. <br>
>><br>
>><br>
>> I'm not sure what you meant by "unbalance the data" ?<br>
>><br>
>> Do you want to replace the bricks (backend disks)? Or do you want to move the data from one gluster volume to another gluster volume?<br>
>><br>
>> * If you want to replace the bricks, there is "gluster replace-brick". But there are some known issues with it. I would suggest "remove-brick" and then "add-brick" and rebalance instead.<br>
><br>
> Say I have two racks with a distributed replicated setup<br>
><br>
><br>
><br>
><br>
> And I need to take server3 and server4 offline and I don't have replacement bricks. How do I move File 2 to Replicated Volume 0 while the file is in use (VM storage or big MP4)<br>
If you do remove brick of replicate volume 1, it will move (rebalance) ask the data to replicate volume 0.<br>
Note that it makes distribute replicate volume to pure replicate.<br></p>
<p dir="ltr">><br>
><br>
>> * If you want to move the data from one gluster volume to another, you can just rsync the data from mountpoint of volume1 to mountpoint of volume2.<br>
><br>
> If I rsync to the other volume, will gluster dynamically remap the file and keep serving it? What about the old file left over on Server3 and Server4</p>
<p dir="ltr">Okay, when I say volume, I actually meant mountpoint of one Gluster volume to another Gluster volume mountpoint. But looks like that's not what you want. Sorry for the confusion.</p>
<p dir="ltr">Best Regards,<br>
MS<br>
><br>
><br>
>> HTH<br>
>><br>
>> //MS<br>
>><br>
>><br>
>><br>
>>><br>
>>> There would have to be enough space and performance will suffer a lot, <br>
>>> but at least it will continue to be available. <br>
>>><br>
>>><br>
><br>
><br>
><br>
><br>
> Met vriendelijke groet, With kind regards,<br>
><br>
> Jorick Astrego<br>
><br>
> Netbulae Virtualization Experts <br>
> ________________________________<br>
> Tel: 053 20 30 270<br>
> <a href="mailto:info@netbulae.eu">info@netbulae.eu</a><br>
> Staalsteden 4-3A<br>
> KvK 08198180<br>
> Fax: 053 20 30 271<br>
> <a href="http://www.netbulae.eu">www.netbulae.eu</a><br>
> 7547 TA Enschede<br>
> BTW NL821234584B01<br>
><br>
> ________________________________<br>
><br>
</p>