autoscrub no zfs
This commit is contained in:
parent
cc2a2a3a75
commit
44b9b56204
2 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,9 @@
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
# head -c4 /dev/urandom | od -A none -t x4
|
# head -c4 /dev/urandom | od -A none -t x4
|
||||||
networking.hostId = "e439b116";
|
networking.hostId = "e439b116";
|
||||||
services.zfs.autoSnapshot.enable = true;
|
services.zfs = {
|
||||||
|
autoSnapshot.enable = true;
|
||||||
|
autoScrub.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# `zpool import -f zraid` once on the first boot and reboot
|
# `zpool import -f zraid` once on the first boot and reboot
|
||||||
|
# todo: rename to tank next time (this is the standard)
|
||||||
zraid = {
|
zraid = {
|
||||||
type = "zpool";
|
type = "zpool";
|
||||||
mode = "raidz2";
|
mode = "raidz2";
|
||||||
|
|
Loading…
Reference in a new issue