Hi, As the subject suggests, I was wondering if anyone knows how to resize the DomU LVM partition and the NTFS table inside the partition? I have done this on Linux DomUs fine but im guessing it is different for windows. Thanks Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ian, On 21 Jan 2010, at 13:31, Ian Tobin wrote:> Hi, > > As the subject suggests, I was wondering if anyone knows how to > resize the DomU LVM partition and the NTFS table inside the partition? > > I have done this on Linux DomUs fine but im guessing it is different > for windows. >The easiest would be: * resize LV * boot gparted live CD as a HVM domU * resize partition and filesysetem> IanThomas. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jan 21, 2010 at 12:31:37PM -0000, Ian Tobin wrote:> Hi, > > > > As the subject suggests, I was wondering if anyone knows how to resize the > DomU LVM partition and the NTFS table inside the partition? > > > > I have done this on Linux DomUs fine but im guessing it is different for > windows. > >If you need to resize non-boot partition, shutdown + restart the guest (to pick up the new disk size), and then run "diskpart" in dos prompt and select the non-boot partition, and run "extend". -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jan 21, 2010 at 7:31 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> As the subject suggests, I was wondering if anyone knows how to resize the > DomU LVM partition and the NTFS table inside the partition?> I have done this on Linux DomUs fine but im guessing it is different for > windows.the dom0 part (lvextend) is the same. Also you need to restart domU for it to pick up the size change. domU part is slightly different in its resizing method. You could either: - have windows extend it. IIRC vista and above can do it online even for boot drive. - use fdisk + kpartx + ntfsresize from dom0 while domU is down. This is what I like best for Windows 2003 and XP domUs. You could probably have parted do the work as well. - use livecd + gparted on domU, as Thomas suggested. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gparted works a treat, quick and easy :) Many thanks -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@fajar.net] Sent: 21 January 2010 13:49 To: Ian Tobin Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Resize Windows DomU partition On Thu, Jan 21, 2010 at 7:31 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> As the subject suggests, I was wondering if anyone knows how to resizethe> DomU LVM partition and the NTFS table inside the partition?> I have done this on Linux DomUs fine but im guessing it is differentfor> windows.the dom0 part (lvextend) is the same. Also you need to restart domU for it to pick up the size change. domU part is slightly different in its resizing method. You could either: - have windows extend it. IIRC vista and above can do it online even for boot drive. - use fdisk + kpartx + ntfsresize from dom0 while domU is down. This is what I like best for Windows 2003 and XP domUs. You could probably have parted do the work as well. - use livecd + gparted on domU, as Thomas suggested. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users