Description of problem: I'm using virt-resize to expand the primary partition (C:) in a Windows 2003 image. The command works fine but after expanding, when I boot into Windows 2003, all the other partitions (D:, E:, and F:) are lost. After using the disk management tool within Windows 2003, I can re-label the above three partitions and all the files are still there. But it is really annoying because every time you have to do some work by hand after expanding the disk size. Version-Release number of selected component (if applicable): Host OS: RHEL6.3 libguestfs: libguestfs-1.16.19-1.el6.x86_64 libguestfs-tools-c-1.16.19-1.el6.x86_64 libguestfs-winsupport-1.0-7.el6.x86_64 How reproducible: always Steps to Reproduce: 1. create a Windows 2003 VM with primary partition (C:) and one or more logical partitions (D:, E:, etc.) 2. use virt-resize to expand the parimary partition (C:) Actual results: after virt-resize and booting up Windows 2003, primary partitions are expanded as expected, but disk labels for logical partitions (D:, E:, etc.) are lost. All the files in logical partitions are OK, but I need to manually re-label the logical partitions. Expected results: after virt-resize and booting up Windows 2003, both primary and logical partitions should be correctly labeled without manual setup. Additional info:
Additional info from the mailing list: https://www.redhat.com/archives/libguestfs/2013-November/msg00012.html https://www.redhat.com/archives/libguestfs/2013-November/msg00013.html