This commit is contained in:
Daniel Langbein 2023-09-23 22:36:20 +02:00
parent cf47eebfaa
commit 9ce645ca97
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -99,26 +99,11 @@
# The scrub command operates on a whole filesystem, not just individual subvolumes.
# https://unix.stackexchange.com/a/724412
#
# Manually - yodaTux:
# As this command reads all data, it wears down the disk. One should not run it too often. For large, slow disks once per month should be fine.
#
# To run it manually:
# sudo btrfs scrub start /
# sudo btrfs scrub status /
# #=> UUID: 01f67928-9b35-48b2-aaa6-c58ff6c440a8
# #=> Scrub started: Sat Sep 16 12:54:47 2023
# #=> Status: finished
# #=> Duration: 0:00:42
# #=> Total to scrub: 64.43GiB
# #=> Rate: 1.53GiB/s
# #=> Error summary: no errors found
# Manually - nas:
# sudo btrfs scrub start /mnt/data
# sudo btrfs scrub status /mnt/data
# #=> UUID: c385a436-0288-486f-a2b9-c64c2db667e7
# #=> Scrub started: Mon Sep 18 14:10:01 2023
# #=> Status: finished
# #=> Duration: 7:23:40
# #=> Total to scrub: 4.40TiB
# #=> Rate: 173.38MiB/s
# #=> Error summary: no errors found
services.btrfs.autoScrub = {
enable = true;
interval = "monthly";