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 1MeF3q-0007Kc-5I for garchives@archives.gentoo.org; Thu, 20 Aug 2009 21:20:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A4B6E0324; Thu, 20 Aug 2009 21:20:40 +0000 (UTC) Received: from web30402.mail.mud.yahoo.com (web30402.mail.mud.yahoo.com [68.142.200.105]) by pigeon.gentoo.org (Postfix) with SMTP id 4A072E0324 for ; Thu, 20 Aug 2009 21:20:40 +0000 (UTC) Received: (qmail 99687 invoked by uid 60001); 20 Aug 2009 21:20:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250803239; bh=ZOweST0mH8gpDX8soBT3QPWMNPdkI7SH9g5y6UfH7Sw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=R+LkZ2diDRqaCsxzvfrSs2rj3e8Ezp3mlBLsYGX432Uw+xxifPUslje9qL09+QOF6wTHJB7AlmuT86I83EjX9ZxUhriQ3IO1bnqks5p0CDZbTMK6FiXZHDJGU2c13XYdo0xlK1saxIvLV9KHh9ws+LusfyzxwRPdUbUdlKEgX+Y= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dfy6d8izHDdRcjMKLnChN9rM8VJriwBzcVuwIpW4UNJYtlTJuRic/EN88Kk0qdG6AwkX9+cCP4MfoKeI9yTdjdrO1G4lsU3pihycDfDnq+Om8aAcHMUnnGq+meOHWOE+dgAkTl52qiMjqflbjclxYnYYuEnEQHEvp/cGRYXnt5U=; Message-ID: <893748.98689.qm@web30402.mail.mud.yahoo.com> X-YMail-OSG: WOaMkbEVM1k6RRDU4XMLiDc5vW5AYERwXltTN8K5QQltU_0SHGakSoYZL7e8qYrvKrbutR8VrirTcjaLu_Niu6CvwTxH0Qo4BQn_72LPl8evT90zqtlb.z3nwHP2QBNKuT89Yh_QvwKuwdLqVLPNZbfdvH_OBJXWo__rL1XBz4t2odYTg4PCznItjxDphTtOwnH1gmh9kOcz62bfDKbxNEOf5aqLE_DNs07dIgStajRt0UXnXyW3Je4n3cs9BIg_gTh8zwFY2LbSOpwSSKGutKhicw_3odL2wpDmu7afHWCzgd.qVljmeNtu2caOxaECxEG0utLvZD0j5_RiVWDPVMEBS6z9sDmFsVgqUpeLRKs25z07 Received: from [98.208.14.225] by web30402.mail.mud.yahoo.com via HTTP; Thu, 20 Aug 2009 14:20:39 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Thu, 20 Aug 2009 14:20:39 -0700 (PDT) From: Kevin Haddock Subject: Re: [gentoo-user] fixing raid1 /boot To: gentoo-user@lists.gentoo.org In-Reply-To: <20090820051727.00cab918@coercion> 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: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a9e5a466-9419-4854-a74a-be264b7af39d X-Archives-Hash: 5ce7c184dcb5a9f827d548dd472c3ebc beta ~ # mdadm --manage --stop /dev/md0 mdadm: stopped /dev/md0 beta ~ # mdadm -A /dev/md0 /dev/sda1 mdadm: cannot open device /dev/sda1: Device or resource busy mdadm: /dev/sda1 has no superblock - assembly aborted beta ~ # mdadm -A /dev/md0 /dev/sda=20 mdadm: cannot open device /dev/sda: Device or resource busy mdadm: /dev/sda has no superblock - assembly aborted beta ~ # mount /dev/evms/slash on / type xfs (rw,noatime) proc on /proc type proc (rw,nosuid,nodev,noexec) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid,size=3D10240k,mode=3D755) devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=3D5,mode=3D620) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=3D0664,devgid= =3D85) securityfs on /sys/kernel/security type securityfs (rw,noexec,nosuid,nodev) nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev) -Kevin ----- People originally thought the eternal question was: "Why am I here?" But now we know the question is actually: "Why is THAT THERE?" -Me --- On Wed, 8/19/09, Mike Kazantsev wrote: > From: Mike Kazantsev > Subject: Re: [gentoo-user] fixing raid1 /boot > To: gentoo-user@lists.gentoo.org > Date: Wednesday, August 19, 2009, 4:17 PM > On Wed, 19 Aug 2009 15:30:46 -0700 > (PDT) > Kevin Haddock > wrote: >=20 > > 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) > >=A0 =A0 =A0=A0=A0104320 blocks super > non-persistent >=20 > 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]". >=20 > So, what's this dm-0 device? > Prehaps you had sda/sdb linked via device mapper during > boot? >=20 > Try removing md0 (by "--manage --stop") and re-assemble the > raid, > specifying the correct devices. >=20 > 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 > --=20 > Mike Kazantsev // fraggod.net > =0A=0A=0A