Re: Compression on Btrfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2021-01-10 at 09:01 -0700, Chris Murphy wrote:
> On Sun, Jan 10, 2021, 3:52 AM Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
> wrote:
> 
> 
> On Sat, 2021-01-09 at 18:01 -0700, Chris Murphy wrote:
> > > > Does this mean that my VM image subvolume is being included in the
> > > > compression? If that's the case I'll cease and desist.
> > > 
> > > Did you set 'chattr +C' for nodatacow on the enclosing
> > > directory/subvolume for the VM images? Nodatacow implies no
> > > compression and no checksums.
> > 
> > Probably but I don't remember. I've now set it just in case, but lsattr
> > doesn't show it:
> > 
> > $ sudo chattr +C /home/Windows
> > $ lsattr -l /home/Windows
> > /home/Windows/wimage         ---
> > 
> > 
> > Is this a bug or a feature?
> > 
> 
> 
> 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.

> 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.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux