|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Managing DomU partitions in XEN+LVM systems?
Derek wrote:
> disk = [ 'phy:/dev/mapper/main-root_disk_winxp,hda,w' , ... others ... ]
> That would seem trivial to do, from within dom0 (while the domU is not
> running of course.) Just use:
> - lvextend to enlarge the volume
> - fdisk (or parted) to enlarge the partition
> - ntfsresize to enlarge the filesystem
>
> The first two steps work flawlessly. The third step is problematic,
> because ntfsresize wants to be told the device path to the _partition_,
> not to the _whole_disk_.
Yo can either use kpartx (comes with mulitpath tools) to create device
mapper mappings for the partitions or use something like
xm block-attach 0 "phy:grp/vol" xvda w
to access the volume as virtual disk in domain zero (/dev/xvda1 is your
partition then).
HTH,
Gerd
--
Gerd Hoffmann <kraxel@xxxxxxx>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|