[libvirt-users] Possible to resize a Windows guest's disk while online?

Martin Kletzander mkletzan at redhat.com
Tue Apr 17 13:56:42 UTC 2018


On Wed, Apr 11, 2018 at 01:30:26PM -0400, Andre Goree wrote:
>I'm looking for a way to online resize a Windows disk -- i.e., be able
>to resize the disk without shutting down, rebooting, or detaching the
>disk.
>

virsh blockresize $domain $disk $size

and then resize the disk in the disk managing utility inside the guest.  I don't
thinkg qemu-guest-agent can do that for you.

>Is this at all possible?  Or am I just barking up the wrong tree?  I'm
>not finding a way to do this and even Amazon has a weird workaround, in
>which the user must write data to the newly resized-drive in order to
>recognize the new size without taking the disk or the VM offline.
>
>[Obligatory] YAY Microsoft.
>
>
>-- 
>Andre Goree
>-=-=-=-=-=-
>Email     - andre at drenet.net
>Website   - http://blog.drenet.net
>PGP key   - http://www.drenet.net/pubkey.html
>-=-=-=-=-=-
>
>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180417/0e2b4dfe/attachment.sig>


More information about the libvirt-users mailing list