Read-only iscsi disk? Or hot-plug?

Paul van der Vlis paul at vandervlis.nl
Mon Sep 7 08:07:29 UTC 2020


Hello,

I have an iSCSI disk with a backup. I want to use that backup on another
machine to test putting back data.

What I use now is this:
----
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='directsync' io='native'/>
      <source dev='/dev/disk/by-id/scsi-36e843b6afdddf65dc4e9d4dc2dab66de'/>
      <target dev='vdh' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0c'
function='0x0'/>
    </disk>
----

Is it possible to do this read-only?

What I also could do is to hot-unplug the disk at the production
machine, and then hot-plug it at the test-machine. But the machines are
Windows, and I don't know Windows well.

With regards,
Paul



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/




More information about the libvirt-users mailing list