Hi Sven,
Have you tried qemu-img?
----- Original Message -----
> ----- Original Message -----
> > From: "Sven Knohsalla" <s.knohsalla(a)netbiscuits.com>
>
> > To: users(a)ovirt.org
>
> > Sent: Thursday, August 23, 2012 5:48:45 PM
>
> > Subject: [Users] How to resize physical disk size with virt-p2v
>
> > Hi,
>
> > we’re currently using oVirt engine3.0 and have about 50 VMs
> > successfully running ( thanks for your great work!!)
>
> > At the moment we do migrate ESX/KVM VMs and baremetal servers to
> > oVirt.
>
> > For p2v migration we’re using virt-p2v 0.87 (iso created from rpm
> > virt-p2v-image-builder)
>
> > Migration is working fine, but the vdisk size is accordingly to
> > original physical hdd size.
>
> > For example:
>
> > Server with 500 GB HDD size, partitions (swap,/,boot) shrinked to
> > ~50
> > GB.
>
> > (df –h will show only 50 GB for / )
>
> > First I thought, shrinking partitions of the server will help out,
>
> > But unfortunately, the tool is using the whole hard disk space to
> > convert (using dd ?)
>
> > …and so we have a successfully migrated VM in oVirt with 500GB vHDD
> > size.
>
> > Is there any way or alternative software we can use for P2V
> > migration?
>
> > Thanks in advance,
>
> > Sven.
>
> > Sven Knohsalla | Systems Administration
>
> > Netbiscuits - Enabling the mobile experience .
>
> > Update: Netbiscuits is hiring mobile specialists in sales,
> > marketing
> > and development
>
> > Recent awards & accolades
>
> > Mobile Entertainment Award Winner 2011
>
> > Deloitte Technology Fast 50 2011, ranked #28
>
> > Frost & Sullivan Best Practices Award 2011
>
> > Beschreibung: Beschreibung: Beschreibung:
> >
http://www.netbiscuits.com/image/image_gallery?uuid=45e4676e-f783-42c7-8e...:
> > Beschreibung: Beschreibung:
> >
http://www.netbiscuits.com/image/image_gallery?uuid=5126cc7e-90cb-4173-bd...
>
> > Register Court: Local Court Kaiserslautern | Commercial Register
> > ID:
> > HR B 3604
>
> > Management Board: Guido Moggert, Michael Neidhoefer, Christian
> > Reitz,
> > Martin Suess
>
Hi,
Maybe you can try using clonezilla to only export the partitions of your physical machine.
Unless they take the full disk of course.
Vincent