Date: Fri, 13 Jan 2012 09:37:11 -0500 From: Martin Cracauer <cracauer@cons.org> To: Daniel Braniss <danny@cs.huji.ac.il> Cc: Martin Cracauer <cracauer@cons.org>, freebsd-current@freebsd.org, Stefan Bethke <stb@lassitu.de> Subject: Re: Data corruption over NFS in -current Message-ID: <20120113143711.GA62486@cons.org> In-Reply-To: <E1RlFsD-000OQB-Cr@kabab.cs.huji.ac.il> References: <20120111165714.GA46594@cons.org> <E9C4060A-0BD5-4187-BE1D-F46560C64366@lassitu.de> <20120111182110.GA75991@cons.org> <E1RlFsD-000OQB-Cr@kabab.cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
More findings. Reminder, with the original report I found: - files for no reason changing ownership and group to root/<owngroupname> - data corruption as in inserting binary junk obviously from ports - data corruption as in malformed ascii text that might be a bug I have in my code that is only exposed in FreeBSD I ran the script on a Linux machine in the same situation again the same NFS server, it worked fine. I haven't look at blocksizes, NFS versions etc in play yet. I ran with oldnfs (reboot), which showed only the third problem. I re-ran with newfs (reboot) which worked (all three problems absent). I then started building ports/land/gcc47 at the same time as I re-started my crazy script and it too only a few seconds for an unexpected ownership to root to occur. My next steps are: - trying block sizes and other parameters, maybe use a different NFS version with the Linux client. My NFS server is newly upgraded to Linux kernel 3.1.5 - running my script on a FreeBSD host with local disk to see whether problem #3 is a general problem that appears or is exposed only on FreeBSD - capture tcpdump as mentioned earlier I will probably have to turn debug off since this script run is dominated by system time now and gets 10x slower as it is now. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120113143711.GA62486>