I want to attach Ceph rbd block image to running VM. I can attach img1 by editing vm xml so all works here. But i want to make it live attach.
Pool and image are visible from host lvl
# virsh pool-list
Name State Autostart
-------------------------------------------
data-hdd active no
local active yes
#
# virsh vol-list --details data-hdd
Name Path Type Capacity Allocation
---------------------------------------------------------------------------
img1 data-hdd/img1 network 10.00 GiB 10.00 GiB
#
# virsh attach-disk testvm data-hdd/img1 sdb
error: Failed to attach disk
error: Cannot access storage file 'data-hdd/img1': No such file or directory
I was trying to multiple driver/subdriver/type - but no luck
How to attaach CEPH rbd volume to running VM?