snf-image-creator qemu-nbd write lock issue

59 views
Skip to first unread message

Dimitris Maroulidis

unread,
Oct 20, 2018, 12:50:09 PM10/20/18
to synnef...@googlegroups.com

Hello,

I'm trying to use snf-image-creator and snf-mkimage to create an image
to upload to ~okeanos and I'm getting the following output.

RAN: '/usr/bin/qemu-nbd -c /dev/nbd0 -r
/home/dimitris/.snf_image_creator.RtsKLC/snapshot-c3bJRe'

STDOUT:


STDERR:
Failed to blk_new_open
'/home/dimitris/.snf_image_creator.RtsKLC/snapshot-c3bJRe': Failed to
get shared "write" lock
Is another process using the image?


I'm tried using an Ubuntu 18.04 server install on a qcow2 file, and the
official cloudimg as a raw img file from ubuntu.com as the input image
and the process is terminated during the md5 hash calculation. I'm
running the process on an Ubuntu 18.04 amd64 system with plenty of storage.

I've made sure that no one other than the executable is using the image
file by moving it to another location, and by running the command
immediately after I login to my PC, but to no avail.

--
Dimitris Maroulidis
President at Wyse Creative

PGP Key Fingerprint: 0x9A3AF9E170FC870FA3406D0A507892A78ADEC769
MiniLock ID: YtxUsikChj33QEau5GAcMzJ2UEwpTrJrMocD4uUGdNs7X


--
Dimitris Maroulidis
President at Wyse Creative

PGP Key Fingerprint: 0x9A3AF9E170FC870FA3406D0A507892A78ADEC769
MiniLock ID: YtxUsikChj33QEau5GAcMzJ2UEwpTrJrMocD4uUGdNs7X


signature.asc
Reply all
Reply to author
Forward
0 new messages