# Btrfs scrub schedule

**URL:** https://dietpi.com/forum/t/btrfs-scrub-schedule/16933
**Category:** General Discussion
**Created:** [25 May 2023 22:03 UTC](https://dietpi.com/forum/t/btrfs-scrub-schedule/16933 "2023-05-25T22:03:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![th0maz](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@th0maz](https://dietpi.com/forum/u/th0maz)
#### Post date: [25 May 2023 22:03 UTC](https://dietpi.com/forum/t/btrfs-scrub-schedule/16933/1 "2023-05-25T22:03:51Z")

</div>

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 🙂  
Thomas

---

<div class="post-metadata">

### Author: ![WarHawk](https://dietpi.com/forum/user_avatar/dietpi.com/warhawk/32/21_2.png) [@WarHawk](https://dietpi.com/forum/u/WarHawk)
#### Post date: [26 May 2023 02:25 UTC](https://dietpi.com/forum/t/btrfs-scrub-schedule/16933/2 "2023-05-26T02:25:57Z")

</div>

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

How often do you plan to scrub the partition?

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [26 May 2023 05:46 UTC](https://dietpi.com/forum/t/btrfs-scrub-schedule/16933/3 "2023-05-26T05:46:32Z")

</div>

> 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](https://man7.org/linux/man-pages/man8/btrfs-scrub.8.html)

Sounds like you need to create a service by yourself.

---

<div class="post-metadata">

### Author: ![th0maz](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@th0maz](https://dietpi.com/forum/u/th0maz)
#### Post date: [31 May 2023 12:04 UTC](https://dietpi.com/forum/t/btrfs-scrub-schedule/16933/4 "2023-05-31T12:04:05Z")

</div>

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