Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] xen on suse 9.3 and software raid

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen on suse 9.3 and software raid
From: Robbie Dinn <robbie@xxxxxxxxxxxx>
Date: Fri, 29 Apr 2005 11:19:07 +0100
Delivery-date: Fri, 29 Apr 2005 10:18:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4271F381.4010303@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.58.0504262344130.23086@xxxxxxxxxxxxx> <4271F381.4010303@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906
Robbie Dinn wrote:
> I don't know how to fix mkinitrd, but I am going to try to fix up
> the initrd image by hand. delete the extraneous modules and edit
> the init script to load just the -xen modules.
>
> I'll reply when I find out if this helps or not.

Did that but no change in behaviour. ho hum...

I have shell, but not any final root filesystem. Currently
using the initrd filesystem image.

I can see a directory /sys/block/md0 but if I look in
/sys/block/md0/size, it contains 0 (zero).

I editted the file ./init in the initrd image, changing
the line line that reads

  mount -t tmpfs -o 'size=5%' initramfsdevs $devdir

to

  mount -t tmpfs -o 'size=10%' initramfsdevs $devdir

instead.

Then I dropped mdadm and rmmod into the ./sbin/ directory

rebuild initrd with:

  cd /base/of/initrd/image
  find ./ | cpio -H newc --create | gzip -9 >/boot/new-initrd-image

Rebooting and then getting shell prompt...

Doing 'rmmod raid1 ; insmod raid1.ko' didn't help.
Doing 'mdadm /dev/md0 --stop ; mdadm /dev/md0 --run' did not help.

Any one else got any ideas?


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users