[ENBD] ENBD version 2.4.33pre complains "failed to set size"

Peter T. Breuer ptb at inv.it.uc3m.es
Mon Mar 20 07:14:20 MST 2006


"Also sprach Bas van Schaik:"
> I tried to upgrade from 2.4.32 to 2.4.33pre, but ran into this problem
> which I cannot solve:

Don't worry about it - 2.4.33pre is being worked on and you likely got an
imbetween copy.

> 
> >> enbd-client  6951: #1818 setdevicesize: client (-1) failed to set size
> >> 190003935232
> >> enbd-client  6951: #2227 setkernelnbd: Failed set size 190003935232 on
> >> fd 4: Invalid argument

Looks like it was a version  that tried BLKBSZSET before trying
ENBD_SET_BLKSIZE, forgetting that the  latter is needed to tell the
device it has had the blksize set. And the device then won't allow the
size to be set because it doesn't know a blocksize (I think I removed
that check).

Just pull again.

> >> out on iss03:1100
> >> enbd-client  6957: client (-1) waits 5s after 7s before retry 1

(the kernel log would have shown the problem, not the syslog). Tell
me if it persists.


Peter


More information about the ENBD mailing list