[Gluster-users] Reconstructing files from shards

Jim Kinney jim.kinney at gmail.com
Mon Apr 23 11:37:35 UTC 2018


Are there any plans to create an unsharding tool? 

On April 23, 2018 4:11:06 AM EDT, Gandalf Corvotempesta <gandalf.corvotempesta at gmail.com> wrote:
>2018-04-23 9:34 GMT+02:00 Alessandro Briosi <ab1 at metalit.com>:
>> Is it that really so?
>
>yes, i've opened a bug asking developers to block removal of sharding
>when volume has data on it or to write a huge warning message
>saying that data loss will happen
>
>> I thought that sharding was a extended attribute on the files created
>when
>> sharding is enabled.
>>
>> Turning off sharding on the volume would not turn off sharding on the
>files,
>> but on newly created files ...
>
>No, because sharded file are reconstructed on-the-fly based on the
>volume's sharding property.
>If you disable sharding, gluster knows nothing about the previous
>shard configuration, thus won't be able to read
>all shards for each file. It will only returns the first shard,
>resulting in data-loss or corruption.
>_______________________________________________
>Gluster-users mailing list
>Gluster-users at gluster.org
>http://lists.gluster.org/mailman/listinfo/gluster-users

-- 
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180423/88cf4140/attachment.html>


More information about the Gluster-users mailing list