Bug 1027526 - RFE: Labels for logical partitions lost in Windows 2003 after virt-resize for primary partition
RFE: Labels for logical partitions lost in Windows 2003 after virt-resize for...
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2013-11-06 21:29 EST by Xinglong Wu
Modified: 2014-09-07 19:14 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Xinglong Wu 2013-11-06 21:29:28 EST
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             

How reproducible:

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.