From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MduPW-0006F2-LT for garchives@archives.gentoo.org; Wed, 19 Aug 2009 23:17:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECC21E04D2; Wed, 19 Aug 2009 23:17:40 +0000 (UTC) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by pigeon.gentoo.org (Postfix) with ESMTP id AC094E04D2 for ; Wed, 19 Aug 2009 23:17:40 +0000 (UTC) Received: by fxm7 with SMTP id 7so3967859fxm.34 for ; Wed, 19 Aug 2009 16:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=j0aKsukPIduzwOP+2CNiRuMnDdJn6c8UBAY2P6lLy74=; b=MDd8xP8t4XPi5ED5w1ecIErBqgW2iMJeRURtHuPpUDg0JXWNUahVp4RngC7gyZdFP7 n2JfMKJpsXquzXNGV5H8KZZnIVMj2s2wiMA/jWPWX5m/L0nwmXMJWCXn5ggjtLcYIMbQ sMjA/HMmKBVE/Dxt3FQkXY/gUblyUKsEhmxnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=l1yoTLcuWjW9nKtsWT/Bjsp0obTRk2lG/EQ/hAhw/FoQ+6fzCajTNNGQ/8/sdEsXo8 x7krIWlE975masX1x9fYEMI358F7X3nIDbMzHRyr6hXqP+gsvJ2oalcVfFJKd9OwQKX8 ONgIf1l6MAxcVR8WuJNlrILREpYwCWRq1YgmU= Received: by 10.86.181.6 with SMTP id d6mr4636105fgf.29.1250723859834; Wed, 19 Aug 2009 16:17:39 -0700 (PDT) Received: from coercion ([91.191.238.58]) by mx.google.com with ESMTPS id e11sm1092886fga.8.2009.08.19.16.17.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Aug 2009 16:17:38 -0700 (PDT) Date: Thu, 20 Aug 2009 05:17:27 +0600 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] fixing raid1 /boot Message-ID: <20090820051727.00cab918@coercion> In-Reply-To: <178685.51836.qm@web30407.mail.mud.yahoo.com> References: <200908082319.43900.volkerarmin@googlemail.com> <178685.51836.qm@web30407.mail.mud.yahoo.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_//8ywoXHQNXsiK3U3hL3UnCz"; protocol="application/pgp-signature" X-Archives-Salt: 90ff0120-b780-4352-83a5-8a9c3b1b62b1 X-Archives-Hash: 14835b9d82f9ef061577f4f38efd7cab --Sig_//8ywoXHQNXsiK3U3hL3UnCz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 19 Aug 2009 15:30:46 -0700 (PDT) Kevin Haddock wrote: > beta ~ # /sbin/mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1 > mdadm: cannot get array info for /dev/md0 > beta ~ # cat /proc/mdstat=20 > Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]=20 > md0 : inactive dm-0[0](S) > 104320 blocks super non-persistent If you have /dev/sda1 and /dev/sdb1 in raid1, "md0 : inactive dm-0[0](S)" line is obviously wrong, it should be something like "md0 : active raid1 sda1[0] sdb1[1]". So, what's this dm-0 device? Prehaps you had sda/sdb linked via device mapper during boot? Try removing md0 (by "--manage --stop") and re-assemble the raid, specifying the correct devices. Try to remove md0 and re-create it, specifying the right devices (or just /dev/sda1, then add sdb1). Alternatively, you can try --assemble --scan, maybe it'll just work now, then I guess something wrong should be happening during boot. --=20 Mike Kazantsev // fraggod.net --Sig_//8ywoXHQNXsiK3U3hL3UnCz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkqMiA0ACgkQASbOZpzyXnF5NACeK4CSLbOOZI3BpQOZ7wPMJBEh cBEAoOJUJG4nXP/6ae9EqIsZWq+gJV9l =sPV6 -----END PGP SIGNATURE----- --Sig_//8ywoXHQNXsiK3U3hL3UnCz--