On Sun, Oct 5, 2025 at 9:53 PM Samuel Sieb <[email protected]> wrote:

> On 10/5/25 3:08 AM, Javier Perez wrote:
> > Hi.
> >
> > George N. White III wrote in a post something that resonated with me.
> >
> >     A lot of effort has gone towards improving the default
> >     configuration, (but
> >     now new problems for users who don't do btrfs maintenance and end up
> >     with
> >     broken filesystems).  It is assumed that users going outside the
> >     defaults
> >
> >
> > Is there any link, tutorial, etc that explains what kind of btrfs
> > maintenance we are supposed to be doing?
> > Long time btrfs user and have never knowingly performed any maintenance
> > on my btrfs filesystem except balancing after converting from single HDD
> > to raid 1 my system.
> > I wonder what I have been missing (ignorance is bliss :( )
>
> There's nothing you need to do.  If you're using the RAID functions of
> btrfs, then a regular scrub could be a good idea, just like mdraid does.
>   I guess even if it's a single drive, a scrub would be useful to detect
> data corruption issues early, although you wouldn't be able to recover
> the damaged data.  But that's an extra thing that's enabled by the
> filesystem feature of checksumming.  It's not a necessary thing.
>

Early detection of bitrot is important -- you may have used invalid data
in further processing, no longer have access to the original data, or may
discover a corrupt file just before a deadline.

Some people run out of space for btrfs metadata:
<
https://www.ordinatechnic.com/blog/1/Filesystems/2/Btrfs/not-enough-space-on-btrfs-filesystem-due-to-exhausted-metadata-block-group-allocation>.
The fix may require adding space to allow balancing.

Fedora has `systemctl enable *btrfs*-*balance*.timer` to automate
-- 
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