* Any risk switching mdadm to static?
@ 2012-12-26 17:57 Mark Knecht
2012-12-26 19:02 ` Phil Turmel
2012-12-26 19:32 ` Tommy Apel Hansen
0 siblings, 2 replies; 5+ messages in thread
From: Mark Knecht @ 2012-12-26 17:57 UTC (permalink / raw)
To: Linux-RAID
Hi,
I run a bunch of home Gentoo systems most of which use mdadm,
currently version 3.1.4. I do not currently use initramfs's on any of
these systems but figure it's time for me to crawl out of my dark ages
swamp and try to become more enlightened.
QUESTION: Is there an significant risk that a normal Gentoo system
of the stable variety (I.e. - not ~amd64) would encounter any problems
booting if mdadm-3.1.4 was rebuilt using the static flag? If it
matters most of my RAIDs are metadata-0.9. One is 1.2.
If I did encounter a problem and couldn't boot is there a way to recover?
Please note, I'm not asking right now about using mdadm from within
an initramfs. I'm only trying to ensure that if I rebuild mdadm with
the static flag the current system is still likely to boot OK.
Folks on the Gentoo list say they didn't have any problems
switching, but they switched a long, long time ago so I'm just trying
to be extra sure.
Thanks in advance,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Any risk switching mdadm to static?
2012-12-26 17:57 Any risk switching mdadm to static? Mark Knecht
@ 2012-12-26 19:02 ` Phil Turmel
[not found] ` <CAK2H+ecQpTtipdPWQmVj2gCZ6FPzeXfx5bj8y4asVdhf1CTkfA@mail.gmail.com>
2012-12-26 19:32 ` Tommy Apel Hansen
1 sibling, 1 reply; 5+ messages in thread
From: Phil Turmel @ 2012-12-26 19:02 UTC (permalink / raw)
To: Mark Knecht; +Cc: Linux-RAID
On 12/26/2012 12:57 PM, Mark Knecht wrote:
> Hi,
> I run a bunch of home Gentoo systems most of which use mdadm,
> currently version 3.1.4. I do not currently use initramfs's on any of
> these systems but figure it's time for me to crawl out of my dark ages
> swamp and try to become more enlightened.
>
> QUESTION: Is there an significant risk that a normal Gentoo system
> of the stable variety (I.e. - not ~amd64) would encounter any problems
> booting if mdadm-3.1.4 was rebuilt using the static flag? If it
> matters most of my RAIDs are metadata-0.9. One is 1.2.
I can't answer the question off the top, but I thought I'd point out
that you probably don't need static for use with an initramfs. Because
I run stable amd64 on one of my gentoo servers, and don't have 'static'
set for mdadm. I use dracut with mdraid and lvm use flags to build my
initramfs images. Rootfs is in LVM which is on MD raid10.
> If I did encounter a problem and couldn't boot is there a way to recover?
>
> Please note, I'm not asking right now about using mdadm from within
> an initramfs. I'm only trying to ensure that if I rebuild mdadm with
> the static flag the current system is still likely to boot OK.
From my understanding of how linking works, I'd say it *can't* hurt.
> Folks on the Gentoo list say they didn't have any problems
> switching, but they switched a long, long time ago so I'm just trying
> to be extra sure.
HTH,
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Any risk switching mdadm to static?
2012-12-26 17:57 Any risk switching mdadm to static? Mark Knecht
2012-12-26 19:02 ` Phil Turmel
@ 2012-12-26 19:32 ` Tommy Apel Hansen
[not found] ` <CAK2H+efpHB-Okn_PaitAKmLPKwmn1kNZzJpEvM-BW7fWWwrZVw@mail.gmail.com>
1 sibling, 1 reply; 5+ messages in thread
From: Tommy Apel Hansen @ 2012-12-26 19:32 UTC (permalink / raw)
To: Mark Knecht; +Cc: Linux-RAID
Hello Mark,
if you use genkernel initramfs you shouldn't have any problems, just
make sure you mdadm.conf is up to date when you ask genkernel to make
the initramfs, what the initramfs does it to boot your system into a
ramdisk and then initialize everything from there before pivoting into
the real OS, worst case you'll end up in a rescure shell where you can
start up the md's and then ask the system to use them after you exit the
shell.
/Tommy
On Wed, 2012-12-26 at 09:57 -0800, Mark Knecht wrote:
> Hi,
> I run a bunch of home Gentoo systems most of which use mdadm,
> currently version 3.1.4. I do not currently use initramfs's on any of
> these systems but figure it's time for me to crawl out of my dark ages
> swamp and try to become more enlightened.
>
> QUESTION: Is there an significant risk that a normal Gentoo system
> of the stable variety (I.e. - not ~amd64) would encounter any problems
> booting if mdadm-3.1.4 was rebuilt using the static flag? If it
> matters most of my RAIDs are metadata-0.9. One is 1.2.
>
> If I did encounter a problem and couldn't boot is there a way to recover?
>
> Please note, I'm not asking right now about using mdadm from within
> an initramfs. I'm only trying to ensure that if I rebuild mdadm with
> the static flag the current system is still likely to boot OK.
>
> Folks on the Gentoo list say they didn't have any problems
> switching, but they switched a long, long time ago so I'm just trying
> to be extra sure.
>
> Thanks in advance,
> Mark
> --
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-12-26 19:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-26 17:57 Any risk switching mdadm to static? Mark Knecht
2012-12-26 19:02 ` Phil Turmel
[not found] ` <CAK2H+ecQpTtipdPWQmVj2gCZ6FPzeXfx5bj8y4asVdhf1CTkfA@mail.gmail.com>
2012-12-26 19:53 ` Phil Turmel
2012-12-26 19:32 ` Tommy Apel Hansen
[not found] ` <CAK2H+efpHB-Okn_PaitAKmLPKwmn1kNZzJpEvM-BW7fWWwrZVw@mail.gmail.com>
2012-12-26 19:55 ` Tommy Apel Hansen
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).