From: Ralf Gross <Ralf-Lists@ralfgross.de>
To: Dave Chinner <david@fromorbit.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS internal error xfs_da_do_buf(2)
Date: Thu, 23 Sep 2010 10:48:00 +0200 [thread overview]
Message-ID: <20100923084800.GD23326@pirx.askja.de> (raw)
In-Reply-To: <20100922232431.GH2614@dastard>
Dave Chinner schrieb:
> > With 'stat every file regularly' you mean check the md5sum?
>
> If you just want to read the metadata, then just doing something
> like a 'ls -R <mntpt>' will read every directory block and inode and
> run the checks that trigger the errors you are seeing. running
> md5sum on every file will check the data as well, but will take a
> lot longer.
ok, 'ls -R ...' takes 40 min. to finish. I'll let it run once a week.
The backup incrementals do not read every file, so this might detect
corruption earlier.
Would it make any sense to run xfs_check periodicially on a mounted
fs? xfs_check man page says:
'The filesystem should normally be unmounted or read-only during the
execution of xfs_check. Otherwise, spurious problems are reported.'
I guess you would have mentioned it...
Ralf
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2010-09-23 8:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-22 7:26 XFS internal error xfs_da_do_buf(2) Ralf Gross
2010-09-22 8:31 ` Emmanuel Florac
2010-09-22 19:23 ` Ralf Gross
2010-09-22 8:32 ` Dave Chinner
2010-09-22 12:11 ` Ralf Gross
2010-09-22 23:24 ` Dave Chinner
2010-09-23 8:48 ` Ralf Gross [this message]
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=20100923084800.GD23326@pirx.askja.de \
--to=ralf-lists@ralfgross.de \
--cc=david@fromorbit.com \
--cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox