From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IjftK-0004zn-Kn for garchives@archives.gentoo.org; Sun, 21 Oct 2007 18:51:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9LIdG7S002444; Sun, 21 Oct 2007 18:39:16 GMT Received: from gimli.home.gaima.co.uk (251.67.2.81.in-addr.arpa [81.2.67.251]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9LIYrl3030007 for ; Sun, 21 Oct 2007 18:34:54 GMT Received: (qmail 1097 invoked from network); 21 Oct 2007 18:34:53 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 21 Oct 2007 18:34:52 -0000 From: Mike Williams To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Raid 1 problems Date: Sun, 21 Oct 2007 19:34:51 +0100 User-Agent: KMail/1.9.7 References: <20071021200821.6ccc9507@pataki.bogus.net> In-Reply-To: <20071021200821.6ccc9507@pataki.bogus.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@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 Content-Disposition: inline Message-Id: <200710211934.52317.mike@gaima.co.uk> X-Archives-Salt: 0c9783a8-ee99-4dea-9220-733e468d8d29 X-Archives-Hash: 72cf0aa58d1c39c3c9da61ec7de56e22 On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: > Hi, > > following http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID > and some other docs, I moved my system to RAID 1. > Using gentoo LiveCD, all my config worked fine: I was able to mount md0 > and md1 (at this point my only raid devices) and see data. > > So after ensuring my raid was sync, I decided to boot to my normal > system, and I found that my system was not able to boot because it said > something about my filesystem in md1, a message like: > > The filesystem size (according to the superblock) is 104420 blocks > The physical size of the device is 104320 blocks > Either the superblock or the partition table is likely to be corrupt! > Abort? yes > > (don't look at block number cause it refers to md0, and original > message was about md1). with /dev/md0 unmounted: resize2fs -f /dev/md0 > So, I decided to set dump/pass option to 0 in my fstab so fs won't be > check at next start. > After that, it booted fine, but I'd like to repair my system, and now, > md0 complains about fs too... > > # cat /proc/mdstat > Personalities : [raid1] > md1 : active raid1 hdf3[0] > 8112704 blocks [2/1] [U_] > > md0 : active raid1 hdh1[1] hdf1[0] > 104320 blocks [2/2] [UU] > > So, anyone could tell what to do for reparing mdX?=BF mdadm --manage /dev/md1 --add /dev/hdh3 Then make sure hdh3's partition type is 'fd' raid autodetect. =2D-=20 Mike Williams -- gentoo-user@gentoo.org mailing list