WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Root fs on LVM on software RAID1?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Root fs on LVM on software RAID1?
From: Marcin Owsiany <marcin@xxxxxxxxxx>
Date: Tue, 21 Feb 2006 18:57:13 +0100
Delivery-date: Tue, 21 Feb 2006 18:11:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200602211841.26438.e.bachmann@xxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <15CF3405-F203-4122-8ADB-BB202DB81E3F@xxxxxxxx> <200602211841.26438.e.bachmann@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Tue, Feb 21, 2006 at 06:41:26PM +0100, Ernst Bachmann wrote:
> with a bit of luck, "mkinitrd <xen-kernel-version>" does the right thing, 
> check the mkinitrd docs or search the list for instructions.

Unfortunately sarge's mkinitrd requires devfs for MD+LVM support, and
the kernels supported by xen do not have devfs any more.  I work that
around by sticking the attached script to /etc/mkinitrd/scripts/ before
running mkinitrd.

It's an ugly hack, but works.

You will need to change /dev/mapper/xena-dom0 in it to the name of your
root FS device file.

Hope that helps.

Marcin
-- 
Marcin Owsiany <marcin@xxxxxxxxxx>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

Attachment: xena
Description: Text document

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