mkinitrd unification across distributions
 help / color / mirror / Atom feed
* understanding mdraid initialization logic
@ 2011-02-15 11:43 Gerd v. Egidy
       [not found] ` <201102151243.23744.lists-6VzpN07DMvo@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd v. Egidy @ 2011-02-15 11:43 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

Hi,

I'm trying to understand what goals dracut wants to reach regarding mdraids - 
what should the status of the mdraids be when dracut is finished?

Currently I see that when dracut includes an mdadm.conf, all these mds will 
stay active when dracut ends. When dracut does not use/include an mdadm.conf, 
the mds will be deactivated again at the end of dracut unless they are needed 
for the root filesystem.

This logic is in modules.d/90mdraid/parse-md.sh, it is done by conditionally 
deleting the mdraid-cleanup.sh.

What is the reason for deactivating the mds? Why is this handled differently 
when an mdadm.conf is present?

I need an dracut image which is portable across a lot of machines so I can't 
include an mdadm.conf. But when the real system starts after dracut is done, 
all mds except the root one are gone and can't be mounted through fstab. I use 
filesystem labels in fstab, so the md numbers are irrelevant.

Kind regards,

Gerd

-- 
Address (better: trap) for people I really don't want to get mail from:
jonas-K4Lox0BdAqn6SQ/niu2adgC/G2K4zDHf@public.gmane.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-15 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15 11:43 understanding mdraid initialization logic Gerd v. Egidy
     [not found] ` <201102151243.23744.lists-6VzpN07DMvo@public.gmane.org>
2011-02-15 12:47   ` Andrey Borzenkov
     [not found]     ` <AANLkTinpHgBb3EJaXxj+-tznm9S=6asfTmePgDF-c8DL-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-02-15 13:34       ` Gerd v. Egidy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox