meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:fs:btrfs:maintenance [2024/11/19 08:50] – niziak | linux:fs:btrfs:maintenance [2025/01/03 07:52] (current) – niziak | ||
---|---|---|---|
Line 5: | Line 5: | ||
<code bash> | <code bash> | ||
apt install btrfsmaintenance | apt install btrfsmaintenance | ||
- | systemctl enable btrfs-scrub.timer btrfs-trim.timer | ||
- | systemctl start btrfs-trim.service | ||
- | systemctl start btrfs-scrub.service | ||
</ | </ | ||
+ | <file sh / | ||
+ | BTRFS_TRIM_PERIOD=" | ||
+ | </ | ||
+ | <code bash> | ||
+ | systemctl restart btrfsmaintenance-refresh | ||
+ | |||
+ | #systemctl enable btrfs-scrub.timer btrfs-trim.timer | ||
+ | #systemctl start btrfs-trim.service | ||
+ | #systemctl start btrfs-scrub.service | ||
+ | </ | ||
===== Defragment ===== | ===== Defragment ===== | ||
From [[https:// | From [[https:// |