From: Dave Chinner <david@fromorbit.com>
To: Shrinath M <shrinath.m@webyog.com>
Cc: Sabyasachi Ruj <sabyasachi.ruj@webyog.com>,
Vivek Goel <vivek.goel@webyog.com>,
Eric Sandeen <sandeen@sandeen.net>,
xfs@oss.sgi.com, Supratik Goswami <supratik.goswami@webyog.com>,
Ric Wheeler <rwheeler@redhat.com>
Subject: Re: XFS filesystem on EC2 instance corrupts and shuts down
Date: Fri, 15 Mar 2013 09:02:44 +1100 [thread overview]
Message-ID: <20130314220244.GA21651@dastard> (raw)
In-Reply-To: <CAOdS1hnVoMtXnOrECrU8xUyRn82UUJ=jMzX0_odnAs0GH8V-yA@mail.gmail.com>
On Thu, Mar 14, 2013 at 06:58:19AM +0530, Shrinath M wrote:
> Thanks Ben, Dave and Eric.
>
> Eric,
> >>but I am wondering if there might be more information before this which
> is not in your trimmed logs.
> No, this was the first entry every time we have it in /var/log/messages.
> dmesg also holds the same. After reboot, it simply fixes without anyone
> doing anything.
>
> The Linux we are running is definitely amazon baked one, looks like this -
> $~: uname -a Linux ip-100-0-100-1 3.2.34-55.46.amzn1.x86_64 #1 SMP Tue Nov
> 20 10:06:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
So, this is an amazon special kernel by the looks of it. I think
that only amazon can really help you track down the problem...
> - dmesg shows something like this after repairing/rebooting -
>
> [ 8.414176] SGI XFS with ACLs, security attributes, realtime, large
> block/inode numbers, no debug enabled
> [ 8.415342] SGI XFS Quota Management subsystem
> [ 8.417664] XFS (md0): Mounting Filesystem
> [ 8.771553] XFS (md0): Starting recovery (logdev: internal)
> [ 9.977325] XFS (md0): Ending recovery (logdev: internal)
>
> Check the first line there, it says no debug enabled. How good/bad is this
> debug mode in production environments? We are not getting any corruption in
> our local/test environments, in production, we are getting it once on every
> third day.
debug shoul dnot be used in production environments. It'll cause
panics in situations where production kernels continue just
fine, and it changes the allocation algorithms to give better code
coverage for testing rather than optimal layout.
> Dave,
> You say unlinked inode list, but if that, it should have an entry in
> /var/log/messages, right?
It did - the error that Eric pointed out.
> Anyway, how can we create this situation?
If I knew, I would have fixed the bug already. You need to work out
what in your production environment is triggering it...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2013-03-14 22:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 8:07 XFS filesystem on EC2 instance corrupts and shuts down Shrinath M
2013-03-06 12:59 ` Ric Wheeler
2013-03-06 13:03 ` Shrinath M
2013-03-06 13:08 ` Ric Wheeler
2013-03-06 13:12 ` Supratik Goswami
2013-03-06 13:15 ` Supratik Goswami
2013-03-06 14:25 ` Ric Wheeler
2013-03-13 18:07 ` Shrinath M
2013-03-13 18:24 ` Ben Myers
2013-03-13 18:56 ` Eric Sandeen
2013-03-13 19:10 ` Eric Sandeen
2013-03-13 23:42 ` Dave Chinner
2013-03-14 1:28 ` Shrinath M
2013-03-14 13:31 ` Stan Hoeppner
2013-03-14 22:02 ` Dave Chinner [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=20130314220244.GA21651@dastard \
--to=david@fromorbit.com \
--cc=rwheeler@redhat.com \
--cc=sabyasachi.ruj@webyog.com \
--cc=sandeen@sandeen.net \
--cc=shrinath.m@webyog.com \
--cc=supratik.goswami@webyog.com \
--cc=vivek.goel@webyog.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