[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] what does virt-v2v check for in a multiboot os?



Ok, I was able to do this from the export storage domain (hence the
funky vm name), mounting the nfs share:

[root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# ls -l
total 31471344
-rw-r--r--. 1 nobody nobody 32226647040 Jan 26 12:52
5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e
-rw-r--r--. 1 nobody nobody         324 Jan 26 08:45
5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e.meta
[root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# virt-inspector
5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
windows i386 5.2 (Microsoft Windows Server 2003) on /dev/sda1:
  Mountpoints:
    /dev/sda1                      /
  Filesystems:
    /dev/sda1:
      type: ntfs
      content: windows-root
  Applications:


root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]#  guestfish --ro -a
5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help with commands
      'quit' to quit the shell

><fs> run
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
><fs> list-filesystems
list-filesystems: unknown command
><fs> list-devices
/dev/vda
><fs> list-partitions
/dev/vda1
><fs> mount -ro /dev/vda1 /
mount should have 2 parameter(s)
type 'help mount' for help on mount
><fs> mount-ro /dev/vda1 /
><fs> ll /
total 2097086
drwxrwxrwx  1 root root       8192 Jan 26 17:51 .
dr-xr-xr-x 20 root root          0 Jan 26 18:01 ..
-rwxrwxrwx  2 root root       1024 Aug 25  2009 .rnd
-rwxrwxrwx  1 root root          0 Mar 31  2009 AUTOEXEC.BAT
-rwxrwxrwx  1 root root        206 Jan 24 18:12 BOOT.BAK
drwxrwxrwx  1 root root          0 Jan 13 01:01 Backup Exec AOFO Store
-rwxrwxrwx  1 root root          0 Mar 31  2009 CONFIG.SYS
drwxrwxrwx  1 root root       4096 Jan 25 20:12 Config.Msi
drwxrwxrwx  1 root root       4096 Jan 13 16:26 Documents and Settings
drwxrwxrwx  1 root root    1232896 Jan 24 21:44 I386
-rwxrwxrwx  1 root root          0 Mar 31  2009 IO.SYS
-rwxrwxrwx  1 root root          0 Mar 31  2009 MSDOS.SYS
-rwxrwxrwx  1 root root      47772 Feb 18  2007 NTDETECT.COM
drwxrwxrwx  1 root root       4096 Jan 13 15:40 Program Files
drwxrwxrwx  1 root root          0 Jun 29  2010 RECYCLER
drwxrwxrwx  1 root root          0 Mar 31  2009 System Volume Information
-rwxrwxrwx  1 root root      22870 Mar 11  2007 TZupdate.reg
-rwxrwxrwx  2 root root         65 May  5  2010 TrackitAudit.id
drwxrwxrwx  1 root root     131072 Jan 26 17:51 WINDOWS
-rwxrwxrwx  1 root root      69751 Jul 20  2009 avremove.log
-rwxrwxrwx  1 root root        255 Jan 25 20:22 boot.ini
-rwxrwxrwx  2 root root        297 Jan 24 18:12 boot.old.txt
-rwxrwxrwx  1 root root      94720 Feb 18  2007 msizap.exe
-rwxrwxrwx  1 root root      47956 Jun 23  2010 netstat.txt
-rwxrwxrwx  1 root root      39163 Jun 23  2010 netstat2.txt
-rwxrwxrwx  1 root root     297072 Feb 18  2007 ntldr
-rwxrwxrwx  1 root root 2145386496 Jan 25 20:36 pagefile.sys
drwxrwxrwx  1 root root          0 Jan 26 17:50 temp
drwxrwxrwx  1 root root          0 Mar 31  2009 wmpub

><fs> umount /
><fs>

[root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# rpm -qa | grep virt-v2v
virt-v2v-0.6.2-4.el6.x86_64
[root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# rpm -qa | grep libguestfs
libguestfs-winsupport-1.0-5.el6.x86_64
libguestfs-1.2.7-1.24.el6.x86_64
perl-libguestfs-1.2.7-1.24.el6.x86_64
libguestfs-mount-1.2.7-1.24.el6.x86_64
libguestfs-tools-1.2.7-1.24.el6.x86_64
[root rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# rpm -qa | grep virtio-win
virtio-win-1.1.16-0.el6.noarch

-Kenny

On Wed, Jan 26, 2011 at 11:17 AM, Kenneth Armstrong <digimars gmail com> wrote:
> Along with the fact that I'm running straight Red Hat stuff here, and
> if I want support to help me out, I need to be running Red Hat
> supported tools.  ;)
>
> -Kenny
>
> On Wed, Jan 26, 2011 at 11:10 AM, Richard W.M. Jones <rjones redhat com> wrote:
>> On Thu, Jan 27, 2011 at 01:36:13AM +1100, Justin Clift wrote:
>>> On 27/01/2011, at 1:31 AM, Kenneth Armstrong wrote:
>>> > Sorry, forgot to CC list.
>>> >
>>> > Ok, is there a way to use virt-v2v (or something else) to just copy
>>> > off of esx and not convert it?  I ask because when it fails, the
>>> > imported vm is automagically deleted from the nfs export domain (I
>>> > assume by either RHEV or the virt-v2v tool).
>>>
>>> Probably a long shot, but have you looked at vmware2libvirt?
>>>
>>>   http://libvirt.org/apps.html#conversion
>>
>> vmware2libvirt just writes a libvirt configuration file.
>>
>> V2V is way more complex than that and involves deep modifications to
>> the guest, which is what virt-v2v does and why it's such a large
>> program.
>>
>> Rich.
>>
>> --
>> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
>> virt-df lists disk usage of guests without needing to install any
>> software inside the virtual machine.  Supports Linux and Windows.
>> http://et.redhat.com/~rjones/virt-df/
>>
>> _______________________________________________
>> virt-tools-list mailing list
>> virt-tools-list redhat com
>> https://www.redhat.com/mailman/listinfo/virt-tools-list
>>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]