Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-05-20 08:56:52 +0200
\ Peter.Sokol at vwess.sk:
> OS: Mandrake 9.2
>
> that?s all what i have :-(
>
> > Setting up ?drbd0?.. disk ok .. net ..
> > drbd: ERROR: drbdsetup /dev/nb0 net \
> > 50.20.20.1:7788 50.20.20.2:7788 B \
> > --sync-max=100 --tl-size=5000 \
> > --timeout=60 --connect-int=10 \
> > --ping-int=10 [20]:
> > drbd: ERROR: ioctl() failed: Invalid argument
> > No further Information available.
>
> Identical entry are in syslog...
>
> Mesg - no hint, no tip (only -- drbd: initialised. version: 0.6.12
> (api:64/proto:62))
>
> I change the /etc/drbd.conf and use the protocol C.
> I have had enough... I?m afraid that installation fall trough :-(
then there obviously is a problem somwhere else.
drbdsetup disk succeeds, so they are talking about the same thing.
drbdsetup net fails with EINVAL.
this can happen if:
...
syncer paramters are wrong.
...
ah, yes. that is your problem.
you probably mean 100M, not 100.
sync-min defaults to 200 (this is K),
you give an explicit maximum of 100 (still K),
max < min is INVALID :)
so: either give the 100M you mean, or give an explicit sync-min < 100
yes, this should be detected somehow, and give a more usefull error
message. only it never happend before ...
Hth,
Lars Ellenberg