RE: btrfs replace status >100%

2015-10-17 Thread Brett King
Just following up - the replace operation completed successfully and then the source device (/dev/sdb) was removed, with all chunks moved on the target (/dev/sdj). Putting it down to RAID level complexities I guess. [root@array ~]# btrfs replace status -1 /export/archive/ Started on 15.Oct 19:15

Re: btrfs replace status >100%

2015-10-16 Thread Brett King
Thanks Henk, That's encouraging and what I suspected - everything looks fine (even some bitrot picked up through read error corrections on checksum failures, hurray!) and yes I'll resize the new device once it completes. [root@array ~]# btrfs replace status -1 /export/archive/ 547.9% done, 0 wri

Re: btrfs replace status >100%

2015-10-16 Thread Henk Slager
Hi Brett, As far as I can see, the replace will finish successfully, but the numbers are quite confusing. Maybe the percentage at the end (after more than half a day or so) gives a hint how the calculation is done, I currently can't see it. RAID1 and RAID10 have confusing output for commands 'b