rsync over NFSv4

Norbert Aschendorff
Sun, 30 Sep 2012 13:06:10 -0000

Hi,

my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01
CEST 2012      lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC
 i386) crashes reproducibly when rsync-ing files to an NFSv4 share on
the FreeBSD machine. The crash makes the system reboot. The crash
creates files in /var/crash which may be obtained here: [1].

This problem is not limited to the self-compiled kernel/world (stable/9)
but appears also on pre-compiled 9.1-PRERELEASE. I did not test 9.0-RELEASE.

If I do not use rsync on this NFS share, everything works completely fine.

Workaround: Use rsync over SSH.

--Norbert

[1] http://lbo.spheniscida.de/Files/nfs-rsync-crash.tgz (25K), vmcore of
around 300M (90M gzipped, 64M LZMA'd) not included