Remove /home from compute and mount all NFS over IPoIB
This commit is contained in:
@@ -9,6 +9,7 @@ let
|
||||
nfs.enable = true;
|
||||
nfs.exports = ''
|
||||
/exports 10.1.61.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
||||
/exports 10.1.63.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -106,6 +107,10 @@ let
|
||||
device = "/opt";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
"/data" = {
|
||||
device = "10.1.63.80:/data";
|
||||
fsType = "nfs";
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.services.sshd.googleAuthenticator.enable = true;
|
||||
@@ -145,12 +150,16 @@ let
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/home" = {
|
||||
device = "10.1.61.100:/home";
|
||||
"/home/stokes" = {
|
||||
device = "10.1.63.100:/home";
|
||||
fsType = "nfs";
|
||||
};
|
||||
"/opt" = {
|
||||
device = "10.1.61.100:/opt";
|
||||
device = "10.1.63.100:/opt";
|
||||
fsType = "nfs";
|
||||
};
|
||||
"/data" = {
|
||||
device = "10.1.63.80:/data";
|
||||
fsType = "nfs";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user