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

Re: [Xen-users] DomU partition resize problem


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

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

 


Rackspace

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