Package: xen-tools
Version: 2.3-0

The things which have been done for  bug #383058, the possibility to create
an image without swap lead to errors in the xen-delete-image script.

A way is needed to detect if the existing image has a swap, and only
try deleting it if
it exists - otherwise the delete operation seems to stop with an error
and the lvm volume with the -disk needs to be deleted manually.

Maybe I'll find time to see if I have an idea how this can be achieved
later that weekend. (maybe just grepping for "swap" in the config
file?

At least it should be easy to do it if the --noswap is given manually.
At the moment with or without noswap it looks like this:

filet:~# xen-delete-image --noswap faitest-client-generic-hvm
Unknown option: noswap
Running command 'lvremove /dev/data/faitest-client-generic-hvm-swap
--force >/dev/null 2>/dev/null' failed.
Aborting

Henning


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to