Hi,
recently I updated my QubesOS 4.2.4 to 4.3 in-place. Done all the steps and everything worked so far. What I need to do is attaching a loop device from a qube to dom0. This worked before on Qubes 4.2.4. I just ran qvm-block attach dom0 targetVM:loop1. It gave no output but it was attached.
When I do this now in my 4.3 QubesOS, it indeed runs and exits without errors but the loop device is not attached. What changed? Can we somehow overcome this? I know it can be a security risk but in this case I need this really!
Edit: I tried it with a simple USB thumbdrive: qvm-block attach sys-usb:sda worked perfectly.
I need to attach a loop-device from another qube this seems not to work
Thanks!
Could you open a second terminal in dom0, have sudo journalctl -f running there and then try to attach that block device? Some error may show up then in that second terminal.
Have you considered to attach the dm device to another qube instead of dom0? Would this enable you to accomplish what you are attempting to do? If not, why not?
Yes, tried that and works perfectly. only for dom0 as target it does not work. I MUST mount the loop device to dom0 it is some custom script to do my daily work, doesn’t matter really
tried it for several hours now… this is really frustrating… it worked just perfectly before but now somehow xen seems to be more restrictive or something like that I really don’t know. I updated everything and still same issue. journalctl and dmesg only tell me
dom0 kernel: vbd vbd-51840: xenbus: device forcefully removed from xenstore
This always happen when I run:
qvm-block attach dom0 sourceVM:loop0
with --ro it works but I need write permissions. Attaching with write permissions into another VM works, but I need to attach to dom0. Using other loop numbers does not change anything.
There is probably another way (or two) that you could accomplish what you are trying to do that is different than how you are currently trying to do it.
There is probably another way (or two) that you could accomplish what you are trying to do that is different than how you are currently trying to do it.
I splitted veracrypt to load a VM pool from a veracrypt container file. So I must attach the loop device to dom0.
Is there anything interesting in the journal/dmesg in the source VM when this happens?