mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
docs
This commit is contained in:
parent
cf47eebfaa
commit
9ce645ca97
@ -99,26 +99,11 @@
|
|||||||
# The scrub command operates on a whole filesystem, not just individual subvolumes.
|
# The scrub command operates on a whole filesystem, not just individual subvolumes.
|
||||||
# https://unix.stackexchange.com/a/724412
|
# 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 start /
|
||||||
# sudo btrfs scrub status /
|
# 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 = {
|
services.btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interval = "monthly";
|
interval = "monthly";
|
||||||
|
Loading…
Reference in New Issue
Block a user