Bug 1027526 - RFE: Labels for logical partitions lost in Windows 2003 after virt-resize for primary partition
Summary: RFE: Labels for logical partitions lost in Windows 2003 after virt-resize for...
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-07 02:29 UTC by Xinglong Wu
Modified: 2021-04-19 10:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Xinglong Wu 2013-11-07 02:29:28 UTC
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:


Note You need to log in before you can comment on or make changes to this bug.