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] Resize Windows DomU partition

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Resize Windows DomU partition
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Thu, 21 Jan 2010 16:21:18 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Jan 2010 08:21:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: <039E0B4AA9103344A80DA55DDDC76A932397F3@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f1001210548y42c8363o6a6689402dff166c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqaoHQ4eYtysaB2RQepev13eQcMWwAFUMcg
Thread-topic: [Xen-users] Resize Windows DomU partition
Gparted works a treat, quick and easy :)

Many thanks

-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx] 
Sent: 21 January 2010 13:49
To: Ian Tobin
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Resize Windows DomU partition

On Thu, Jan 21, 2010 at 7:31 PM, Ian Tobin <itobin@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>