I understand when erasure coding is enabled a file is broken into “pieces” and then parity “pieces” are added to this data.
Now as you enable erasure coding on a storage, what happens when you use the copy command to copy this storage and all the backups to a 2nd storage, for example for off site replication. Are the “pieces” the files are broken into with the parity “pieces” copied or are just the normal files copied?
Additionally, how does it work when erasure coding is enabled on both storages? Are the “pieces” that the file is broken into with parity copied to the 2nd storage and then they are broken down again into more “pieces”?
Apologies if I have understood this wrong!