UTM icon indicating copy to clipboard operation
UTM copied to clipboard

"Failed to lock byte 100: Operation not supported" when opening utm image from network location

Open anvish2 opened this issue 7 months ago • 1 comments

Describe the issue

When *.utm image is located on smb share, it cannot be opened. Error is qemu-x86_64-softmmu: -drive if=none,media=disk,id=drive0,file.file-name=/Volumes/downloads/ReactOS.utm/Images/hdd.img,discard=unmap,detect-zeroes=unmap: Failed to lock byte 100: Operation not supported

Note that error window is covered with another error window saying "Internal error trying to connect to SPICE server."

Configuration

  • UTM Version: 4.6.5 (108)
  • macOS Version: 15.5
  • Mac Chip (Intel, M1, ...): M3

anvish2 avatar May 29 '25 19:05 anvish2

Same.

UTM 4.6.5 macOS 15.5 M1 iMac

noblesoul7 avatar Jun 05 '25 18:06 noblesoul7

Indeed, opening .utm directly from a network drive is not supported because, as stated, the image cannot be locked and therefore can be corrupted if it's being opened by two clients at once. I can look into adding an override option in Preferences that will bypass this check though.

osy avatar Jul 08 '25 05:07 osy