Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 21:07:22 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        pluknet <pluknet@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: nfs-server silent data corruption
Message-ID:  <200804230108.m3N18Rtd094429@lava.sentex.ca>
In-Reply-To: <a31046fc0804221313k5bf5e2f3h106a342a5644e152@mail.gmail.co m>
References:  <wpmyno2kqe.fsf@heho.snv.jussieu.fr> <20080421094718.GY25623@hub.freebsd.org> <wp63ubp8e0.fsf@heho.snv.jussieu.fr> <200804211537.m3LFbaZA086977@lava.sentex.ca> <wpy77650s0.fsf@heho.snv.jussieu.fr> <200804221501.m3MF1guW092221@lava.sentex.ca> <wpzlrlu6w7.fsf@heho.snv.jussieu.fr> <200804221741.m3MHfYjO092795@lava.sentex.ca> <wpabjln518.fsf@heho.snv.jussieu.fr> <200804221807.m3MI73bN092981@lava.sentex.ca> <a31046fc0804221313k5bf5e2f3h106a342a5644e152@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:13 PM 4/22/2008, pluknet wrote:
>Hi, I have the same problem with data corruption (with nfe on nfs 
>server side),
>particularly when transferring large files.
>Maybe this is somehow associated with the topic.
>
>My simple test case:
>truncate -s 1000m bigfile
>^^ here I get zero-filed file
>cp bigfile /nfs/mounted
>^^ here I get not-at-all-zero-filed file, after uploading to nfs server
>
>nfs server on 8-CURRENT as of Apr 17
>nfs client on 7.0-STABLE as of Apr 12

Hi,

         On a RELENG_6 client and the same RELENG_7 (now ULE) server 
with nfe, all seems to work fine

[ns1]# mount /backup/
[ns1]# cp -p j2.txt /backup/
[ns1]# umount /backup/
[ns1]# mount /backup/
[ns1]# cp -p /backup/j2.txt /tmp/j2-copy.txt
[ns1]# md5 /tmp/j2-copy.txt
MD5 (/tmp/j2-copy.txt) = b0977dceb7b511bb8c542ac4f18c7128
[ns1]# md5 /tmp/j2.txt
MD5 (/tmp/j2.txt) = b0977dceb7b511bb8c542ac4f18c7128
[ns1]# cd /tmp
[ns1]# truncate -s 1000m bigfile
[ns1]# ls -lh bigfile
-rw-r--r--  1 root  wheel   1.0G Apr 22 21:03 bigfile
[ns1]# md5 bigfile
MD5 (bigfile) = e5c834fbdaa6bfd8eac5eb9404eefdd4
[ns1]# cp -p bigfile /backup/
[ns1]# umount /backup/
[ns1]# mount /backup/
[ns1]# cp -p /backup/bigfile /tmp/b2
[ns1]# md5 /tmp/b2
MD5 (/tmp/b2) = e5c834fbdaa6bfd8eac5eb9404eefdd4
[ns1]#

         ---Mike 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804230108.m3N18Rtd094429>