[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Resize Guest Disk
On Tue, Sep 8, 2009 at 11:26 AM, Nick Couchman <Nick.Couchman@xxxxxxxxx> wrote:
Yep, this is true. Boot the guest and cat /proc/partitions, it should reflect the increased disk size. If you have one partition on it start fdisk, delete the one partition (don't sweat it, just DO NOT reboot in the middle) and create a new one with the same number and starting cylinder (probably the default cylinder for both start and end). Now save and exit. You'll probably have to reboot the domU. Once rebooted do a resize2fs on the filesystem eg. resize2fs / and you're done. If you used LVM in the domU then you can resize the LV the same way you did on the dom0 and then resize2fs the filesystem. If however that one LV is used in the domU as a harddrive (/dev/xvda) and you have multiple partitions things get messier. Hopefully the partition you want to resize is the last one and you can just follow the instructions above. If it's in the middle you have a lot more work ahead. If you used LVM in the domU then you can resize the LV the same way you did on the dm0 and then resize2fs the filesystem. -- Grant McWilliams Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |