All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Christian Kujau <lists@nerdbynature.de>
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: jdm-20002 reiserfs_xattr_get: Invalid hash for xattr
Date: Thu, 11 Feb 2010 09:36:04 -0500	[thread overview]
Message-ID: <4B7415D4.1080201@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.01.1002101650240.27799@bogon.housecafe.de>

On 02/10/2010 07:53 PM, Christian Kujau wrote:
> On Wed, 10 Feb 2010 at 16:13, Jeff Mahoney wrote:
>>> Hm, the filesystem has been created a long time ago, the mountoptions 
>>> haven't changed but since upgrading to 2.6.32 these messages appear quite 
>>> frequently. Does anyone have an idea how to stop them? (Apart from ripping 
>>> out the reiserfs_warning(), I mean)
>>
>> Sorry for the late response. I"m catching up to all the old messages.
>>
>> The way to fix this is to remove the xattr. There's no way to sync it
>> back up.
> 
> 
> You mean "to remove the xattr from the files in question" or "to remove 
> xattr from ReiserFS because it's buggy? ;-)
> 
> Sure, I'll remove the xattrs from the files, but new warnings for other 
> files will appear and reiserfsck still doesn't find anything wrong with 
> the filesystem. I'm not sure how to reproduce this reliably and no one 
> seems to know why these messages appear in the first place...

Well "buggy" depends on whether you're seeing this problem on new xattrs
or just ones that have been around for some time. A while ago, I changed
the xattr code to be entirely journaled so that it isn't sensitive to
unexpected poweroffs, etc. If you're seeing corruption on new xattrs,
then that needs to be looked into.

There probably should be support in reiserfsck for xattrs, but I just
haven't had the time for it.

To locate all the broken xattrs on your system, run this as root and
then check your log afterwards:

getfattr -d -R -m '.*' /

-Jeff

-- 
Jeff Mahoney
SUSE Labs

  reply	other threads:[~2010-02-11 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 22:44 jdm-20002 reiserfs_xattr_get: Invalid hash for xattr Christian Kujau
2009-12-14 22:52 ` Christian Kujau
2009-12-15  3:12   ` Christian Kujau
2009-12-16  5:31     ` Christian Kujau
2010-02-10 21:13       ` Jeff Mahoney
2010-02-11  0:53         ` Christian Kujau
2010-02-11 14:36           ` Jeff Mahoney [this message]
2010-02-12  1:00             ` Christian Kujau

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=4B7415D4.1080201@suse.com \
    --to=jeffm@suse.com \
    --cc=lists@nerdbynature.de \
    --cc=reiserfs-devel@vger.kernel.org \
    /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.