From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B83ED1381F3 for ; Mon, 21 Oct 2013 06:00:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8084FE0D00; Mon, 21 Oct 2013 05:59:58 +0000 (UTC) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 798CDE0CDF for ; Mon, 21 Oct 2013 05:59:57 +0000 (UTC) Received: from [212.54.34.136] (helo=smtp5.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1VY8Wy-0003oN-UH for gentoo-user@lists.gentoo.org; Mon, 21 Oct 2013 07:59:56 +0200 Received: from 54698b76.cm-12-2c.dynamic.ziggo.nl ([84.105.139.118] helo=data.antarean.org) by smtp5.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1VY8Wy-0002Wk-F6 for gentoo-user@lists.gentoo.org; Mon, 21 Oct 2013 07:59:56 +0200 Received: from [10.20.13.57] (unknown [10.20.13.57]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id 53DBF4C for ; Mon, 21 Oct 2013 07:59:17 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: <201310210634.03012.michaelkintzios@gmail.com> References: <201310150834.21103.michaelkintzios@gmail.com> <5263DB18.6020409@hadt.biz> <30a1c0c8-79ea-4606-9961-c4c9e95a6d91@email.android.com> <201310210634.03012.michaelkintzios@gmail.com> 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/alternative; boundary="----KGH9BZRB81AMXQTM52D2I2SXZD1WZ8" Subject: Re: [gentoo-user] Re: [O/T] RAID help - now won't boot From: "J. Roeleveld" Date: Mon, 21 Oct 2013 07:59:52 +0200 To: gentoo-user@lists.gentoo.org Message-ID: X-Ziggo-spambar: ---- X-Ziggo-spamscore: -4.9 X-Ziggo-spamreport: ALL_TRUSTED=-1,BAYES_00=-1.9,HTML_MESSAGE=0.001,PROLO_TRUST_RDNS=-3,RDNS_DYNAMIC=0.982 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: 508cfbf6-1c64-4a38-a9d3-c7fdaec8e29a X-Archives-Hash: 5e9a64d8110100ce64b27ecbd76258a7 ------KGH9BZRB81AMXQTM52D2I2SXZD1WZ8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mick wrote: >On Sunday 20 Oct 2013 15:31:12 joost@antarean.org wrote: > >> I would suggest trying it by usong the older metadata format. >> Check the man pages, but I thinl it would be --metadata=3D0.90 (or >similar) >> during creation. That might put the metadata at the end, rather then >at >> the front. (Or it's the other way round and new metadata does it at >the >> end.) >>=20 >> -- >> Joost >> Ps. I have never tried it this way (full disk raid for boot device) >using >> linux software raid. > >Ha! Yes, this made a difference, thanks! With metadata 0.90 I can see >the=20 >same partitions I set up on /dev/md0, also on /dev/sda and /dev/sdb.=20 >The only=20 >problem now is that the Ubuntu server CD wants to format /dev/sda2 as >swap and=20 >fails at that stage. :-/ > >Not sure how to by-pass this. > >I may also try metadata=3D1.0 to see if this makes a difference, which >also=20 >positions the RAID data superblock at the end of the device: > >Sub-Version Superblock Position on Device >----------- ----------------------------- >0.9 At the end of the device >1.0 At the end of the device >1.1 At the beginning of the device >1.2 4K from the beginning of the device > >--=20 >Regards, >Mick To bypass the swap format you could try either deselecting the format opt= ion (if it exists) or setting the partition type to something else. The partition type can be set back to swap later from a livecd without ha= ving to reinstall. Other option:=20 1 install to single disk 2 using sysresccd create a degraded raid1 using the 2nd drive 3 copy the partitions and date from drive 1 to the degraded raid device 4 add disk 1 to the raid 5 wait for the raid device is synchronized 6 change fstab and grub config to reflect the new disklayout -- Joost --=20 Sent from my Android device with K-9 Mail. Please excuse my brevity. ------KGH9BZRB81AMXQTM52D2I2SXZD1WZ8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Mick <michaelkintz= ios@gmail.com> wrote:
On Sunday 20 Oct 2013 15:31:12 joost@antarean.org w=
rote:

I would= suggest trying it by usong the older metadata format.
Check the man= pages, but I thinl it would be --metadata=3D0.90 (or similar)
durin= g creation. That might put the metadata at the end, rather then at
t= he front. (Or it's the other way round and new metadata does it at theend.)

--
Joost
Ps. I have never tried it this way= (full disk raid for boot device) using
linux software raid.
Ha! Yes, this made a difference, thanks! With metadata 0.90 = I can see the
same partitions I set up on /dev/md0, also on /dev/sd= a and /dev/sdb. The only
problem now is that the Ubuntu server CD = wants to format /dev/sda2 as swap and
fails at that stage. :-/

Not sure how to by-pass this.

I may also try metadata=3D1.0 to see if this makes a difference, which also positions the RAID data superblock at the end of the device:

Sub-Version Superblock Position on Device
----------- ----------= -------------------
0.9 At the end of the device
1.0 = At the end of the device
1.1 At the beginning of th= e device
1.2 4K from the beginning of the device

To bypass the swap format you could= try either deselecting the format option (if it exists) or setting the p= artition type to something else.
The partition type can be set back to swap later from a livecd without ha= ving to reinstall.

Other option:
1 install to single disk

2 using sysresccd create a degraded raid1 using the 2nd drive

3 copy the partitions and date from drive 1 to the degraded raid device
4 add disk 1 to the raid

5 wait for the raid device is synchronized

6 change fstab and grub config to reflect the new disklayout

--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity. ------KGH9BZRB81AMXQTM52D2I2SXZD1WZ8--