Re: Compression on Btrfs

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

 



On Fri, 2021-01-08 at 00:03 -0700, Chris Murphy wrote:
> On Thu, Jan 7, 2021 at 5:52 AM Patrick O'Callaghan
> <pocallaghan@xxxxxxxxx> wrote:
> > 
> > I did the following:
> > 
> > # btrfs filesystem defragment -czstd -r -v /home
> > 
> > and changed the fstab entry:
> > 
> > # grep /home /etc/fstab
> > UUID=8e1f7af4-c0bf-434e-b1c4-a9af2c810d56 /home                   btrfs   subvol=home,discard=async,compress-force=zstd     0 0
> > 
> > (this is an SSD, hence the discard-async)
> > 
> > I then rebooted, but find:
> > 
> > # btrfs prop get -t i /home compression
> > #
> > (i.e. no output)
> 
> The 'btrfs property' method of setting compression per file,
> directory, or subvolume, sets an xattr. The mount option method does
> not.
> 
> Also, the mount option is file system wide, it's not per subvolume. It
> just seems like it could be this way due to fstab and the subvol mount
> option (which is really just a bind mount behind the scenes).

Does this mean that my VM image subvolume is being included in the
compression? If that's the case I'll cease and desist.

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