Thank you for pointing that out. I didn't know that was a requirement, btw I wonder why this isn't setup by default.
Anyway, I did run gromox-mbop -d /my/user/mailboxdir purge-datafiles
, and some quite interesting stuff happened:
Grommunio reported usage
grommunio-admin exmdb myuser@domain.tld store get
messagesizeextended 25446383067 23.7 GiB
Real disk usage
localhost:/var/lib/gromox/user/1/0 # du --max-depth 1 -h
552M ./exmdb
0 ./tmp
0 ./eml
0 ./ext
13G ./cid
12K ./config
13G .
All the files in ./eml
directory vanished (mails are still in the mailbox) which makes me think that eml
dir contains temporary import files, and cid
dir contains the actual data.
But event with the actual file size shrunken, Grommunio still reports that mailbox to be almost full. Running size recalculation didn't help:
/usr/sbin/gromox-mbop -d /var/lib/gromox/user/1/0 recalc-sizes
Running `Old: 25166673735 bytes (25166034840 normal, 638895 FAI)
New: 25446383067 bytes (25165920528 normal, 753207 FAI)
Getting more details about sizes does nowhere show anything near 24GB:
localhost:/var/lib/gromox/user/1/0 # gromox-mbsize /var/lib/gromox/user/1/0
Apparent On FS
--------- ---------
== RFC5322/Mbox representation ==
Received 0 MB 0 MB
Sent 0 MB 0 MB
FS directories 0 MB 0 MB
midb.sqlite3 0 MB 0 MB
Total 0 MB 0 MB
== FS: Body analysis ==
Missing items 0 0
Informational content 609 MB -
After deduplication 581 MB -
Dedup ratio 1.048 x -
Dedup savings 4.6 % -
After compression 160 MB 456 MB
File compression ratio 3.614 x 1.275 x
Savings over dedup 72.3 % 21.6 %
IFC compression ratio 3.787 x 1.337 x
Savings over IFC 73.6 % 25.2 %
== FS: Attachment analysis ==
Missing items 0 0
Informational content 23270 MB -
After deduplication 14101 MB -
Dedup ratio 1.650 x -
Dedup savings 39.4 % -
After compression 12010 MB 12073 MB
File compression ratio 1.174 x 1.168 x
Savings over dedup 14.8 % 14.4 %
IFC compression ratio 1.938 x 1.927 x
Savings over IFC 48.4 % 48.1 %
== MAPI Reported Sizes / Network Transfer Size ==
Store size 24267 MB -
... Bodies 609 MB 456 MB
... Attachments 23270 MB 12073 MB
... Other 387 MB -
== On-disk sizes ==
Sum of MAPI data 12752 MB 13081 MB
... exchange.sqlite3 551 MB 551 MB
... Bodies 160 MB 456 MB
... Attachments 12010 MB 12073 MB
... FS directories 29 MB 0 MB
NTS deviation 90.3 % 85.5 %
Total MAPI+RFC 12752 MB 13081 MB
Provisioning factor over NTS 0.525 x 0.539 x
From what I read above, it looks like attachments are counted twice.
I also ran gromox-mbop -d /var/gromox/user/1/0 vacuum
but that didn't help either.
Anything else I miss here ?