ceph: add /var/lib/ceph mount
This commit is contained in:
parent
22cb1575b4
commit
b3def9be96
1 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,12 @@ in {
|
||||||
device = "/dev/disk/by-label/boot";
|
device = "/dev/disk/by-label/boot";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
} // (lib.optionalAttrs (config.services.ceph.osd.enable || config.services.ceph.mgr.enable || config.services.ceph.mon.enable || config.services.ceph.mgr.enable) {
|
||||||
|
"/var/lib/ceph" = {
|
||||||
|
device = "/dev/disk/by-label/var-lib-ceph";
|
||||||
|
fsType = "xfs";
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.version = 2;
|
boot.loader.grub.version = 2;
|
||||||
|
|
Loading…
Reference in a new issue