All of lore.kernel.org
 help / color / mirror / Atom feed
* nfs corrupts files
@ 2004-10-14 16:14 Thomas Lenherr
  2004-10-14 17:26 ` Trond Myklebust
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lenherr @ 2004-10-14 16:14 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]

hi everyone,

ok, here is what i did:
i had some files on an nfs-server (v3) using kernel 2.6.8-gentoo-r8
(updated because of the trouble). the 9 files had an average size of
about 180mB and i built the md5sums of these files via ssh _on_ this
server.

after that i transferred these files to my workstation, once via nfs and
once via smb and let them check with md5sum again. the files transferred
with smb were ok, but 6 of the 9 files tranferred via nfs were corrupt.
then i made cmp between the local files (transferred with nfs of course)
and the files on the nfs-server. the result:
1) multiple use of cmp on files which md5sum mentioned as corrupt
resulted in reporting differences at different positions
2) sometimes the usage of cmp on files which md5sum mentioned as correct
resulted in reporting differences...

so, as you see, there's definitly something wrong
now some further infos:
there are no log messages either on the client nor on the server.

export-config:
---------------------------------------------------
mephisto root # exportfs -v
/raid/data/public/media
                      baal(rw,wdelay,nohide,no_root_squash)
/raid/data      baal(rw,wdelay,no_root_squash)
---------------------------------------------------
mephisto is my servername, baal is my clientname and the subdirectory
has to be reexported as it is a new mount-point

the line from the /etc/fstab on client:
---------------------------------------------------
thomas@baal thomas $ grep nfs /etc/fstab
mephisto:/raid/data/    /data           nfs             rw,hard,intr    0 0
---------------------------------------------------


i'm thankful for any help as i don't know, where the mistake might be....

thomas

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-18 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 16:14 nfs corrupts files Thomas Lenherr
2004-10-14 17:26 ` Trond Myklebust
2004-10-14 19:58   ` Thomas Lenherr
2004-10-18 15:30     ` Thomas Lenherr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.