From: Bill Nottingham Subject: Re: [RFC PATCH 2/3] raid: external and internal metadata support Date: Fri, 6 Feb 2009 15:27:05 -0500 Message-ID: <20090206202705.GA6869@nostromo.devel.redhat.com> References: <20090206164019.GD552@redhat.com> <20090206165601.GF11144@nostromo.devel.redhat.com> <20090206173814.GA3541@nostromo.devel.redhat.com> <20090206182118.GA4413@nostromo.devel.redhat.com> <20090206200818.GC6150@nostromo.devel.redhat.com> <8c48d75b834c74adc39b6e904a44237e.squirrel@neil.brown.name> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <8c48d75b834c74adc39b6e904a44237e.squirrel-eq65iwfR9nKIECXXMXunQA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: NeilBrown Cc: Dan Williams , "Danecki, Jacek" , Jeremy Katz , "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" NeilBrown (neilb-l3A5Bk7waGM@public.gmane.org) said: > > You shut down the machine. After a while, you get to the point where > > you're getting ready to unmount the filesystem. Since mdmon's running > > on it (if you started it post boot), you have to kill it. After that > > point, there are going to be writes (a final sync, if nothing else, > > when you unmount the filesystem.) And you won't be able to set any > > RAID metadata flags then, as the daemon won't be running. So, doing > > a later run of "mdmon /proc/mdstat" doesn't fully protect you. > > Last time I checked, Linux would not unmount the root filesystem. > It just remounts it 'read-only'. > Is that going to change? Yeah, I screwed up that part. However, it still syncs, and the mdmon process will still be dead. Bill -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html