From 567fbce9beaf6a126f13cdd2bd5ccd6be18f897e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Jul 2013 13:59:41 +0200 Subject: [PATCH] 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... --- tests/nfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nfs.nix b/tests/nfs.nix index 7c10eec310c1..4690b9e67aeb 100644 --- a/tests/nfs.nix +++ b/tests/nfs.nix @@ -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; };