From: mwilck@arcor.de
To: linux-raid@vger.kernel.org
Cc: mwilck@arcor.de
Subject: Fixes for DDF with LSI BIOS RAID
Date: Fri, 7 Dec 2012 23:38:58 +0100 [thread overview]
Message-ID: <1354919941-12070-1-git-send-email-mwilck@arcor.de> (raw)
I have been trying to run MD with a BIOS RAID from LSI (LSI Mega Software RAID).
While md nicely detected the RAID setup (2 RAID-1 volumes) in the first place,
I found a few problems. Most importantly, MD would start an intialization after
every reboot. This is not a systemd issue here, I was working with an old distro
with SysV init (but current mdadm). The problem was that the "init_state" flag
was reset after every boot (more precisely, the BIOS restored a different DDF
structure with the init_state flag cleared, ignoring the value mdadm had set).
The second patch in the series is the one that solves this problem. The other two
are enhancements.
Please review.
Martin
PS: These patches fix RAID1. I noticed that there are more severe problems
when I create a RAID 10 in the BIOS. I'll try to fix that, too.
[PATCH 1/3] DDF: cleanly save the secondary DDF structure
[PATCH 2/3] DDF: use existing locations for primary and secondary DDF structure
[PATCH 3/3] DDF: increase seq number when writing meta data
next reply other threads:[~2012-12-07 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 22:38 mwilck [this message]
2012-12-07 22:38 ` [PATCH 1/3] DDF: cleanly save the secondary DDF structure mwilck
2012-12-07 22:39 ` [PATCH 2/3] DDF: use existing locations for primary and " mwilck
2012-12-07 22:39 ` [PATCH 3/3] DDF: increase seq number when writing meta data mwilck
2012-12-10 20:23 ` DDF RAID 10 with md? Martin Wilck
2013-01-17 20:41 ` Fixes for DDF with LSI BIOS RAID Martin Wilck
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=1354919941-12070-1-git-send-email-mwilck@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).