I'm unable to detach a disk from a Windows guest using the 'virsh detach-disk' command.

Even though 'domblklist' shows the disk attached, and on the FIRST iteration, it says the command "completed successfully," 'domblklist will still show the disk attached and subsequent 'detach-disk' commands fail with 'no disk found whose source path or target is ${location}'



~ # virsh domblklist 31907-1063435
Target     Source
------------------------------------------------
vda        ${concatenated}/31907-1063435/2018-04-28-190529
vdb ${concatenated}/31907-67863/2018-03-21-033216.2018-04-28-190529

~ # virsh detach-disk --domain 31907-1063435 /var/lib/libvirt/images/instances/31907-67863/2018-03-21-033216.2018-04-28-190529 --persistent error: No disk found whose source path or target is /var/lib/libvirt/images/instances/31907-67863/2018-03-21-033216.2018-04-28-190529



Any ideas as to why this happens?


--
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://blog.drenet.net
PGP key   - http://www.drenet.net/pubkey.html
-=-=-=-=-=-

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to