Discussion:
nbd-server on Centos 6.4
Jaap Bril
2013-08-02 17:04:56 UTC
Permalink
LS,

I'm having a problem getting ltsp to work with *nbd-server *on *Centos 6.4*.

dhcp (different server) is ok; /pxelinux.0/ as well as /vmlinuz.ltsp/
and /initrd.ltsp/ arrive on the client.

*nbd-server* starts and seems ok (expected *client-ipaddress*,
/image-file/ */opt/ltsp/images/i386.img* and /file-size/ mentioned by
*xinetd*)

After that things get hectic (I took quiet off) and eventually go wrong;
The client-screen blanks and nbd-server stops (exit=1).

I think that the image is ok; I ran *ltsp-build-client* yesterday and
*ltsp-update-image* today.


How can I definitively *check* that the image is ok?
Can I *pause* the client to get time to read the text?

Any other suggestions?

Jaap
Joshua Trimm
2013-08-03 00:34:24 UTC
Permalink
The issue may be related to the kernel module include in the client rpm's
(nbd.ko) if its not found in on the client side it won't be able to net
boot. First mount up your image file as a loopback, chroot into it then
check to see if nbd.ko exists in your modules directory for your kernel:

# ls /lib/modules/`uname -r`/kernel/drivers/block/nbd.ko

Also make sure you have the nbd rpm installed on the server

Note that nbd-3.3 hasn't been tested yet, nbd-2.9.20 is the current
supported version.

From: Jaap Bril <***@jbril.net>
Reply-To: "Support schools." <***@redhat.com>
Date: Fri, 02 Aug 2013 19:04:56 +0200
To: "Support schools." <***@redhat.com>
Subject: [K12OSN] nbd-server on Centos 6.4


LS,

I'm having a problem getting ltsp to work with nbd-server on Centos 6.4.

dhcp (different server) is ok; pxelinux.0 as well as vmlinuz.ltsp and
initrd.ltsp arrive on the client.

nbd-server starts and seems ok (expected client-ipaddress, image-file
/opt/ltsp/images/i386.img and file-size mentioned by xinetd)

After that things get hectic (I took quiet off) and eventually go wrong;
The client-screen blanks and nbd-server stops (exit=1).

I think that the image is ok; I ran ltsp-build-client yesterday and
ltsp-update-image today.


How can I definitively check that the image is ok?
Can I pause the client to get time to read the text?

Any other suggestions?

Jaap

_______________________________________________ K12OSN mailing list
***@redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more
info see
Jaap Bril
2013-08-05 12:07:01 UTC
Permalink
It turns out to be a server problem, nbd-server now works, BUT not as
distributed;
Without changing the image I disabled the *xinetd service* nbd-server
and started it by hand (*nbd-server 2000 /opt/ltsp/images/i386.img*).
The client now boots.

Anyone seen similar behaviour?

Jaap
Post by Joshua Trimm
The issue may be related to the kernel module include in the client
rpm's (nbd.ko) if its not found in on the client side it won't be able
to net boot. First mount up your image file as a loopback, chroot
into it then check to see if nbd.ko exists in your modules directory
# ls /lib/modules/`uname -r`/kernel/drivers/block/nbd.ko
Also make sure you have the nbd rpm installed on the server
Note that nbd-3.3 hasn't been tested yet, nbd-2.9.20 is the current
supported version.
Date: Fri, 02 Aug 2013 19:04:56 +0200
Subject: [K12OSN] nbd-server on Centos 6.4
LS,
I'm having a problem getting ltsp to work with *nbd-server *on *Centos
6.4*.
dhcp (different server) is ok; /pxelinux.0/ as well as /vmlinuz.ltsp/
and /initrd.ltsp/ arrive on the client.
*nbd-server* starts and seems ok (expected *client-ipaddress*,
/image-file/ */opt/ltsp/images/i386.img* and /file-size/ mentioned by
*xinetd*)
After that things get hectic (I took quiet off) and eventually go wrong;
The client-screen blanks and nbd-server stops (exit=1).
I think that the image is ok; I ran *ltsp-build-client* yesterday and
*ltsp-update-image* today.
How can I definitively *check* that the image is ok?
Can I *pause* the client to get time to read the text?
Any other suggestions?
Jaap
_______________________________________________ K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn For more info see
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Loading...