From: Michael Barnwell <xterminate@xterminate.me.uk>
To: Jan Kara <jack@ucw.cz>
Cc: reiserfs-list@namesys.com
Subject: Re: Data being corrupted on reiserfs 3.6
Date: Sun, 15 Jan 2006 21:36:20 +0000 [thread overview]
Message-ID: <43CAC054.5020104@xterminate.me.uk> (raw)
In-Reply-To: <20060115204143.GC24752@atrey.karlin.mff.cuni.cz>
Hi,
Jan Kara wrote:
<snip>
> Hmm, that is really strange. Do the files have the same size? Do you
> get an error also if you just create file full of zeros? If so, how do
> the differences look like (e.g. any signs of flipped bits or so?).
>
michael@biggs:/tmp$ dd bs=1024 count=1000k if=/dev/zero of=./1GB.tst
1024000+0 records in
1024000+0 records out
1048576000 bytes transferred in 61.578769 seconds (17028207 bytes/sec)
michael@biggs:/tmp$ ls -l 1GB.tst
-rw-r--r-- 1 michael michael 1048576000 2006-01-15 20:51 1GB.tst
michael@biggs:/tmp$ md5sum 1GB.tst
e5c834fbdaa6bfd8eac5eb9404eefdd4 1GB.tst
michael@biggs:/tmp$ ls -l /home/michael/1GB.tst
-rw-r--r-- 1 michael michael 1048576000 2006-01-15 20:54
/home/michael/1GB.tst
michael@biggs:/tmp$ md5sum /home/michael/1GB.tst
92c51557041ebd6424b4467a878c9f44 /home/michael/1GB.tst
I looked at the file in /home/michael/1GB.tst with xdd for about 5
minutes but couldn't see anything but zeros - I'm not sure how to search
through a binary file for non-zero bytes.
So yes, error if the file is all zeros and they have the same size.
Thanks,
Michael Barnwell.
next prev parent reply other threads:[~2006-01-15 21:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-14 22:41 Data being corrupted on reiserfs 3.6 Michael Barnwell
2006-01-15 20:41 ` Jan Kara
2006-01-15 21:36 ` Michael Barnwell [this message]
2006-01-15 22:29 ` Pierre Etchemaïté
2006-01-15 23:02 ` Michael Barnwell
2006-01-16 9:45 ` Hans Reiser
2006-01-16 10:41 ` Jan Kara
2006-01-22 12:12 ` Michael Barnwell
2006-01-24 14:09 ` Jan Kara
2006-01-24 17:59 ` Barry K. Nathan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43CAC054.5020104@xterminate.me.uk \
--to=xterminate@xterminate.me.uk \
--cc=jack@ucw.cz \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.