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] exetend domU disk.

To: Henrik Langos <hlangos-xen@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] exetend domU disk.
From: Mauro <mrsanna1@xxxxxxxxx>
Date: Thu, 3 Mar 2011 17:05:14 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Mar 2011 09:06:25 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=w5aUQl1ulLqM8faDZNgL07+aPdf0ZGl2YWBystLPMl8=; b=gskq8j5s4sGsYmufA/SzVQEaCmqA5lzNYx3Idca9o27uFBmrzDIPC0REIXB1Yyk3q6 HklciyRfpBWrS6J3VVTVIimf6cFirVBnNOOFTHrG0x1HsXXiszrH2CMS4+RJABvnEs/1 BtT130cjIY2n/HqzNq6g+nwdSoViaGQN2B49Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OHS6puOMXEcLEUV5iFMi4topcKrBxHNQ02D63Fk7cNgtpJfMlr2nJW59tsSI55U4OG T9hPULqA+K0vk7sJe4t8Bw94MvnNjTnBr9P7efo5qS+2+JeAj+3CKm6o7fKvElem5hZq axJ0Tnsa1AAlck3RwJD30RSOAGy55AVoGPK9U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110303164445.GQ3435@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: <AANLkTikRaBfDxBYxY3uFf2pOnRoXJ0CnAkrrpTpjCFER@xxxxxxxxxxxxxx> <20110303164445.GQ3435@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 3 March 2011 16:44, Henrik Langos <hlangos-xen@xxxxxxxxxxxxxx> wrote:
> On Thu, Mar 03, 2011 at 03:17:48PM +0000, Mauro wrote:
>> Tell me if it is correct.
>> I use debian lenny and xen hypervisor 3.2.
>> I have my domUs under a vg, each domU has its own LV.
>> So for example DomU server1 has server1-disk LV and server1-swap LV under 
>> VG00.
>> server1-disk is 20G and I want to exend to 50G.
>> I shutdown server1, then from Dom0 I do:
>>
>> lvextend -L+30G /dev/vg00/server1-disk
>
> fsck.ext3 -f /dev/vg00/server1-disk
>
>> resize2fs /dev/vg00/server1-disk
>> xm create server1.cfg.
>> Is it correct?
>
> yeap. looks ok to me (as long as /dev/vg00/server1-disk is in fact a partition
> image and not a "whole disk"-image (including partition table and MBR).
>
>
Ok, I've just tried and it works.

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

<Prev in Thread] Current Thread [Next in Thread>