tag:blogger.com,1999:blog-6645400723413928790.post1296148534757593009..comments2024-02-08T02:42:59.748+01:00Comments on Elasticity: Multipath Failover Simulation with QEMUddisshttp://www.blogger.com/profile/04290801977788838499noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6645400723413928790.post-60618230356797002292021-05-17T11:34:45.327+02:002021-05-17T11:34:45.327+02:00In my case lock error was resolved by checking opt...In my case lock error was resolved by checking option: "shared"dpaktamanghttps://www.blogger.com/profile/16956183497745069926noreply@blogger.comtag:blogger.com,1999:blog-6645400723413928790.post-13586308310035934582019-07-25T13:10:48.325+02:002019-07-25T13:10:48.325+02:00Thanks Martin! I'll update the page with this ...Thanks Martin! I'll update the page with this information.ddisshttps://www.blogger.com/profile/04290801977788838499noreply@blogger.comtag:blogger.com,1999:blog-6645400723413928790.post-54428288394452113052019-07-23T15:57:49.564+02:002019-07-23T15:57:49.564+02:00After some searching I found the file.locking=off ...After some searching I found the file.locking=off option, which makes it work on my QEMU 2.12.0:<br /><br /> -device virtio-scsi-pci,id=scsi \<br /> -drive if=none,id=hda,file=$HDA,cache=none,format=raw,file.locking=off \<br /> -device scsi-hd,drive=hda,serial=MPIO \<br /> -drive if=none,id=hdb,file=$HDA,cache=none,format=raw,file.locking=off \<br /> -device scsi-hd,drive=hdb,serial=MPIO \<br /><br />Also, to prevent a deprecation warning,the serial option is moved from -drive to -device.<br /><br />Disclaimer: I am only using this on a throwaway testing machine, no valuable data.<br />Martin Vidnerhttps://www.blogger.com/profile/08755880808140601974noreply@blogger.comtag:blogger.com,1999:blog-6645400723413928790.post-73531620821095982232019-04-30T12:32:09.935+02:002019-04-30T12:32:09.935+02:00Yes, I noticed the same with recent QEMU versions....Yes, I noticed the same with recent QEMU versions. I'll update this post when I have a fix / workaround for this.<br /><br />Thanks for the feedback!ddisshttps://www.blogger.com/profile/04290801977788838499noreply@blogger.comtag:blogger.com,1999:blog-6645400723413928790.post-64600543188940834682019-04-17T19:32:58.253+02:002019-04-17T19:32:58.253+02:00Hm, this doesn't seem to work any more.... I g...Hm, this doesn't seem to work any more.... I get error that qemu-system-x86_64 cannot get a write lock on the image.Anonymousnoreply@blogger.com