configure zfs auto-snapshot
This commit is contained in:
parent
86b40990b6
commit
094b98351a
1 changed files with 1 additions and 5 deletions
|
@ -43,7 +43,6 @@ in
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "root";
|
name = "root";
|
||||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
|
||||||
content = {
|
content = {
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
pool = "zroot";
|
pool = "zroot";
|
||||||
|
@ -68,7 +67,6 @@ in
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "raid_${name}";
|
name = "raid_${name}";
|
||||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
|
||||||
content = {
|
content = {
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
pool = "zraid";
|
pool = "zraid";
|
||||||
|
@ -101,9 +99,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# use boot.zfs.extraPools = [ "zraid" ] to mount this pool during boot time.
|
# `zpool import -f zraid` once on the first boot and reboot
|
||||||
# or `zpool import -f zraid` once on the first boot and reboot
|
|
||||||
# you have to run `zpool import -f zraid` every time you rename your networking.{hostname,hostId}
|
|
||||||
zraid = {
|
zraid = {
|
||||||
type = "zpool";
|
type = "zpool";
|
||||||
mode = "raidz2";
|
mode = "raidz2";
|
||||||
|
|
Loading…
Reference in a new issue