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 1QAOrt-0007Pr-M2 for garchives@archives.gentoo.org; Thu, 14 Apr 2011 15:54:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FE25E0486; Thu, 14 Apr 2011 15:52:33 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id 56AD5E0486 for ; Thu, 14 Apr 2011 15:52:33 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 0497B20264 for ; Thu, 14 Apr 2011 11:52:33 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 14 Apr 2011 11:52:33 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=n5ufGowrQVzYLOF+TpamMMwk3ns=; b=HiM2z8peyqNrTDM+kmu0s2VFzh7R2lSa6dnqSHpS/Snl31EU4U9VGbbfqjuEyNHtr/s+pp5iH79zb62fl3ktKifMlmgnw47tVlb7euF/erfv6oBezq/bHCoiQtaN3S96vKDK847X3Jr3VuS5lPYY5nzeB0j00ksupXawZ9k80Ys= X-Sasl-enc: z9hKc4VZEmUoCZY45JDV1QKfoDjV2Gigr/fZ39L65GYh 1302796351 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5A221402778 for ; Thu, 14 Apr 2011 11:52:31 -0400 (EDT) Message-ID: <4DA71837.9030000@binarywings.net> Date: Thu, 14 Apr 2011 17:52:23 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110313 Lightning/1.0b3pre Thunderbird/3.1.9 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: raid1 grub ext4 References: <20110411214915.3f88106a@digimed.co.uk> <20110412101132.0ee9c8e8@zaphod.digimed.co.uk> <4DA570EB.2060904@binarywings.net> <4DA7008F.5030303@binarywings.net> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB7A06DABBB8CF233A946DD14" X-Archives-Salt: X-Archives-Hash: b27c308a8467b828da7336839f553c08 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB7A06DABBB8CF233A946DD14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 14.04.2011 17:07, schrieb James: > Florian Philipp binarywings.net> writes: >=20 >=20 >> I don't think the missing partition table is your problem. >=20 > OK, let's assume you are correct, ignoring ..... >=20 >> However, you might be onto something with the changed sector offset. B= ut >> I don't know enough of this to help you. >=20 > Well if I have to reformat I look everything on the install. > Not ready to start over yet..... > So after a fresh reboot I see: > livecd ~ # cat /proc/mdstat > Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]=20 > md125 : active (auto-read-only) raid1 sdb3[1] sda3[0] > 1948226512 blocks super 1.2 [2/2] [UU] > md126 : active (auto-read-only) raid1 sda2[0] sdb2[1] > 5022708 blocks super 1.2 [2/2] [UU] > md127 : active (auto-read-only) raid1 sda1[0] sdb1[1] > 262132 blocks super 1.2 [2/2] [UU] >=20 > If you look at previous posts of mine on the md > names, and focus on the sized, you'll see something > very troubling... >=20 > The minimal CD keeps using the md125-127 names but assigns > them to the different partitions: > NOW > /boot is: md127 : active (auto-read-only) raid1 sda1[0] sdb1[1] > 262132 blocks super 1.2 [2/2] [UU] >=20 > / is md125 : active (auto-read-only) raid1 sdb3[1] sda3[0] > 1948226512 blocks super 1.2 [2/2] [UU] >=20 > swap is md126 : active (auto-read-only) raid1 sda2[0] sdb2[1] > 5022708 blocks super 1.2 [2/2] [UU] >=20 > Something is morphing the numbers each time I reboot > with minCD.... >=20 > So no what I put in /etc/fstab, it's going to be wrong. >=20 I guess you can resort to labels or UUIDs. The real problem is the root=3D... parameter for the kernel. That's why I suggested overriding th= e auto detection and define the raids explicitly on the kernel parameter li= st. > grub cannot find the partition with the kernel? OR > is this not a problem?=20 >=20 Wild guess: Does grub maybe rely on the partition type to identify file system? Does it work if you change the type from 0xfd to standard 0x82? > Plus, since I'm never able to write the grub stuffage to the > MBR, grub nor the kernel every run..... >=20 As a workaround to get your system into a usable state, you can still try to put /boot on a USB stick. In the past, I've also had a system where grub (whole /boot except kernel) was located on a floppy and then located the kernel file on the HDD. You could try this in order to find out whether an working grub still has trouble with your file system. > after rebooting I tried this step to correct for the metadata > problem you previously posted about: >=20 > mdadm --create /dev/md1 --level=3D1 --raid-devices=3D2 --metadata=3D0.9= 0 /dev/sda1 > /dev/sdb1 > mdadm: super0.90 cannot open /dev/sda1: Device or resource busy > mdadm: /dev/sda1 is not suitable for this array. > mdadm: super0.90 cannot open /dev/sdb1: Device or resource busy > mdadm: /dev/sdb1 is not suitable for this array. >=20 > mdadm --create /dev/md127 --level=3D1 --raid-devices=3D2 --metadata=3D0= =2E90 /dev/sda1 > /dev/sdb1 > mdadm: super0.90 cannot open /dev/sda1: Device or resource busy > mdadm: /dev/sda1 is not suitable for this array. > mdadm: super0.90 cannot open /dev/sdb1: Device or resource busy > mdadm: /dev/sdb1 is not suitable for this array. >=20 Are you sure sda1 and sdb1 are not in use? Did the kernel activate the already present RAID? Then you have to deactivate it. Use mdadm --stop /dev/md* Additionally, check that you did not mount sda1 or sdb1 by accident. Hope this helps, Florian Philipp --------------enigB7A06DABBB8CF233A946DD14 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2nGDoACgkQqs4uOUlOuU8qTACdHck2PHeqj7sT7tYwJ1IZBp4d nN8An2qYFIFdZN4VOfbYxLnATPVpHjqM =eUoj -----END PGP SIGNATURE----- --------------enigB7A06DABBB8CF233A946DD14--