On Sun, Jan 10, 2021 at 4:09 PM Patrick O'Callaghan
<pocallaghan(a)gmail.com> wrote:
> If you're using libvirt, creating a new pool on Btrfs will automatically
> set +C attribute.
It wasn't Btrfs at the time the image was created.
Ahh gotcha. A proper conversion guide should point out this gotcha.
The work around might be chattr +C before the conversion, but I
haven't tested it.
> It's not possible to set this attribute once a file has data in it, it's
> not retroactive. You'll need to duplicate the file, in that same directory.
> Because the directory has the attribute now, the duplicate will inherit the
> attribute.
That's somewhat painful as the file is over 900GB and will need to be
copied to another drive and then back again, but thanks anyway.
As long as the cache mode is writeback or none, it'll be OK.
--
Chris Murphy