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] Managing DomU partitions in XEN+LVM systems?

To: "xen ml" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Managing DomU partitions in XEN+LVM systems?
From: Derek <xen@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Apr 2007 22:15:41 -0600
Delivery-date: Thu, 19 Apr 2007 21:14:27 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=rLxutZG0XK+qDEatwv3xf050mgWixunh532BXTjX8g7CnlWMEQeY3jVBI7Tr1uNHtfg6yrsck6qWNJBtQV67T1BvBXoT683Y7J67WHSSWLAVGc6G2UlWbfc2bJQ/MrSQ5QUdna5qBLRAfRjcjVIASKYMc22miZzkceMesYeONO0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=UhpvNCKnTyi2hOkivokPI77FZ21GXLIVABXgIh7MYUYeOfCnejNYU1vNlKzYiH0pqiQqrvrtHhVvpajpdhMRUO102dNkUeGIFRDhMw1t1qbx+re4wCwC3zKm69SLLUbL/cwb8KKW8AK1QFq2O+lClsmNaWvE1rfwhnuoZMf3gPA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <30aa58b10704190606p76dbded9uea69316d61b70f16@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: <13033e750701310805l14072a69le42094d76770c3e8@xxxxxxxxxxxxxx> <30aa58b10704190606p76dbded9uea69316d61b70f16@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 4/19/07, Jordi Segues <jordisd.mailing@xxxxxxxxx> wrote:
> but for me the problem is that fdisk can't enlarge a partition! It
> says you must delete it and then recreate it, but if I do this I lose
> all my 2003 system.
 
When I did it, I just used fdisk to delete the partition, and then to re-create a new one of the larger size.  The new one must start at the exact same cylinder as the old one did, but can have more cylinders.  It's a little scary because of the messages about data loss, but it worked fine for me. 
 
To the best of my knowledge, fdisk doesn't touch any other part of the disk other than the partition table, so provided the new partition is larger than the old, and begins at the same position as the old, everything works fine.
 
One precaution I took -- and I recommend you do the same.  I first backed up the entire logical volume, by creating another one of the same size and using dd to copy the content.  That way, if did anything stupid and broke my windows filesystem, I'd have been able to recreate it.
 
Derek.
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users