On Fri, Dec 1, 2017 at 5:53 PM, Tomasz Pala <go...@polanet.pl> wrote:
> # btrfs fi usage / > Overall: > Device size: 128.00GiB > Device allocated: 117.19GiB > Device unallocated: 10.81GiB > Device missing: 0.00B > Used: 103.56GiB > Free (estimated): 11.19GiB (min: 11.14GiB) > Data ratio: 1.98 > Metadata ratio: 2.00 > Global reserve: 146.08MiB (used: 0.00B) > > Data,single: Size:1.19GiB, Used:1.18GiB > /dev/sda2 1.07GiB > /dev/sdb2 132.00MiB This is asking for trouble. Two devices have single copy data chunks, if those drives die, you lose that data. But the metadata referring to those files will survive and Btrfs will keep complaining about them at every scrub until they're all deleted - there is no command that makes this easy. You'd have to scrape scrub output, which includes paths to the missing files, and script something to delete them all. You should convert this with something like 'btrfs balance start -dconvert=raid1,soft <mountpoint>' -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html