[Libguestfs] Virt-v2v conversion issue

VONDRA Alain AVONDRA at unicef.fr
Wed Oct 15 12:22:06 UTC 2014


So, what action can I do to pass this problem ??
How can I make a better alignment of these partitions ?
Alain


-----Message d'origine-----
De : Richard W.M. Jones [mailto:rjones at redhat.com] 
Envoyé : mercredi 15 octobre 2014 14:09
À : VONDRA Alain
Cc : libguestfs at redhat.com
Objet : Re: [Libguestfs] Virt-v2v conversion issue


On Wed, Oct 15, 2014 at 12:03:26PM +0000, VONDRA Alain wrote:
> Rich,
> The results of the guestfish command :
> 
> ><fs> part-list /dev/sda
> [0] = {
>   part_num: 1
>   part_start: 1048576
>   part_end: 85906685951
>   part_size: 85905637376
> }
> ><fs> part-list /dev/sdb
> [0] = {
>   part_num: 1
>   part_start: 32256
>   part_end: 322126640639
>   part_size: 322126608384
> }
[etc]

Ah .. this does explain why the fstrim failed on every disk apart from /dev/sda.

My patches to implement fstrim in NTFS give up unless the partition is aligned sufficiently:

http://comments.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/1074

/dev/sda is sufficiently aligned, but the other 8 disks are not.

This is rather unfortunate for you because fstrim would undoubtedly have saved network bandwidth as well as making qemu-img do less.

At least that mystery is solved.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list