From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Nottingham Date: Thu, 03 Jul 2008 13:09:11 +0000 Subject: Re: triggering udev rules based on the state of udevd Message-Id: <20080703130911.GA4865@nostromo.devel.redhat.com> List-Id: References: <20080702151527.GA22892@nostromo.devel.redhat.com> In-Reply-To: <20080702151527.GA22892@nostromo.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hai Zaar (haizaar@gmail.com) said: > > I'm not 100% wedded to the idea, but I'm having a hard time coming > > up with a better way to 'only start in degraded mode if you absolutely > > have to'. > Another suggestion: > First, always use --incremental (without --run) > Then, first time mdadm runs, fork small helper daemon, that will watch > over /var/run/mdadm.map > If meta-info about particular update has not been updated for some > time (which will be configurable), > then the daemon will start that array in degraded mode. ... except you then need to have the anything else you have depending on this (LVM? fsck? mount) to be completely dependent on this delay as well. Bill