Network Block Device

Mike Reinehr cmr
Mon Sep 26 14:25:05 PDT 2005


Does anyone know how to get a network block device (nbd) working? The 
instructions are very straight forward, but I've been fiddling with it for a 
week and haven't been able to get it going.

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

I get an fsck.ext3 error message when it attempts to mount the device. 
The /etc/fstab entry is:

/dev/nd0 /mnt/nd0 ext3 defaults,ro,nouser,noauto 0 0

nbd is compiled as a module on the client side.

On the server side the file system is ext3 and fsck says it's clean. I can 
mount it with no problem.

Neither side is running any kind of firewall software. It's all behind a 
hardware firewall on a private LAN.

Both client & server are running Debian AMD64 'Sarge', but no one on the AMD64 
list has reported a bug.

Problems like this often turn out to be overlooking something quite simple, so 
I'm ready to be humbled and/or humiliated.

Thanks!

cmr

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

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


More information about the Linux-users mailing list