Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-06-12 14:12:37 +0200 \ Helmut Wollmersdorfer: > Lars Ellenberg schrieb: > > >well, but minors from 2 upwards don't show up in _/proc/drbd_ unless you > >load the module with a minor_count=3 (or more. default is 2) . > >the drbd script does this. > > BTW: How much memory is wasted, if I define e.g. minor_count=4 but only > define/start 3 DRBD-resources? some 1 or 2 KB. per add. minor. > If the influence on memory, cpu, latency etc. is neglectable, then the > admin should take care, that minour_cont in drbd.conf equals number of > /dev/nbX and at insmod. the drbd script is intended to do the modprobe, and it counts the defined minors, then loads exact that much, unless defined global parameter minor_count is even larger. > >but maybe you (or some other script, or module auto load mechanism) > >load the drbd module already *before* the drbd start script is executed, > >and do *not* probide the minor_count parameter. > > I wonder, who or what shall do this. > Here: > # cat /etc/debian_version > testing/unstable kernel module auto loader. > Editing /etc/modules.conf manually is not a good idea. why not? I do it all the time ... :) lge