Displaying 20 results from an estimated 10000 matches similar to: "Re: Provide NBD via Browser over Websockets"
2020 May 28
0
Re: Provide NBD via Browser over Websockets
On Thu, May 28, 2020 at 12:24:22AM +0000, Eric Wheeler wrote:
> On Mon, 15 Oct 2018, Nir Soffer wrote:
> > On Sat, Oct 13, 2018 at 9:45 PM Eric Wheeler <nbd@lists.ewheeler.net> wrote:
> > Hello all,
> >
> > It might be neat to attach ISOs to KVM guests via websockets. Basically
> > the browser would be the NBD "server" and an
2020 May 29
0
Re: Provide NBD via Browser over Websockets
On Fri, May 29, 2020 at 07:50:14AM -0500, Eric Blake wrote:
> [adding qemu list]
>
> On 5/29/20 4:37 AM, Richard W.M. Jones wrote:
> > Going back to the original email from 2018:
> >
> > > It might be neat to attach ISOs to KVM guests via websockets. Basically
> > > the browser would be the NBD "server" and an NBD client would run on the
2020 May 29
0
Re: Provide NBD via Browser over Websockets
Going back to the original email from 2018:
> It might be neat to attach ISOs to KVM guests via websockets. Basically
> the browser would be the NBD "server" and an NBD client would run on the
> hypervisor, then use `virsh change-media vm1 hdc --insert /dev/nbd0` could
> use an ISO from my desk to boot from.
>
> Here's an HTML5 open file example:
>
2020 May 28
2
Re: Provide NBD via Browser over Websockets
On Mon, 15 Oct 2018, Nir Soffer wrote:
> On Sat, Oct 13, 2018 at 9:45 PM Eric Wheeler <nbd@lists.ewheeler.net> wrote:
> Hello all,
>
> It might be neat to attach ISOs to KVM guests via websockets. Basically
> the browser would be the NBD "server" and an NBD client would run on the
> hypervisor, then use `virsh change-media vm1 hdc
2020 May 28
3
Re: Provide NBD via Browser over Websockets
On Thu, 28 May 2020, Richard W.M. Jones wrote:
> On Thu, May 28, 2020 at 12:24:22AM +0000, Eric Wheeler wrote:
> > On Mon, 15 Oct 2018, Nir Soffer wrote:
> > > On Sat, Oct 13, 2018 at 9:45 PM Eric Wheeler <nbd@lists.ewheeler.net> wrote:
> > > Hello all,
> > >
> > > It might be neat to attach ISOs to KVM guests via websockets.Â
2020 May 29
2
Re: Provide NBD via Browser over Websockets
[adding qemu list]
On 5/29/20 4:37 AM, Richard W.M. Jones wrote:
> Going back to the original email from 2018:
>
>> It might be neat to attach ISOs to KVM guests via websockets. Basically
>> the browser would be the NBD "server" and an NBD client would run on the
>> hypervisor, then use `virsh change-media vm1 hdc --insert /dev/nbd0` could
>> use
2020 May 30
0
Re: Provide NBD via Browser over Websockets
On Fri, May 29, 2020 at 09:08:29PM +0000, Eric Wheeler wrote:
> On Fri, 29 May 2020, Richard W.M. Jones wrote:
> > On Fri, May 29, 2020 at 08:58:06AM -0500, Eric Blake wrote:
> > > On 5/29/20 8:50 AM, Daniel P. Berrangé wrote:
> > >
> > > >>>(2) You need to persuade qemu's NBD client to read from a WebSocket.
> > > >>>I
2020 May 29
2
Re: Provide NBD via Browser over Websockets
On Fri, 29 May 2020, Richard W.M. Jones wrote:
> On Fri, May 29, 2020 at 08:58:06AM -0500, Eric Blake wrote:
> > On 5/29/20 8:50 AM, Daniel P. Berrangé wrote:
> >
> > >>>(2) You need to persuade qemu's NBD client to read from a WebSocket.
> > >>>I didn't really know anything about WebSockets until today but it
> > >>>seems as if
2020 May 29
0
Re: Provide NBD via Browser over Websockets
On Fri, May 29, 2020 at 08:58:06AM -0500, Eric Blake wrote:
> On 5/29/20 8:50 AM, Daniel P. Berrangé wrote:
>
> >>>(2) You need to persuade qemu's NBD client to read from a WebSocket.
> >>>I didn't really know anything about WebSockets until today but it
> >>>seems as if they are a full-duplex protocol layered on top of HTTP [a].
>
2020 May 29
2
Re: Provide NBD via Browser over Websockets
On 5/29/20 8:50 AM, Daniel P. Berrangé wrote:
>>> (2) You need to persuade qemu's NBD client to read from a WebSocket.
>>> I didn't really know anything about WebSockets until today but it
>>> seems as if they are a full-duplex protocol layered on top of HTTP [a].
>>> Is there a WebSocket proxy that turns WS into plain TCP (a bit like
>>>
2015 Nov 07
0
Re: mkfs.ext2 succeeds despite nbd write errors?
On Sat, Nov 07, 2015 at 12:21:29AM -0600, Jason Pepas wrote:
> Hi,
>
> So I've been hacking together an nbdkit plugin (similar to the "file"
> plugin, but it splits the file up into chunks):
> https://github.com/pepaslabs/nbdkit-chunks-plugin
>
> I got it to the point of being a working prototype. Then I threw it
> onto a raspberry pi, which it turns out
2020 Mar 16
0
[nbdkit] Serving "temporary disks" over NBD
(This email is largely me just thinking aloud ... So ideas welcome!)
For the RISC-V builders (http://fedora.riscv.rocks) I'm using an NBD
disk to host the heavily used /var/lib/mock build directory. This is
because the build machines have only SD-cards as local disk and SD is
both slow and unreliable.
The builders (NBD clients) are set up with an /etc/rc.d/rc.local file
which runs these
2015 Nov 07
2
mkfs.ext2 succeeds despite nbd write errors?
Hi,
So I've been hacking together an nbdkit plugin (similar to the "file"
plugin, but it splits the file up into chunks):
https://github.com/pepaslabs/nbdkit-chunks-plugin
I got it to the point of being a working prototype. Then I threw it
onto a raspberry pi, which it turns out only has a 50/50 shot of
fallocate() working correctly.
I'm checking the return code of
2017 Apr 23
0
Proper way to remove a qemu-nbd-mounted volume usnig lvm
I either haven't searched for the right thing or the web doesn't contain
the answer.
I have used the following to mount an image and now I need to know the
proper way to reverse the process.
qemu-nbd -c /dev/nbd0 <qcow2 image using lvm>
vgscan --cache (had to use --cache to get the qemu-nbd volume to
be recognized, lvmetad is running)
vgchange -ay
2007 Nov 13
2
lvm over nbd?
I have a system with a large LVM VG partition.
I was wondering if there is a way i could share the partition
using nbd and have the nbd-client have access the LVM
as if it was local.
SYSTEM A: /dev/sda3 is a LVM partition and is assigned to
VG volgroup1. I want to share /dev/sda3 via nbd-server
SYSTEM B: receives A''s /dev/sda3 as /dev/nbd0. I want to
access it as VG volgroup1.
I am
2019 Jun 27
2
mkfs fails on qemu-nbd device
Hi All,
I am unable to figure out the issue here, when I try to create a filesystem
(ext4) on a virtual disk using qemu-nbd. This happens intermittently.
Following is the sequence of commands:-
$> qemu-img create -f qcow2 test.qcow2 30G
$> qemu-nbd --connect=/dev/nbd0 test.qcow2
$> *mkfs.ext4 /dev/nbd0*
* mkfs.ext4: Device size reported to be zero. Invalid partition specified,
or*
2017 Jul 28
1
Re: performance between guestfish and qemu-nbd
2017-07-28 0:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Fri, Jul 28, 2017 at 12:23:04AM +0800, lampahome wrote:
> > 2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> >
> > > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
2017 Jul 27
0
Re: performance between guestfish and qemu-nbd
On Fri, Jul 28, 2017 at 12:23:04AM +0800, lampahome wrote:
> 2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
>
> > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> > >
> > > I'm curious about which performance is better?
> >
> > They
2013 Apr 04
2
launch failure of appliance with nbd drive
I'm using qemu-nbd to setup the device with an offset
into the image. Using libguestfs version 1.21.22
Code for adding the drive:
char *server[] = { "localhost:3000", NULL };
if (guestfs_add_drive_opts (g, "" /* export name - see below */,
GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",
GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "nbd",
2017 Jul 27
2
Re: performance between guestfish and qemu-nbd
2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
> > I'm curious about which performance is better?
>
> They do quite different things, they're not comparable.
>
> Can you specifically give the