Re: [nottingham] /dev devices that are actually network block devices.

From: Matthew Sackman (matthew@sackman.co.uk)
Date: Sat 04 May 2002 - 16:39:51 BST


On Fri, May 03, 2002 at 08:44:01PM +0100, Alex Walker wrote:
> On Fri, May 03, 2002 at 03:15:50PM +0100, Lee wrote:
> > I remember seeing recently a kernel enhancement were a block or
> > character device is /dev could be setup to be a network
> > block/character device on another networked machine.
>
> I think you mean Network Block Device in the kernel. It's under "Block
> devices" in your kernel config.
>
> > can anyone remember the package name? or even how well it works?
>
> I wanted to use it to give raw access to a DVD drive, but it failed with
> "device too large". That's the only experience I have had with it.

Hmm. AFAICR the nbd in the kernel is still the old version (read: dead
code). You need to get enbd from http://www.it.uc3m.es/~ptb/nbd/

read and compile as normal. You need to have the kernel nbd compiled as
a module. ENBD then replaces that module but uses the same kernel hooks.
There's been a thread on the enbd mailing list about removeable stuff
and this seems to be being developed rapidly. I would therefore suggest
you get the CVS copy and use that.

ENBD relies on the kernel's ability to handle large files. In theory, so
long as you're using a 2.4.x kernel you should be able to export the
full DVD. In theory. If you get it to work then it would probably be
worthwhile to subscribe to the list and let people know. The author
still isn't convinced that 2GB+ support is fully working in the 2.4.x
kernels so the results of any testing you can do would be gratefully
received.

Matthew

-- 

Matthew Sackman Nottingham England

BOFH Excuse Board: Smell from unhygenic janitorial staff wrecked the tape heads -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Sat 04 May 2002 - 16:40:19 BST