All of lore.kernel.org
 help / color / mirror / Atom feed
From: leon breedt <bitserf@gmail.com>
To: reiserfs-list@namesys.com
Subject: reiserfs3 filesystem corruption?
Date: Sun, 29 Aug 2004 01:27:50 +1200	[thread overview]
Message-ID: <270bd0c404082806271f566342@mail.gmail.com> (raw)

hi,

not sure if i'm going mad here:

[ljb@imryrr]:/home/ljb $ ls -l /usr/bin/sdiff
-rwxr-xr-x  1 root root 24576 Apr 25  2003 /usr/bin/sdiff*

[ljb@imryrr]:/home/ljb $ cp /usr/bin/sdiff .

[ljb@imryrr]:/home/ljb $ ls -l sdiff
-rwxr-xr-x  1 ljb ljb 20480 Aug 29 01:12 sdiff*

[ljb@imryrr]:/home/ljb $ ./sdiff
zsh: bus error  ./sdiff

[ljb@imryrr]:/home/ljb $ /usr/bin/sdiff
/usr/bin/sdiff: missing operand after `/usr/bin/sdiff'
/usr/bin/sdiff: Try `/usr/bin/sdiff --help' for more information.

why would the file shrink by 4096 bytes? 

and notice, the original is still able to run. its just when i try to
copy it, that it gets corrupted somehow.

this occurs for a fair number of random files on this filesystem
(affected files all shrink by 4096 bytes). reiserfsck has no
complaints, and i've also run reiserfsck --rebuild-tree. it occurs to
the same set of files every time.

i ran across this while trying to copy my / filesystem to a new
reiser4 filesystem. first thought it was a reiser4 issue, but it
occurs when copying to an ext3 filesystem as well.

i've run badblocks on the disk, with no errors. the filesystem isn't
mounted with any special options, just "noatime".

kernel: 2.6.9-rc1-mm1
reiserfsck: 3.6.18
reiserfs format: "3.6"

its serial ATA device on ICH5-R, if that makes any difference.

the relevant dmesg output:

ReiserFS: sda7: found reiserfs format "3.6" with standard journal
ReiserFS: sda7: using ordered data mode
ReiserFS: sda7: journal params: device sda7, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: sda7: checking transaction log (sda7)
ReiserFS: sda7: Using r5 hash to sort names

any ideas what to try? i'm keeping this filesystem around so i have
the test cases available.

leon

             reply	other threads:[~2004-08-28 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-28 13:27 leon breedt [this message]
2004-08-28 15:28 ` reiserfs3 filesystem corruption? Christian Mayrhuber

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=270bd0c404082806271f566342@mail.gmail.com \
    --to=bitserf@gmail.com \
    --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.