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...........

Subject: Re: [Xen-users] about lvm filesystem...........
From: Miles Fidelman <mfidelman@xxxxxxxxxxxxxxxx>
Date: Thu, 03 Jun 2010 22:04:02 -0400
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Jun 2010 19:05:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimybRzw8VGRUpjpXIsxDu06dnwO2pdglJQmYSrM@xxxxxxxxxxxxxx>
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> <4C07A532.1060304@xxxxxxxxxxxxxxxx> <AANLkTimybRzw8VGRUpjpXIsxDu06dnwO2pdglJQmYSrM@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4
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


--
In theory, there is no difference between theory and practice.
In<fnord>  practice, there is.   .... Yogi Berra



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