[Gllug] Removing Xen Domains

Daniel P. Berrange dan at berrange.com
Fri Mar 7 21:25:20 UTC 2008


On Fri, Mar 07, 2008 at 09:15:12PM +0000, Stephen Nelson-Smith wrote:
> Hi,
> 
> I started created a Xen instance using virt-install, but aborted early
> in the process.  I specified a name on the commandline, and tried to
> use the same command to try again, with some different settings.
> 
> I got::
> 
> ERROR:  Domain named vzircon already exists!
> 
> I tried xm destroy, and destroy from virsh, but each time I get the same error.
> 
> Any idea what I can do to get rid of the record of this aborted install?

virsh destroy   kills off a running domain. You also need to remove
the config file, using  'virsh undefine NAME-OF-GUEST'.

You can see all defined, but not running configs, using 

   virsh list --all

Or

    virsh list --inactive


Regards,
Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list