On Mon, 2009-02-23 at 11:58 -0700, Dan Williams wrote: > On Mon, Feb 23, 2009 at 8:54 AM, Doug Ledford <dledford@xxxxxxxxxx> wrote: > > On Mon, 2009-02-02 at 10:46 +1100, Neil Brown wrote: > >> We really need a man page for mdmon don't we. Then this sort of text > >> could be placed there for safely. > > > > Yes, a man page is definitely needed. > > I have one brewing, I'll include it in an upcoming pull request. > > > I have no intention of putting > > mdmon in the initramfs. The only arrays that should be started during > > initramfs operation are / and possibly /boot. Both of those are started > > readonly. It isn't until later in the boot process (in rc.sysinit on > > Fedora/RHEL) that we remount the / device rw. It's my intention to > > modify our rc.sysinit so that before the root device goes rw, we start > > the necessary mdmon instances. This should be sufficient to keep the > > container metadata state consistent with reality and avoids having to > > add mdmon to the initramfs. However, that means I need to know how to > > invoke mdmon when mdadm isn't starting it for me. > > Did you happen to catch the discussion on the initramfs mailing list > [1]? It would be nice to not need mdmon in the initramfs. However, I > have found it needs to be there because even read-only mounted > filesystems require write access to the underlying block device to > recover the journal. > > -- > Dan > > [1] http://thread.gmane.org/gmane.linux.kernel.initramfs/65/ Is XFS the only one that does the journal recovery on initial mount read-only during the initfs step, or do other journaled fses do the same thing? I didn't think ext3 recovered the journal until you switch to a read-write mount, but I guess I could be wrong. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: CFBFF194 http://people.redhat.com/dledford Infiniband specific RPMs available at http://people.redhat.com/dledford/Infiniband
Attachment:
signature.asc
Description: This is a digitally signed message part