|OS type and version||CentOS 7.9|
Recently, we changed our database datadir to another location and noticed that the numbers under each virtual server’s Administration Options > Disk Usage > By database is showing zero bytes.
The new database datadir is working as we can see updates and inserts data in the new datadir. I ran the below command and it does report the correct size.
quota -v VIRTUAL_SERVER_OWNER quota -g VIRTUAL_SERVER_OWNER
It seems somehow Virtualmin is not calculating or recognizing the correct data size for DB after changing datadir. A reboot doesn’t seem to help too. Is there a way to recalculate the DB usage?
I looked through old threads about using Limits and Validations > Check Disk Quotas but I don’t see that option.