<tt><font size=2>> On 01/21/2013 03:43 PM, jurgen.depicker@let.be wrote:<br>
> > Dear all,<br>
> > I created some snapshots, a long time ago, using the xml description
<br>
> > option, so the snapshots have a name with a space in it...<br>
> > Really a bad choice apparently, since it seems impossible to
delete them <br>
> > now: I cannot find how to enter the snapshot name properly due
to the <br>
> > space.  Quotes don't seem to help; escaping the space doesn't
help either.<br>
> > Anybody knows how to solve this?<br>
> > eg:<br>
> > snapshot-delete DOMINO1-prealloc --snapshotname 'W2K3-virgin
install'<br>
> <br>
> What version of libvirt are you using?  And is this within the
virsh<br>
> batch mode, or from the command line?</font></tt>
<br><tt><font size=2>root@VLET3:~# virsh --version</font></tt>
<br><tt><font size=2>0.8.3</font></tt>
<br><tt><font size=2>(ubuntu 10.10 : I cannot upgrade it right now; I need
to wait at least a month but need to remove the snapshots since I run out
of disk space...)</font></tt>
<br><tt><font size=2>The error happens both on command-line and batch mode.</font></tt>
<br><tt><font size=2><br>
> <br>
> > error: Domain snapshot not found: no snapshot with matching name
<br>
> > ''W2K3-virgin'<br>
> > (-> notive also the extra ' added )<br>
> <br>
> That's not supposed to happen; quoting of spaces is supposed to mimic<br>
> shell quoting, so that you can use arguments with spaces in both command<br>
> line and batch mode.  To test:<br>
> <br>
> # virsh echo two  spaces<br>
> two spaces<br>
> # virsh echo 'two  spaces'<br>
> two  spaces</font></tt>
<br>
<br><tt><font size=2>root@VLET3:~# virsh echo two  spaces</font></tt>
<br><tt><font size=2>error: unknown command: 'echo'</font></tt>
<br><tt><font size=2><br>
So, or I pray that my 20G remaining will suffice for one more month, or
maybe someone knows how to rename a snapshot, or edit some config file
where that name is configured?</font></tt>
<br>
<br><tt><font size=2>I am very very sorry to see that this bug was solved
in later versions... but I really cannot upgrade that server now...</font></tt>
<br>
<br><tt><font size=2>Grts, J</font></tt>