sc101-nbd script in debian

20 views
Skip to first unread message

pluca

unread,
Sep 20, 2007, 12:47:35 PM9/20/07
to SC101 NBD Server
Hi!

On my debian distro there is a little problem with sc101-nbd. It needs
some functions library in . /etc/init.d/functions but I do not have
this directory. What to do?

When I'm trying to mount /dev/nbd0 it says that:
nbd: registered device at major 43
nbd0: Attempted send on closed socket
end_request: I/O error, dev nbd0, sector 2
EXT3-fs: unable to read superblock


There wasn't any problem with Mandriva to access this device, but now
I have fresh Debian distro and Mandriva has gone.

Thanks in advance.

pluca

unread,
Sep 20, 2007, 3:42:01 PM9/20/07
to SC101 NBD Server
So, I've read Quick guide and after executing ut attach... I'm able to
mount nbd device and access it, but while I'm trying to copy some
bigger amount of data, or any amount of data after some time of not
using device, it stops responding and there is nothing to do but
reboot.

pluca

unread,
Sep 22, 2007, 5:45:50 AM9/22/07
to SC101 NBD Server
So, for now, after upgrading my kernel to 2.6.21.2 I'm able to do
everything with NBD device without any problems.
I also deleted init scripts. These where unusable because of functions
file, which is not present in system.

Iain Wade

unread,
Sep 22, 2007, 11:11:58 AM9/22/07
to pl...@tlen.pl, SC101 NBD Server
> So, for now, after upgrading my kernel to 2.6.21.2 I'm able to do
> everything with NBD device without any problems.

Interesting.

The strace output didn't really highlight the problem, I think you
stopped capturing before the process died?

I'm aware of some problems with NBD in kernel's between 2.6.18 and
2.6.20, and some fine RedHat folk are working on identifying the fix
so it can be backported to their RHEL5 distribution.

It seems to result in stalled IO though, whereas your initial post
seems to indicate that the ut command died.

> I also deleted init scripts. These where unusable because of functions
> file, which is not present in system.

Yes, I'm aware of that and hope to get it fixed up shortly.

Thanks,
--Iain

pluca

unread,
Sep 23, 2007, 3:47:45 PM9/23/07
to SC101 NBD Server
Oh. I've deleted your init scripts but then I had to add some debian
package named nbd-client.
Reply all
Reply to author
Forward
0 new messages