[DRBD-user] Large drbd devices vs vmalloc workarounds

Leroy van Logchem leroy.vanlogchem at wldelft.nl
Mon Apr 25 16:34:02 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


>>/allocation failed: out of vmalloc space
>>    
>>
>if you need that much storage, use a 64bit architecture,
>and whoops, your problems (should) have vanished.
>  
>
The tweaks to grub.conf using vmalloc=256m made it work.
Even 192m worked but other  parts of the kernel might need 'm too.

>>Q: What are the memory requirements for this configuration?
>>    
>>
>for each device, drbd will (try to) allocate X MB of bitmap,
>plus some constant amount (<1MB).
>X = storage_size_in_GB/32, so 1 TB storage -> 32 MB bitmap
>  
>
Thanks for the details they correspond perfectly to my current allocation:
[root at server] # cat /proc/meminfo | grep Used
VmallocUsed:    137564 kB

--Leroy




More information about the drbd-user mailing list