Thank you Justin, I successfully converted two machines running raid5 to raid10 by doing `btrfs balance -dconvert=10 -mconvert=10 /mountpoint`. I performed a full backup before, I also calculated the shasum of all files on the arrays before and after the conversion and it seems I got away with no corruption or data loss. Br, Karl On Mon, Aug 8, 2016 at 2:46 PM, Justin Kilpatrick <jkilpatr@xxxxxxxxxx> wrote: > Do not run device delete, the issue is with parity and disk-failure > recovery, manually > incurring disk failure is a very bad idea. > > I would suggest running a full backup of all the files before touching > anything and then > an in place conversion should be fine as its just reading from > undegraded disks and > writing in a few format. I did the same thing converting from 5 to 1 > several months ago. > I did end up with a couple of files I had to pull from backups as they > where marked as > corrupted and unrecoverable. > > On Sat, Aug 6, 2016 at 2:58 AM, Karl Herler <karl.herler@xxxxxxxxx> wrote: >> Hello, >> >> What is the safest way to migrate an existing raid 5/6 setup, to say raid 10? >> >> Will simply running `btrfs filesystem balance start -dconvert=10 >> -mconvert=10` work or is it sensitive to the parity calculation issue? >> >> Can I `btrfs device delete` some of the drives, format them and copy >> over the data from the raid 5/6, or will delete risk running into the >> issue? >> >> >> Best regards, >> Karl Herler >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
