Unable to detach disk using 'virsh detach-disk'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux