[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] resize xen disk file


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.