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] DomU partition resize problem

To: jean-baptiste.favre@xxxxxxxxxx
Subject: Re: [Xen-users] DomU partition resize problem
From: "Alain Barthe" <ab266061@xxxxxxxxx>
Date: Wed, 12 Nov 2008 12:22:30 +0100
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Nov 2008 03:23:10 -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:cc:in-reply-to:mime-version:content-type:references; bh=Vp6pSSHgabe4zEbJ+Kgd9qDfOERRxbm/RN26sNqT0sk=; b=J8+Px9Lz3Ti5ERxMHdcTFAXvh8++lB9n0Xcua3khQTi2pGFW7kyiAeT6dumrd0SBN9 LmHoGuj4inLNZJtitNSZAfh3MZyPqSKKWKSlAhMQAg4wTqpflZRh0fZibciznP9xaAkE v6Ek5cevJBt/aGWiiiBCUcYQGPmg+OZAcHQ1I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=L8RJRYKdXrVltbr5npBETMdCCvQlc521O7TeCowxTDGYZdXorKPVeivnFTYuqT2kzE DPGtIb+QEAo58ZdMf2l2dpTVcDd+UmFVUPAhzmOAEE87+LxwkgPyXdF32lJMw4Pg5QQT QXFbBjkzeW9LlnP+A1KPpUuyQrvgdAR1TYES8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4916EF61.5040502@xxxxxxxxxx>
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: <4916EF61.5040502@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2008/11/9 Jean Baptiste FAVRE <jean.baptiste.favre@xxxxxxxxx>
>From DomU
## fdisk -l /dev/hda
#
#Disk /dev/hda: 10.7 GB, 10737418240 bytes
#255 heads, 63 sectors/track, 1305 cylinders
#Units = cylinders of 16065 * 512 = 8225280 bytes
#
#   Device Boot      Start         End      Blocks   Id  System
#/dev/hda1   *           1         336     2698888+  83  Linux
#/dev/hda2             337        1174     6731235    5  Extended
#/dev/hda5             337         381      361431   82  Linux swap / #Solaris
#/dev/hda6             382        1174     6369741   83  Linux

You can see here that the last cylinder of your disk (1305) differs from the last cylinder of your last and extended partitions (1174), the difference is the volume you added. For this additional space to be taken into account at the partition level, you have to remove the hda2 and hda6 partitions, then recreate them giving the correct last cylinder.

After that resize2fs will work.
 


Any idea to get it working ?

Thanks,
JB

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>