Files
alo-cluster/common/glusterfs-client.nix
Petru Paler b84a90d35a Replace c3 (failed) with zippy for clusterfs.
Use IPs for mounting glusterfs, prevents boot mount failing before networking comes up.
2024-07-26 08:20:17 +01:00

14 lines
269 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.glusterfs ];
fileSystems."/data/compute" = {
device = "192.168.1.71:/compute";
fsType = "glusterfs";
options = [
"backup-volfile-servers=192.168.1.72:192.168.1.2"
"_netdev"
];
};
}