public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: sdrb <sdrb@onet.eu>
Cc: xfs@oss.sgi.com
Subject: Re: Issue with xfs on dm snapshots
Date: Thu, 19 May 2011 09:52:23 +1000	[thread overview]
Message-ID: <20110518235223.GB32466@dastard> (raw)
In-Reply-To: <4DD3876F.2080805@onet.eu>

On Wed, May 18, 2011 at 10:46:39AM +0200, sdrb wrote:
> Hello
> 
> I encountered some problems using XFS on LVM and snapshots on linux 2.6.35.
> The problem is that when there are several snapshots and some of
> them reached theirs maximum space and disks are under heavy load -
> it causes that the tasks that rely somehow on device mapper - just
> hung.

Yup. Running your shapshot target out of disk space causes Bad
Things To Happen. Typical problem is that metadata write IO's fail
and XFS shutѕ the filesytem down in response to the corruption that
the failing IO has caused.

Looking at your log, i see that is exactly what XFS has done.

The lockdep reports are about dm-snapshot locks and are not XFs
related, so that's probably where the hang is occurring. I'm sure
you could produce the same hang using ext4 instead of XFS. You should
report this to the dm-devel list.

The take away message: Don't let your snapshot volumes run out of
space - you'll corrupt data and/or your filesystem.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

      reply	other threads:[~2011-05-18 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18  8:46 Issue with xfs on dm snapshots sdrb
2011-05-18 23:52 ` 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=20110518235223.GB32466@dastard \
    --to=david@fromorbit.com \
    --cc=sdrb@onet.eu \
    --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