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<y>? 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?¿

mdadm --manage /dev/md1 --add /dev/hdh3

Then make sure hdh3's partition type is 'fd' raid autodetect.

-- 
Mike Williams
--
[EMAIL PROTECTED] mailing list

Reply via email to