btrfs scrub

This commit is contained in:
2024-06-16 16:08:15 -06:00
parent befb789e29
commit 8f14fc46ef
4 changed files with 24 additions and 16 deletions

View File

@@ -145,10 +145,6 @@
services = { services = {
smartd.enable = true; smartd.enable = true;
fstrim.enable = true; fstrim.enable = true;
btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" ];
};
avahi = { avahi = {
enable = true; enable = true;
nssmdns4 = true; nssmdns4 = true;

View File

@@ -101,7 +101,10 @@
}; };
}; };
services = { services = {
btrfs.autoScrub.fileSystems = [ "/" ]; btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" ];
};
# minidlna = { # minidlna = {
# enable = true; # enable = true;
# openFirewall = true; # openFirewall = true;

View File

@@ -51,5 +51,8 @@
]; ];
}; };
}; };
services.btrfs.autoScrub.fileSystems = [ "/" "/mnt/pool" ]; services.btrfs = {
enable = true;
fileSystems = [ "/" ];
};
} }

View File

@@ -109,16 +109,22 @@
enableVirtualCamera = true; enableVirtualCamera = true;
}; };
}; };
services.resilio = { services = {
deviceName = "chichis"; btrfs.autoScrub = {
enable = true; enable = true;
useUpnp = true; fileSystems = [ "/" ];
enableWebUI = true; };
httpPass = "528491"; resilio = {
httpLogin = "chichis"; deviceName = "chichis";
httpListenPort = 9876; enable = true;
httpListenAddr = "0.0.0.0"; useUpnp = true;
directoryRoot = "/resilio"; enableWebUI = true;
httpPass = "528491";
httpLogin = "chichis";
httpListenPort = 9876;
httpListenAddr = "0.0.0.0";
directoryRoot = "/resilio";
};
}; };
virtualisation = { virtualisation = {
podman = { podman = {