ittechlab
asked on
Linux virtualization
I am trying to clone a vm. I tried to copy the vm and trying dump the xml file.
Even though i have img file , I am getting error saying that domain node1-clone.img not found.
[root@Client-4 qemu]# cd /mnt/virtual/
[root@Client-4 virtual]# ls -l
total 53446968
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 dnsserver.img
-rw-r--r-- 1 root root 1 Nov 2 21:52 foo
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 KDC-Server.img
drwx------ 2 root root 16384 Oct 29 21:42 lost+found
-rw------- 1 qemu qemu 10737418240 Nov 2 21:54 NIS-Server.img
-rw------- 1 root root 10737418240 Nov 2 21:42 node1-clone.img
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 node1.img
-rw------- 1 root root 10737418240 Nov 2 21:51 node2.img
drwxr-xr-x 12 root root 4096 Oct 31 04:02 rhel6_3
-rw-r--r-- 1 qemu qemu 3679453184 Nov 2 03:36 rhel-server-6.3-x86_64-dvd .iso
[root@Client-4 virtual]#
[root@Client-4 virtual]#
[root@Client-4 virtual]# virsh dumpxml node1-clone.img > foo
error: failed to get domain 'node1-clone.img'
error: Domain not found: no domain with matching name 'node1-clone.img'
Even though i have img file , I am getting error saying that domain node1-clone.img not found.
[root@Client-4 qemu]# cd /mnt/virtual/
[root@Client-4 virtual]# ls -l
total 53446968
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 dnsserver.img
-rw-r--r-- 1 root root 1 Nov 2 21:52 foo
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 KDC-Server.img
drwx------ 2 root root 16384 Oct 29 21:42 lost+found
-rw------- 1 qemu qemu 10737418240 Nov 2 21:54 NIS-Server.img
-rw------- 1 root root 10737418240 Nov 2 21:42 node1-clone.img
-rw------- 1 qemu qemu 10737418240 Nov 2 21:53 node1.img
-rw------- 1 root root 10737418240 Nov 2 21:51 node2.img
drwxr-xr-x 12 root root 4096 Oct 31 04:02 rhel6_3
-rw-r--r-- 1 qemu qemu 3679453184 Nov 2 03:36 rhel-server-6.3-x86_64-dvd
[root@Client-4 virtual]#
[root@Client-4 virtual]#
[root@Client-4 virtual]# virsh dumpxml node1-clone.img > foo
error: failed to get domain 'node1-clone.img'
error: Domain not found: no domain with matching name 'node1-clone.img'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.