[Libguestfs] Windows P2V migration temporary recipe

Greg Scott GregScott at Infrasupport.com
Wed Nov 23 22:54:20 UTC 2011


> On your RHEL 6 system, try:
>
> rpm -qf /var/lib/virt-v2v/software/windows/*

Well this is interesting.  All I have to go on is memory, but I could have sworn those files were not there before installing libguestfs-winsupport.  But my memory disagrees with the evidence below.  

Sure enough - removing libguestfs-winsupport makes no difference with that windows directory.  Removing virt-v2v deletes it.  And then adding virt-v2v back in recreates it.

I'll update that howto recipe.

[root at mgrhost ~]# cd /var/lib/virt-v2v
[root at mgrhost virt-v2v]# cd software
[root at mgrhost software]# ls
windows
[root at mgrhost software]# ls -R -al
.:
total 12
drwxr-xr-x. 3 root root 4096 Nov 22 10:39 .
drwxr-xr-x. 3 root root 4096 Jun 23 05:53 ..
drwxr-xr-x. 2 root root 4096 Jun 23 05:53 windows

./windows:
total 4304
drwxr-xr-x. 2 root root    4096 Jun 23 05:53 .
drwxr-xr-x. 3 root root    4096 Nov 22 10:39 ..
-rw-r--r--. 1 root root     994 Feb 14  2011 firstboot.bat
-rw-r--r--. 1 root root 4324584 Feb 14  2011 rhev-apt.exe
-rw-r--r--. 1 root root   68928 Feb 14  2011 rhsrvany.exe
[root at mgrhost software]# rpm -qf /var/lib/virt-v2v/software/windows/*
virt-v2v-0.7.1-3.el6.x86_64
virt-v2v-0.7.1-3.el6.x86_64
virt-v2v-0.7.1-3.el6.x86_64
[root at mgrhost software]#
[root at mgrhost software]#
[root at mgrhost software]# rpm -qa | grep libguestfs-winsupport
libguestfs-winsupport-1.0-7.el6.x86_64
[root at mgrhost software]# ls windows -al
total 4304
drwxr-xr-x. 2 root root    4096 Jun 23 05:53 .
drwxr-xr-x. 3 root root    4096 Nov 22 10:39 ..
-rw-r--r--. 1 root root     994 Feb 14  2011 firstboot.bat
-rw-r--r--. 1 root root 4324584 Feb 14  2011 rhev-apt.exe
-rw-r--r--. 1 root root   68928 Feb 14  2011 rhsrvany.exe
[root at mgrhost software]# rpm -e libguestfs-winsupport
[root at mgrhost software]# ls windows -al
total 4304
drwxr-xr-x. 2 root root    4096 Jun 23 05:53 .
drwxr-xr-x. 3 root root    4096 Nov 22 10:39 ..
-rw-r--r--. 1 root root     994 Feb 14  2011 firstboot.bat
-rw-r--r--. 1 root root 4324584 Feb 14  2011 rhev-apt.exe
-rw-r--r--. 1 root root   68928 Feb 14  2011 rhsrvany.exe
[root at mgrhost software]#

- Greg




More information about the Libguestfs mailing list