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] about lvm filesystem...........

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] about lvm filesystem...........
From: "J. Roeleveld" <joost@xxxxxxxxxxxx>
Date: Fri, 4 Jun 2010 08:48:20 +0200
Delivery-date: Thu, 03 Jun 2010 23:49:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C085F12.6040807@xxxxxxxxxxxxxxxx>
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>
References: <AANLkTilSk0v61_PWtw6NDr_1oI7KpfEPiczjgjsSj_sZ@xxxxxxxxxxxxxx> <AANLkTimybRzw8VGRUpjpXIsxDu06dnwO2pdglJQmYSrM@xxxxxxxxxxxxxx> <4C085F12.6040807@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.30-gentoo-r5; KDE/4.3.5; x86_64; ; )
On Friday 04 June 2010 04:04:02 Miles Fidelman wrote:
> Mauro wrote:
> > On 3 June 2010 14:50, Miles Fidelman<mfidelman@xxxxxxxxxxxxxxxx>  wrote:
> >>   Mauro wrote:
> >>> Sorry for my ignorance.
> >>> When I create xen virtual machines on lvm I need to create a
> >>> filesystem on lvm container?
> >>
> >> assuming you're using LVs as your root and swap devices, yes
> >
> > I'm italian and my english is very bad.
> > If I've understood well xen-tools create the LV, then the filesystem
> > on it and then put the VM image.
> > So if I set, for example, 50G for my VM disk space and later I need
> > more space I simply do lvextend on the LV and then resize2fs, then
> > change the parameter on the VM config file, for example 100G, and
> > simply restart the VM.
> 
> That's basically it.  I don't think you have to change anything in the
> config file if you resize the LV later, but I've never actually played
> with resizing volumes.
> 
> Miles
> 

The config-file for the Virtual Machines (Domains) only mention where to find 
the 
disk-images. (LVs)
When you resize these LVs, the config does not need to be changed.

I would, however, suggest you test this properly before using it in a 
production environment. This way you will be certain how it all works.

--
Joost

PS. Mauro, your English doesn't look that bad, I have seen much worse :)

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