Date: Tue, 23 Aug 2011 01:11:52 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de> To: freebsd-questions@freebsd.org Subject: NFSv4 directory listing issues. Message-ID: <20110822231152.GT48651@emmi.physik-pool.tu-berlin.de>
next in thread | raw e-mail | index | archive | help
Hi, i'm just testing a kerberized NFSv4 export of a ZFS-Filesystem. Both client and server are FreeBSD at the moment. I tried Linux clients, but could not mount with sec=krb5. If i mount an exported directory with -o sec=krb5(i|p)i, directory listings with ls do sometimes take a very long time (about 20times). Example output below. > time ls -la total 8 drwxr-xr-x+ 3 root wheel 4 Aug 16 13:27 . drwxr-xr-x 3 locadm locadm 512 Aug 22 23:46 .. drwxr-xr-x+ 2 root wheel 2 Aug 16 13:27 testdir -rw-r--r-- 1 root wheel 0 Aug 16 13:27 testfile 0.003u 0.003s 0:00.23 0.0% 0+0k 0+0io 0pf+0w > time ls -la total 8 drwxr-xr-x+ 3 root wheel 4 Aug 16 13:27 . drwxr-xr-x 3 locadm locadm 512 Aug 22 23:46 .. drwxr-xr-x+ 2 root wheel 2 Aug 16 13:27 testdir -rw-r--r-- 1 root wheel 0 Aug 16 13:27 testfile 0.000u 0.007s 0:04.27 0.0% 0+0k 0+0io 0pf+0w The share is mounted by a local user with a kerberos ticket by mount -t nfs -o nfsv4,sec=krb5 130.149.58.249:/home mount. Mounting with sec=sys does not produce this problem. Has anyone experienced similar issues ? cherio, Leon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110822231152.GT48651>