From: Bill Davidsen <davidsen@tmr.com>
To: Joachim Otahal <Jou@gmx.net>
Cc: Michael Evans <mjevans1983@gmail.com>,
Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: Swap on /dev/md1 always lost after reboot
Date: Wed, 14 Apr 2010 16:13:47 -0400 [thread overview]
Message-ID: <4BC621FB.3060603@tmr.com> (raw)
In-Reply-To: <4BB0E42D.8030406@gmx.net>
Joachim Otahal wrote:
> Michael Evans schrieb:
>> On Sun, Mar 28, 2010 at 7:32 PM, Joachim Otahal<Jou@gmx.net> wrote:
>>
>>> Joachim Otahal schrieb:
>>>
>>>> free says: swap active, mdstat says:
>>>> md2 : active (auto-read-only) raid1 sda2[1] sdb2[0]
>>>> 979840 blocks [2/2] [UU]
>>>>
>>> minor correction: the output right after creating the raid + issuing a
>>> mkswap is
>>> md2 : active raid1 sda2[1] sdb2[0]
>>> 979840 blocks [2/2] [UU]
>>> [=======>.............] resync = 37.9% (372480/979840)
>>> finish=0.1min
>>> speed=93120K/sec
>>>
>>> and a few second later:
>>> md2 : active raid1 sda2[1] sdb2[0]
>>> 979840 blocks [2/2] [UU]
>>>
>>> mdadm.conf updated, but md2 still not there after reboot.
>>>
>>> Joachim
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe
>>> linux-raid" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>>
>> Trigger the regeneration of your initrd/initramfs image. It's
>> probably got an mdadm.conf that lacks your second device.
>>
>>
> Strike, thank you.
>
> Joachim Otahal
My thought was that you didn't change the partition type to
"raid-autostart" so the array got started by the kernel (0.90 meta
needed). I suspect that would have fixed it as well.
--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein
next prev parent reply other threads:[~2010-04-14 20:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 2:21 Swap on /dev/md1 always lost after reboot Joachim Otahal
2010-03-29 2:32 ` Joachim Otahal
2010-03-29 6:33 ` Michael Evans
2010-03-29 17:32 ` Joachim Otahal
2010-04-14 20:13 ` Bill Davidsen [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-29 2:21 Joachim Otahal
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=4BC621FB.3060603@tmr.com \
--to=davidsen@tmr.com \
--cc=Jou@gmx.net \
--cc=linux-raid@vger.kernel.org \
--cc=mjevans1983@gmail.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;
as well as URLs for NNTP newsgroup(s).