ZFS over NFS issue with linux clients

Kristof Provost kristof at sigsegv.be
Thu Oct 18 09:35:51 UTC 2012


On 2012-10-18 10:50:25 (+0200), Alexey Tyurikov <alexey.tyurikov at gmail.com> wrote:
> I'm looking for people using FreeBSD 9.0 amd64 ZFS over NFS (v3 and v4)
> with Linux clients. My clients (last CentOS6 and Debian6) don't use cache
> for files lying on ZFS over NFS. Tested:
> 
>  $ grep something /nfs_zfs/file-100MB # network activity, client read the
> file over NFS (slow)
>  $ grep something /nfs_zfs/file-100MB # network activity, client read the
> file over NFS once again (slow)
> 
I'm unable to reproduce this behaviour with a Debian 6.0 client (ARM,
because my openrd is the only client I can get to at the moment). That's
a 2.6.32-5-kirkwood kernel.

The server is FreeBSD 9.1-PRERELEASE #91 r241441 (amd64). I can't
easily compare to UFS, because the server is ZFS only.

I see network activity on the first read, but only very little (a single
getattr + reply in fact) on the second read.

Regards,
Kristof



More information about the freebsd-fs mailing list