[ENBD] diskless enbd-client/enbd on initrd
Peter T. Breuer
ptb at inv.it.uc3m.es
Thu Mar 2 09:36:17 MST 2006
"Also sprach Rudolph Bott:"
> Since I used the nbd_root package as a base for my
> root-over-enbd-initrd, i created the initrd with genROMfs
> i think this explains the pid-file-writing-errors quite well :S
As far as I recall, your problem was that you launched the client and
then didn't wait for it to connect before trying to mount the device.
So mount errored with "no such device". Did you fix that?
> now the problem has shifted to a somewhat more difficult problem:
> ENBD #2469[1]: do_enbd_request device not enabled.
Is that an error of mine? Does it appear in the source? Sounds like
perror(EENABLE).
> enbd-client 593: client (-1) made pidfile
> /var/run/enbd-client-xenoo.pid with pid 593
> enbd-client 593: client (-1) starts introduction sequence on
> 172.16.20.1:1111
> ENBD #2469[1]: do_enbd_request device not enabled.
Oh, line 2469 in the driver.
if (!(flags & ENBD_ENABLED)) {
ENBD_FAIL ("device not enabled.");
}
You are STILL asking for the device to be used before it is ready.
It has received requests before it has made contact with the server.
Peter
More information about the ENBD
mailing list