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] resize xen disk file

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] resize xen disk file
From: "Brian Stempin" <brian.stempin@xxxxxxxxx>
Date: Thu, 6 Mar 2008 20:40:31 -0500
Delivery-date: Thu, 06 Mar 2008 17:41:02 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=mJWkH2qND3da0onC4gA83lqMBnu11UbpzfGCkRwlSFI=; b=xyH0cfHT/LDUFAqKSjhNvYDo7UGax4w6/ppxXjV9R6jXM/9haoCZZi4UyCjlpFSHVP78QKEu460CN8XPLoPUxtUuacJHCaGWvNXcZTscNZwi4NVBWNzDNULDFkiry2pxblKPRJLEVGFevsIg5dj43MHtHvZBMOPX8Je+u3roJcA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=a0XPtCcVPswWNuMqobFJ9FD3Q9Mm5WrFow6OiCIywoM152q5h91VLjPZoSy24x+sYF7lTUTPpy0Fn+1Nmbmru8K5bA+P+bwutpZAVoDvnGOfvhio9/JLaqCoJ52WI9CvbL13jm+AfFKARu3/0Apk58PZiTg6X1li0jXYa2jUEpA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <351785350803061733u34080122t5b354c0b26732788@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/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>
References: <d35cd2560803060807u58b132dfo9e003b4783ff479@xxxxxxxxxxxxxx> <351785350803061011s1f89f392vd66b8eeff02ce1c6@xxxxxxxxxxxxxx> <d35cd2560803061018y595154d6hb583e64b15cf577b@xxxxxxxxxxxxxx> <47D05F47.1060301@xxxxxxxxxxx> <90eb1dc70803061354o6ca90dc7h4f417602151e942@xxxxxxxxxxxxxx> <47D06D11.2030700@xxxxxxxxxxx> <351785350803061733u34080122t5b354c0b26732788@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Rudi,

conv=notrunc prevents dd from truncating the file.  Normally, dd would just overwrite the file.  When using conv=notrunc, dd will leave the existing data alone and stop taking on 0s when the desired file size is reached.

Setting up LVM inside of a VM is the most useful in cases where you give the VM direct disk access.  Since you have a file (or a series of files), most of the advantages that LVM affords you are redundant.

Since you're using LVM, you'll have to expand your LVM partitions before you can expand the underlying EXT2 file system.  As indicated earlier in this email chain, you can expand your LVM group via pvresize and lvextend.

Martin,

I have no idea.  If I find something, I'll let you know.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>