I use btrfs on openSuSE and recently Fedora workstations as well as on my
filers to which I connect through NFS.

I have not experienced scrubbing on my workstations and laptops. I guess I
have not experience any data corruption over the last 8 years (? It may be
longer) since openSuSE made it default file system.

I force full btrfs scrub on my filers every month. It takes hours
(overnight-ish) on 30TB 4 disk redundant volume. The scrub loads the system
and generates a lot of noise in the process. I renice the scrub process, so
that I can still use the filers while it is in progress.

I would first check if you are not running out of disk space in all
sub-volumes. Then check the disk dor errors using smart tools. If all looks
good then .... maybe consider the scenario below ...

If I would to make a guess - your disk was not cleanly unmouted, btrfs
detected errors and probably corrected them (using journal or COW log - I
am guessing because you can still write to the disk) and now it wants to
run full disk scrub and mark the disk clean.

I would let it complete the scrub overnight or when not using the system
and then check the disk for errors. I imagine that it will stop the scrubs.
Alternatively recreate the filesystem (perhaps reinstall the OS, whatever
you are comfortable with) from scratch and restore the disk content from
backup.

Best, Tomas

On Tue, Jul 1, 2025, 16:22 American Citizen <[email protected]>
wrote:

> Hello:
>
> A while ago, I posted questions about my linux system stuttering. Since
> that time, I have determined that what is called "btrfs scrubbing" is
> getting out of control, almost as if the system was eating itself. The
> problem would get worse and worse, until finally the disk read LED was
> on solid, but keyboard and mouse were completely paralyzed. Only a hard
> power reset OFF would cure this problem, but the filesystems would have
> to be checked for any trashing that occurred due to the sudden
> unexpected power off.
>
> Has anyone experienced this problem with their btrfs drives ? I am
> curious to know as if this a rather unique problem or not? During power
> down, this last time when I noticed the disk read light growing ever
> brighter and brighter, that the power off sequence halted and did a
> special terminate task for btrfs scrubbing which took about 3 mins to
> accomplish, but even then, the disk light was lit for at least 2 mins,
> even after that task completed before finally doing the total BIOS reset
> and power up again.
>
> Thanks for letting me know if this has happened to you?
>
> Randall
>
>
>

Reply via email to