|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] DomU partition resize problem
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
|
|
|
|
|