Re: Reconstructing files from shards

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

 



Are there any plans to create an unsharding tool?

On April 23, 2018 4:11:06 AM EDT, Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote:
2018-04-23 9:34 GMT+02:00 Alessandro Briosi <ab1@xxxxxxxxxxx>:
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@xxxxxxxxxxx
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.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.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