<![CDATA[Forum Ubuntu-fr.org / Problème lors de la réinstallation du VM avec virt-install]]> http://forum.ubuntu-fr.org/viewtopic.php?id=1177391 Wed, 30 Jan 2013 18:09:51 +0000 FluxBB <![CDATA[Réponse à : Problème lors de la réinstallation du VM avec virt-install]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12401181#p12401181 Merci Elder pour ta réponse.

J'ai finalement trouvé ma solution avec les commendes de suppression :

virsh # destroy kvm1
Domaine kvm1 détruit
undefine kvm1
Le domaine kvm1 a été supprimé
]]>
Wed, 30 Jan 2013 18:09:51 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12401181#p12401181
<![CDATA[Réponse à : Problème lors de la réinstallation du VM avec virt-install]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12339151#p12339151 Salut,

Si virt-install est présent virsh doit y être aussi. Dans ce cas :

root@xxxxxx:~# virsh -c qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 1     imgsrv                         running
 2     ubdc                           running
 3     Win2k3                         running
 6     shinenv                        running
 -     BT5                            shut off
 -     Centos6                        shut off
 -     FREENAS                        shut off
 -     OpenSuse12-1                   shut off
 -     Os-tcenv                       shut off
 -     ubuntu1204                     shut off
 -     Wheezy                         shut off
 -     Windows2003                    shut off
 -     Windows7                       shut off
 -     zenoss                         shut off

Ton "''kvm1''" doit y être listé.
Pour le supprimer (je vire la vm zenoss pour l'exemple)

root@xxxxxx:~# virsh -c qemu:///system undefine zenoss
Domain zenoss has been undefined

root@xxxxxx:~# virsh -c qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 1     imgsrv                         running
 2     ubdc                           running
 3     Win2k3                         running
 6     shinenv                        running
 -     BT5                            shut off
 -     Centos6                        shut off
 -     FREENAS                        shut off
 -     OpenSuse12-1                   shut off
 -     Os-tcenv                       shut off
 -     ubuntu1204                     shut off
 -     Wheezy                         shut off
 -     Windows2003                    shut off
 -     Windows7                       shut off

Le ou les disques virtuels ne sont pas supprimés.

I hope it helps

]]>
Fri, 25 Jan 2013 12:32:02 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12339151#p12339151
<![CDATA[Problème lors de la réinstallation du VM avec virt-install]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12321011#p12321011 Bonsoir,

j'ai essayé d'installer une VM mais n'ayant pas encore installé xming sur mon poste, j'ai du relancer l'installation. Mais visiblement il a gardé des choses en mémoire.

Voici la commande que je lance :

virt-install -n kvm1 -r 256 --os-type=linux --os-variant=ubuntulucid  --disk /dev/vg_data/kvm1,device=disk,bus=virtio  -w bridge=br0,model=virtio --vnc --noautoconsole -c  /home/alain/kvm/ubuntu-12.10-server-amd64.iso

et voilà le message d'erreur :

ERROR    Le nom d'invité « kvm1 » est déjà  utilisé.

Savez-vous comment je peux annuler ma dernière commande d'installation ?

Merci pour votre aide.

PS : Linux NameServeur 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

]]>
Wed, 23 Jan 2013 21:46:17 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12321011#p12321011