From mboxrd@z Thu Jan 1 00:00:00 1970 From: martin f krafft Subject: Re: (boot time consequences of) Linux mdadm superblock question. Date: Thu, 18 Feb 2010 12:50:13 +1300 Message-ID: <20100217235013.GB2628@lapse.rw.madduck.net> References: <201002140251.59668.volkerarmin@googlemail.com> <20100217181016.GA14983@emergent.ellipticsemi.com> <201002171927.07051.volkerarmin@googlemail.com> <20100217183703.GA15446@emergent.ellipticsemi.com> <20100218102407.49f73d67@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq" Return-path: Content-Disposition: inline In-Reply-To: <20100218102407.49f73d67@notabene.brown> Sender: linux-kernel-owner@vger.kernel.org To: Neil Brown Cc: david@lang.hm, Nick Bowler , Volker Armin Hemmann , Kyle Moffett , Rudy Zijlstra , "Mr. James W. Laferriere" , Bill Davidsen , Michael Evans , linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org List-Id: linux-raid.ids --JYK4vJDZwFMowpUq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Neil Brown [2010.02.18.1224 +1300]: > Using user-space autodetection, you can plug "mdadm -I" into udev, > and have arrays assembled as they are found, and filesystems > mounted as arrays are assembled, and then you just have to wait > for the root filesystem to appear, not for "all devices". The mdadm experimental package offers this via debconf (default off for now). I would appreciate testers =E2=80=94 I literally whacked this up on a rainy Sunday with an hangover, and while it seems to work fine, it's probably got warts. If you don't run Debian or a derivative, you can get the files from debian/initramfs/* in git://git.debian.org/pkg-mdadm/mdadm.git or http://git.debian.org/?p=3Dpkg-mdadm/mdadm.git;a=3Dtree;f=3Ddebian/initra= mfs;hb=3DHEAD don't be scared off by the complexity, incremental assembly actually bypasses most of the (shell) code in both scripts. > Yes, you could make the in-kernel autodetection smarter so it > doesn't have to wait quite so long, but that would make it quite > a bit more complex, and it is harder to maintain the complexity in > the kernel. It is definitely a user-space task, if you ask me. --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 windows 2000: designed for the internet. the internet: designed for unix. =20 spamtraps: madduck.bogus@madduck.net --JYK4vJDZwFMowpUq Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAkt8gLQACgkQIgvIgzMMSnX31gCgy6xXKt/qdAtOcEfl5uFHQ2wH KRQAmgJlYtZvetg1fvKAHVr3Vlhv5rOe =g9Sp -----END PGP SIGNATURE----- --JYK4vJDZwFMowpUq--