All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Yann Dupont <Yann.Dupont@univ-nantes.fr>
Cc: xfs@oss.sgi.com
Subject: Re: Problems with kernel 3.6.x (vm ?) (was : Is kernel 3.6.1 or filestreams option toxic ?)
Date: Mon, 29 Oct 2012 10:48:02 +1100	[thread overview]
Message-ID: <20121028234802.GE4353@dastard> (raw)
In-Reply-To: <508B092E.6070209@univ-nantes.fr>

On Sat, Oct 27, 2012 at 12:05:34AM +0200, Yann Dupont wrote:
> Le 26/10/2012 12:03, Yann Dupont a écrit :
> >Le 25/10/2012 23:10, Dave Chinner a écrit :
> >
> >I'll try now to reproduce this kind of behaviour on a verry little
> >volume (10 GB for exemple) so I can confirm or inform the given
> >scenario .
> >
> 
> This is reproductible. Here is how to do it :
> 
> - Started a 3.6.2 kernel.
> 
> - I created a fresh lvm volume on localdisk of 20 GB.

Can you reproduce the problem without LVM?

> - mkfs.xfs on it, with default options
> - mounted with default options
> - launch something that hammers this volume. I launched compilebench
> 0.6  on it
> - wait some time to fill memory,buffers, and be sure your disks are
> really busy. I waited some minutes after the initial 30 kernel
> unpacking in compilebench
> - hard reset the server (I'm using the Idrac of the server to
> generate a power cycle)
> - After some try, I finally had the impossibility to mount the xfs
> volume, with the error reported in previous mails. So far this is
> normal .

So it doesn't happen every time, and it may be power cycle related.
What is your "local disk"?

> 
> xfs_logprint don't say much :
> 
> xfs_logprint:
>     data device: 0xfe02
>     log device: 0xfe02 daddr: 10485792 length: 20480
> 
> Header 0x7c wanted 0xfeedbabe
> **********************************************************************
> * ERROR: header cycle=124         block=5414 *
> **********************************************************************

You didn't look past the initial error, did you? The file is only
482280 lines long, and 482200 lines of that are decoded log data....
:)

> I tried xfs_logprint -c , it gaves a 22M file. You can grab it here :
> http://filex.univ-nantes.fr/get?k=QnBXivz2J3LmzJ18uBV

I really need the raw log data, not the parsed output. The logprint
command to do that is "-C <file>", not "-c".

> - Rebooted 3.4.15
> - xfs_logprint gives the exact same result that with 3.6.2 (diff
> tells no differences)

Given that it's generated by the logprint application, I'd expect it
to be identical.

> but on 3.4.15, I can mount the volume without problem, log is
> replayed.

> for information here is xfs_info of the volume :
> 
> here is xfs_info output
> 
> root@label5:/mnt/debug# xfs_info /mnt/tempo
> meta-data=/dev/mapper/LocalDisk-crashdisk isize=256    agcount=8,
> agsize=655360 blks

How did you get a default of 8 AGs? That seems wrong.  What version
of mkfs.xfs are you using?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-10-28 23:46 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 14:14 Is kernel 3.6.1 or filestreams option toxic ? Yann Dupont
2012-10-23  8:24 ` Problems with kernel 3.6.x (vm ?) (was : Is kernel 3.6.1 or filestreams option toxic ?) Yann Dupont
2012-10-23  8:24   ` Yann Dupont
2012-10-25 15:21   ` Yann Dupont
2012-10-25 20:55     ` Yann Dupont
2012-10-25 21:10     ` Dave Chinner
2012-10-26 10:03       ` Yann Dupont
2012-10-26 22:05         ` Yann Dupont
2012-10-28 23:48           ` Dave Chinner [this message]
2012-10-29  1:25             ` Dave Chinner
2012-10-29  8:11               ` Yann Dupont
2012-10-29 12:21                 ` Dave Chinner
2012-10-29 12:18               ` Dave Chinner
2012-10-29 12:43                 ` Yann Dupont
2012-10-30  1:33                   ` Dave Chinner
2012-10-31 11:45                     ` Gaudenz Steinlin
2012-11-05 13:57                     ` Yann Dupont
2012-10-29  8:07             ` Yann Dupont
2012-10-29  8:17               ` Yann Dupont
  -- strict thread matches above, loose matches on Subject: below --
2012-11-28  9:39 reste donewell
2012-11-28 20:37 ` Dave Chinner

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=20121028234802.GE4353@dastard \
    --to=david@fromorbit.com \
    --cc=Yann.Dupont@univ-nantes.fr \
    --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 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.