NFS test: Set a fixed fsid
Otherwise clients get a "Stale NFS handle" error after the server reboots. Not clear why this is the case, since the fsid shouldn't change across reboots...
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ in
|
|||||||
{ services.nfs.server.enable = true;
|
{ services.nfs.server.enable = true;
|
||||||
services.nfs.server.exports =
|
services.nfs.server.exports =
|
||||||
''
|
''
|
||||||
/data 192.168.1.0/255.255.255.0(rw,no_root_squash)
|
/data 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check,fsid=0)
|
||||||
'';
|
'';
|
||||||
services.nfs.server.createMountPoints = true;
|
services.nfs.server.createMountPoints = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user