Btrfs scrub schedule

Hi everybody,

I re-installed one of my dietpi servers and chose format my data partition as btrfs.
Does dietpi automatically schedule a frequent btrfs scrub or do I have to take care of this by myself?

thanks :slight_smile:
Thomas

I doubt that it has an auto scrub…but could be wrong

How often do you plan to scrub the partition?

The user is supposed to run it manually or via a periodic system service. The recommended period is a month but could be less.

https://man7.org/linux/man-pages/man8/btrfs-scrub.8.html

Sounds like you need to create a service by yourself.

2 Likes

Thanks, I will add it manually using the cron.monthly function.