mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
99b501a767
commit
567fbce9be
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ in
|
|||
{ services.nfs.server.enable = true;
|
||||
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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue