Re: Any risk switching mdadm to static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux