[ENBD] diskless enbd-client/enbd on initrd
Rudolph Bott
rb at megabit.net
Thu Apr 6 09:47:02 MDT 2006
Hey there,
I was quite busy lately and I couldn't find the time wo work on this
diskless-thing.
But today I started working on it again: I changed the enbd-client
version to the precompiled enbt-2.4.32-bin_static.tgz from the enbd ftp
site (brought no changes at all).
I'm still stuck with the timeout problem (after a successfull connect
and system boot):
enbd-client 595: #1927 mainloop: Client times out waiting 60s in
mainloop. Breaking off
enbd-client 594: #1927 mainloop: Client times out waiting 60s in
mainloop. Breaking off
ENBD #1160[0]: enbd_rollback (0): rollback req c009b7d4!
ENBD #1160[1]: enbd_rollback (1): rollback req c009b8fc!
enbd-client 595: client (1) opened socket (4) to 172.16.20.1:1113
enbd-client 594: client (0) opened socket (4) to 172.16.20.1:1113
enbd-client 594: client (0) read passwd ok from 172.16.20.1:1113
enbd-client 594: client (0) got cliserv magic ok from 172.16.20.1:1113
enbd-client 594: client (0) got a signature ok from 172.16.20.1:1113
enbd-client 594: client (0) enters setsig
enbd-client 594: client (0) set sig uses whole disk, wants slot 1
ENBD #3150[0]: my_nbd_set_sig (0): failed sigcheck wth -22
enbd-client 594: #1885 setdevicesig: client (0) FAIL set sig or pass
sigchk
Apparently it only happens when the machine is really idle (e.g. after
some time after boot up etc.). If you keep it busy with something (file
transfers via scp or starting/stoping daemons) the connection does not
timeout at all. But as soon as you leave the machine idle for... let's
say 60 seconds (as it's stated in the log output) the connections goes down.
Another thing is: do I have to run the enbd-cstatd? The thing is, I
don't have inetd in the initrd and on top of that enbd-client can't
write its pid-file because of the read-only-romfs (and according to the
man page, enbd-cstatd needs access to the information in /var/state and
/var/run)
--
Mit freundlichen Gruessen / with kind regards
Rudolph Bott
-------------------------------------------------------------------
Megabit Informationstechnik GmbH Karstr.25 41068 Moenchengladbach
Tel: 02161/308980 mailto:info at megabit.net ftp://megabit.net
Fax: 02161/3089818 mailto:support at megabit.net http://megabit.net
-------------------------------------------------------------------
More information about the ENBD
mailing list