* mke2fs with discard option breaks RAID5 array
@ 2013-09-14 19:50 Martin Wilck
2013-09-23 19:38 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Martin Wilck @ 2013-09-14 19:50 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mke2fs with discard option breaks RAID5 array
2013-09-14 19:50 mke2fs with discard option breaks RAID5 array Martin Wilck
@ 2013-09-23 19:38 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2013-09-23 19:38 UTC (permalink / raw)
To: Martin Wilck; +Cc: linux-raid
On Sat, Sep 14, 2013 at 12:50 PM, Martin Wilck <mwilck@arcor.de> wrote:
> 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?
This sounds like the issue addressed by:
66c28f9 [SCSI] sd: Update WRITE SAME heuristics
5026d7a md/raid1,5,10: Disable WRITE SAME until a recovery strategy is in place
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-23 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-14 19:50 mke2fs with discard option breaks RAID5 array Martin Wilck
2013-09-23 19:38 ` Dan Williams
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).