Nicolas Ecarnot
2014-Nov-10 19:28 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Le 10/11/2014 20:09, Richard W.M. Jones a écrit :>>> Matt - any ideas? >>> >>> There is also the new version of p2v/v2v available, although it >>> requires recent Fedora or RHEL/Centos 7.0. >> >> This is the last thing it does before unwinding: >> >> libguestfs: trace: cp "/transferxdTiHj/windows/rhev-apt.exe" "/Program >> Files/RedHat/V2V Firstboot" >> libguestfs: trace: cp = 0 >> >> So, maybe the guest is out of disk space, or has filesystem corruption? > > New v2v enforces a minimum free space on mountable fses which I don't > think was in the old version. If c:\ has less than 50 MB free it will > refuse to convert it. Use 'virt-df' to check. > > That said I would be surprised if the 'cp' succeeded but v2v crashed > suddenly because of insufficient space.Hello, Do I have to understand that : - I should perform a fsck on my guest filesystem before the P2V? - I should ensure there is enough available space on it? The partition I'm trying to convert is 50Go large, filled up with something like 40Go. Even with a big error margin, it seems comfortable. Before the P2V, I did no fsck, but I used to microsoft defrag tool (the old 2003 one). I'm not sure it also checks the filesystem integrity... - Finally, when you write about the "NEW" v2v, what version do you speak about? Is the one I used (0.9.1.2) not new enough? (I know it is not the very last, but quite decent though). Well, thank you for having answered. On this conversion, I have no choice but succeed. I also tried the old livecd+netcat+dd option, but the OS did not even boot, even if I copied the MBR and double check the special flag with an hex editor ("FF"). So I will keep trying until success. -- Nicolas Ecarnot
Richard W.M. Jones
2014-Nov-10 23:10 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Mon, Nov 10, 2014 at 08:28:53PM +0100, Nicolas Ecarnot wrote:> Le 10/11/2014 20:09, Richard W.M. Jones a écrit : > >>>Matt - any ideas? > >>> > >>>There is also the new version of p2v/v2v available, although it > >>>requires recent Fedora or RHEL/Centos 7.0. > >> > >>This is the last thing it does before unwinding: > >> > >>libguestfs: trace: cp "/transferxdTiHj/windows/rhev-apt.exe" "/Program > >>Files/RedHat/V2V Firstboot" > >>libguestfs: trace: cp = 0 > >> > >>So, maybe the guest is out of disk space, or has filesystem corruption? > > > >New v2v enforces a minimum free space on mountable fses which I don't > >think was in the old version. If c:\ has less than 50 MB free it will > >refuse to convert it. Use 'virt-df' to check. > > > >That said I would be surprised if the 'cp' succeeded but v2v crashed > >suddenly because of insufficient space. > > Hello, > > Do I have to understand that : > - I should perform a fsck on my guest filesystem before the P2V? > - I should ensure there is enough available space on it? > > The partition I'm trying to convert is 50Go large, filled up with > something like 40Go. Even with a big error margin, it seems > comfortable. > Before the P2V, I did no fsck, but I used to microsoft defrag tool > (the old 2003 one). I'm not sure it also checks the filesystem > integrity... > > - Finally, when you write about the "NEW" v2v, what version do you > speak about? Is the one I used (0.9.1.2) not new enough? (I know it > is not the very last, but quite decent though).The new version is 1.28, part of libguestfs. See: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html Rich.> Well, thank you for having answered. > On this conversion, I have no choice but succeed. > I also tried the old livecd+netcat+dd option, but the OS did not > even boot, even if I copied the MBR and double check the special > flag with an hex editor ("FF"). > > So I will keep trying until success. > > -- > Nicolas Ecarnot-- 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/
Richard W.M. Jones
2014-Nov-13 15:06 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Mon, Nov 10, 2014 at 08:28:53PM +0100, Nicolas Ecarnot wrote:> Le 10/11/2014 20:09, Richard W.M. Jones a écrit : > >>>Matt - any ideas? > >>> > >>>There is also the new version of p2v/v2v available, although it > >>>requires recent Fedora or RHEL/Centos 7.0. > >> > >>This is the last thing it does before unwinding: > >> > >>libguestfs: trace: cp "/transferxdTiHj/windows/rhev-apt.exe" "/Program > >>Files/RedHat/V2V Firstboot" > >>libguestfs: trace: cp = 0 > >> > >>So, maybe the guest is out of disk space, or has filesystem corruption? > > > >New v2v enforces a minimum free space on mountable fses which I don't > >think was in the old version. If c:\ has less than 50 MB free it will > >refuse to convert it. Use 'virt-df' to check. > > > >That said I would be surprised if the 'cp' succeeded but v2v crashed > >suddenly because of insufficient space. > > Hello, > > Do I have to understand that : > - I should perform a fsck on my guest filesystem before the P2V?Not AFAIK.> - I should ensure there is enough available space on it?There needs to be some space, but probably not very much. If the root filesystem has no free space at all, then virt-v2v cannot install the packages and files that it needs.> The partition I'm trying to convert is 50Go large, filled up with > something like 40Go. Even with a big error margin, it seems > comfortable.This is plenty.> Before the P2V, I did no fsck, but I used to microsoft defrag tool > (the old 2003 one). I'm not sure it also checks the filesystem > integrity... > > - Finally, when you write about the "NEW" v2v, what version do you > speak about? Is the one I used (0.9.1.2) not new enough? (I know it > is not the very last, but quite decent though).1.28.x here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Nicolas Ecarnot
2014-Nov-17 18:45 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Hello, Answers below : Le 13/11/2014 16:06, Richard W.M. Jones a écrit :>>>> This is the last thing it does before unwinding: >>>> >>>> libguestfs: trace: cp "/transferxdTiHj/windows/rhev-apt.exe" "/Program >>>> Files/RedHat/V2V Firstboot" >>>> libguestfs: trace: cp = 0 >>>> >>>> So, maybe the guest is out of disk space, or has filesystem corruption? >>> >>> New v2v enforces a minimum free space on mountable fses which I don't >>> think was in the old version. If c:\ has less than 50 MB free it will >>> refuse to convert it. Use 'virt-df' to check. >>> >>> That said I would be surprised if the 'cp' succeeded but v2v crashed >>> suddenly because of insufficient space. >> >> Hello, >> >> Do I have to understand that : >> - I should perform a fsck on my guest filesystem before the P2V? > > Not AFAIK.Well, anyway, on the source, I forced a fsck, then tried again, with no improvement.>> - Finally, when you write about the "NEW" v2v, what version do you >> speak about? Is the one I used (0.9.1.2) not new enough? (I know it >> is not the very last, but quite decent though). > > 1.28.x here: > https://www.redhat.com/archives/libguestfs/2014-May/msg00090.htmlI am using libguestfs through oVirt 3.4 (RHEV), and whoever knows this project knows how intricated the packages are. As this is a production environment, I can not play with trying to change libguestfs on the oVirt manager. But I would be enthusiastic to install a dedicated P2V server, on RH7, with the very last libguestfs, if that helps me to insure our future P2V will succeed. But according to what I understood so far, I'm not sure one can install such a P2V server, independent of any oVirt setup. As a matter of fact, I'll be glad to test the last libguestfs version, but I don't know where I could use it? -- Nicolas Ecarnot
Apparently Analagous Threads
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411