From 9ce645ca9702eca0e7da56ca4af2fd715a534226 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 23 Sep 2023 22:36:20 +0200 Subject: [PATCH] docs --- modules/base.nix | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/modules/base.nix b/modules/base.nix index 153ea2e..ace51d5 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -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";