Bug 887826

Summary: RFE: virt-sparsify cannot handle multi-disk virtual machines (eg. if they use LVM, MD, LDM, etc)
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2012-12-17 12:22:53 UTC
Description of problem:

virt-sparsify takes 'indisk' and 'outdisk' parameters.  This
is a problem for multi-disk virtual machines, especially ones
using LVM, MD, LDM or other volume management where a single
filesystem might be spread over multiple disks.

I have a 3 disk Windows VM using LDM that simply cannot be
sparsified properly, because it's not possible to mount the
LDM partitions that take up the majority of the disk space.

Version-Release number of selected component (if applicable):

libguestfs 1.21.0

Comment 1 Richard W.M. Jones 2012-12-17 12:43:27 UTC
I documented the problem upstream:
https://github.com/libguestfs/libguestfs/commit/6f02e33c6fbf2f14ba11ef07cb078ad6f6b2fea3
(Note this is just documentation, NOT a fix)