Le 07/01/2016 11:57, Angel L. Mateo a écrit :
I have recently migrated my openldap server from hdb to mdb. In
this kind of database you configure the maximal database size with
Although I have configure this option with 8GB, more than the
double of my actual database size, I would like to know if there is
any way to calculate the remaining size.
According to  you can get the actual size with a du. But my
problem is that I'm using zfs with a compressed file system, so du
reports the compressed size, not the real one.
Is there any way to get this value? Or my real maximum size is 8GB
I wrote a monitoring plugin that uses mdb_stat to do this :
Consultant en logiciels libres, Expert infrastructure et sécurité
87, rue de Turbigo - 75003 PARIS