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] Debian Lenny & LVM Partitions

To: fajar <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Debian Lenny & LVM Partitions
From: "Alan" <alan@xxxxxxxxxxxxxx>
Date: Sun, 8 Mar 2009 03:25:08 -0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 08 Mar 2009 03:25:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi Fajar,

 

Yeah, it works fine if I do the partitions for the domU as standard non LVM partitions. Looks like the issue lies with Debian and LVM.

 

I did try the update-initramfs with no luck.

 

Regards,

Alan

 

-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx]
Sent: Sunday, 8 March 2009 9:14 PM
To: Alan Lam
Cc: xen-users
Subject: Re: [Xen-users] Debian Lenny & LVM Partitions

 

On Sun, Mar 8, 2009 at 10:11 AM, Alan <alan@xxxxxxxxxxxxxx> wrote:

> It is a fresh debootstrap install, with the kernel on the domU booting with

> pygrub.

> The reason I prefer the domU to be partitioned as per a normal non Xen

> install is I can mount different folders with different permissions etc. For

> example, /tmp as noexec/nosuid.

 

From xen perspective you can always use LVM on dom0, and assign an LV

on dom0 for each domU's partition. I usually give one for "/", one for

swap, one for data (if needed).

 

> I might try doing an install onto a standard partition setup (no LVM) and

> see how it goes.

> For the record, I've done this method with Ubuntu 7.10/8.04/8.10 with no

> issues.

 

This is a debian issue then. You should ask debian experts out there :)

 

My guess is that somehow your debian installation does not include LVM

features on initrd. In ubuntu this is automatic, but maybe there's a

config option somewhere that needs to be changed. Again, debian

specific. Perhaps if you run update-initramfs while having debian

booted it will correctly modifiy the initrd.

 

Regards,

 

Fajar

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>