On Wed, Oct 22, 2025 at 11:08 PM home user via users <
[email protected]> wrote:

> (Fedora-42 workstation)
>
> Following what's said here:
> "https://wiki.archlinux.org/title/Btrfs#Disabling_CoW";
> and here:
> "
> https://unix.stackexchange.com/questions/635661/how-to-prevent-btrfs-compressing-var
> ",
> I'm trying to turn off copy-on-write and compression on "/home".
> I'm logged in as "root"; I'm in "/root".
> I moved the original /home aside to /home_old.
> I created a new "/home".
> I turned off copy-on-write.
> But when I try to turn off compression, I get this:
> - - - - - -
> bash: chattr +m /home
> chattr: Invalid argument while setting flags on /home
>
> bash: btrfs property set /home compression none
> ERROR: failed to set compression for /home: Invalid argument
>
> - - - - - -
> What's wrong?
> How should I do this?
>

You need to tell us why you think this is needed. Are you concerned with
one of the drawbacks of COW mentioned in
https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/SysadminGuide.html#Copy_on_Write_.28CoW.29
?

It is usually a mistake to move away from distro defaults unless your
use-case depends on the changes. Linux is a
community effort, so staying with a configuration shared with many others
means it is easier for the community to help
if you encounter problems.

-- 
George N. White III
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to