Package: nbd-server
Version: 1:2.9.9-6
Severity: normal

tried the copy-on-write support in nbd-server (-c)... and it would mount
the filesystem and create the diff file, but would refuse to mount it
read-write:

 nbd-client 127.0.0.1 2000 /dev/nbd0
 Negotiation: ..size = 550000KB
 bs=1024, sz=550000

 mount /dev/nbd0 /mnt
 mount: block device /dev/nbd0 is write-protected, mounting read-only

all the files are there, but it's read-only.

nbd server is running from inetd, using a wrapper that calls it like so:

 nbd-server 0 /opt/ltsp/images/i386.img -c -C /dev/null

/opt/ltsp/images/i386.img-127.0.0.1-2377.diff is created writeable by
the user...

then i tried from the commandline:

 nbd-server 2000 /opt/ltsp/images/i386.img -c -C /dev/null

and i was able to mount and write to the nbd device.


thanks for maintaining nbd!

live well,
  vagrant



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to