xfs
[Top] [All Lists]

Re: raid1 root with XFS

To: Simon@xxxxxxxxxxxxxxxxxxxx, \@mobile.sauter-bc.com@lizard.webland.de, "Drake\" Danini <drake@xxxxxxxxxxx>"@mobile.sauter-bc.com
Subject: Re: raid1 root with XFS
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Tue, 22 May 2001 20:50:48 +0200
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 5557457306; Tue, 22 May 2001 20:55:50 +0200 (CEST)
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
Organization: Sauter AG, Basel
References: <002801c0e2c4$4b0b8f10$0401270a@milano.jobpilot>
Sender: owner-linux-xfs@xxxxxxxxxxx
> Simon \"Drake\" Danini schrieb:
> 
> Hi all,
>     i'm trying to build up a linux system with 2 software raid1 xfs
> partitions (let's say hda1 hda2) ...
> i've tryed almost everything ...
> 
> patched mkinitrd (as suggested from this list)
> enabling and disabling devfs
> manually modifying initrd image (to arrange the /dev/md0 problem)
> trying to arrange the various /dev/md0 and/or /dev/md/0
> 
> but nothing seems to work
> the kernel used is the one of the 1.0 RedHat installer iso image
> downloaded from sgi
> 
> i always get the same error
> 
> raid1 personality registred
> Autodetecting RAID arrays ...
> autorun ...
> ... autorun DONE.
> Ext2fs: unable to read superblock
> ...
> XFS: SB read failed
> ... and then obviously the "kernel panic"
> 
> Can someone give me some hints ???
> 
> Thank a lot in advance and Ciao
> 
>                     Drake
> 
> 

Did you use this patch for mkinitrd. Previus patches from this list
don't
work as expected.

--- mkinitrd.orig       Thu May 10 18:16:05 2001
+++ mkinitrd    Thu May 10 18:16:05 2001
@@ -396,8 +396,9 @@
 fi
 
 if [ -n "$startraid" ]; then
-    cp -a /dev/md0 $MNTIMAGE/dev
+    mknod $MNTIMAGE/dev/md0 b 9 0
     echo "raidautorun /dev/md0" >> $RCFILE
+    echo "raidautorun /dev/md/0" >> $RCFILE
 fi
 
 chmod +x $RCFILE


Did you try to boot in rescue mode from the install cd? Is the lilo.conf
correct. I mean something like this:

boot=/dev/md0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=devfs

image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
        label=orig
        initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img.orig
        read-only
        root=/dev/md0
        append="ramdisk_size=2500"

image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
        label=devfs
        initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img
        read-only
        root=/dev/md0
        append="ramdisk_size=2500"

image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
        label=nodevfs
        initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img
        read-only
        root=/dev/md0
        append="ramdisk_size=2500 devfs=nomount"

Greetings
Simon (yes really :))



<Prev in Thread] Current Thread [Next in Thread>