linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@arcor.de>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: mke2fs with discard option breaks RAID5 array
Date: Sat, 14 Sep 2013 21:50:22 +0200	[thread overview]
Message-ID: <5234BDFE.7050700@arcor.de> (raw)

I just had the following weird effect under OpenSUSE 12.3, kernel
3.7.10-1.16. I am wondering if it's a known problem.

Creating a RAID5 array (format doesn't seem to matter) either with the
openSUSE native mdadm 3.2.6 or mdadm 3.3, and running mke2fs on it,
fails. The RAID array is broken after that, all disks faulty, any IO fails.

Further examination shows that the problem is related to mke2fs trying
to discard blocks. Running "-E nodiscard" or setting "discard=no" in
mke2fs.conf fixes the problem. Unfortnately, "discard" seems to be the
default.

Details under https://bugzilla.novell.com/show_bug.cgi?id=840413

Has anyone seen this before?
Martin

             reply	other threads:[~2013-09-14 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14 19:50 Martin Wilck [this message]
2013-09-23 19:38 ` mke2fs with discard option breaks RAID5 array Dan Williams

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=5234BDFE.7050700@arcor.de \
    --to=mwilck@arcor.de \
    --cc=linux-raid@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).