Network Block Device

Mike Reinehr cmr
Wed Sep 28 14:15:06 PDT 2005


On Wednesday 28 September 2005 01:51 pm, Net Llama! wrote:
> On Wed, 28 Sep 2005, Mike Reinehr wrote:
> > On Wednesday 28 September 2005 09:25 am, Man-wai Chang wrote:
> > > > On the server side I have running: /bin/nbd-server 1077 /vg0/swlv
> > > >
> > > > On the client side, however, when I try running:
> > > >         /bin/nbd-client eljudnir 1077 /dev/nd0
> > > > /dev/nd0 /mnt/nd0 ext3 defaults,ro,nouser,noauto 0 0
> > >
> > > don't you need a nbdfs instead of ext3 in /etc/fstab (like smbfs)? When
> > > you use ext3, it's going to mount it as a local device.
> > >
> > > I knew nothing about nbd, though. Just speak from my experience with
> > > samba.
> >
> > Man-wai,
> >
> > Thanks, again. I finally got it working. As Aaron suggested, it wasn't
> > the fstab entry, but something else. The commands that I typed in my
> > message were right. Had I actually typed them they probably would have
> > worked, but I was relying on the init.d commands which use config files,
> > i.e. /etc/nbd-server & /etc/nbd-client and I had set up the config files
> > incorrectly.
> >
> > In /etc/nbd-client there is the entry:
> >
> > # Name of the first used nbd /dev-entry:
> > NBD_DEVICE[0]="/dev/nd0"
> >
> > Originally I used NBD_DEVICE[0]="nd0" and, when I finally got around to
> > reading the log files, figured out that was not working.
> >
> > I knew it was going to be something simple & stupid, but _now_ I know how
> > to do it, if anyone else needs help. :-)
>
> can you write a SxS ?

I'll have a go at it this weekend. How do I submit it?

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


More information about the Linux-users mailing list