We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Incorrect Display of Disk Usage?!
Incorrect Display of Disk Usage?!
hello.
i manually imported emails and then run "v-update-mail-domain-disk && v-update-user-counters".
now in VestaCp GUI it displays like this:
Web: 0 mb
Mail: 724 mb
User Directories: 1 mb
Disk: 2.85 gb
i tried running: "v-update-user-disk && v-update-user-quota", but still the same.
but how can it be possible? 724+1 is not 2850...
i check manually from console with "du -sh" and the disk usage is a total of 725mb (the correct one)
what is this 2.85 gb?
thanks
edit: im on debian 9. also "quota -q" shows correct values
i manually imported emails and then run "v-update-mail-domain-disk && v-update-user-counters".
now in VestaCp GUI it displays like this:
Web: 0 mb
Mail: 724 mb
User Directories: 1 mb
Disk: 2.85 gb
i tried running: "v-update-user-disk && v-update-user-quota", but still the same.
but how can it be possible? 724+1 is not 2850...
i check manually from console with "du -sh" and the disk usage is a total of 725mb (the correct one)
what is this 2.85 gb?
thanks
edit: im on debian 9. also "quota -q" shows correct values
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Incorrect Display of Disk Usage?!
As I can see in v-update-user-counters
Disk total = Disk Web + Disk Mail + Disk DB
Maybe your database is 2.1GB?
Disk total = Disk Web + Disk Mail + Disk DB
Maybe your database is 2.1GB?
Re: Incorrect Display of Disk Usage?!
hey, thanks for your answer, but the database size is zero.
i just imported the mails only.
its really strange. yesterday before i went to sleep i could bet it was displayed correctly.
i wonder where does it even take this number from. i checked the total size of complete home directory (all users) and its 3gb. its only mails yet. no way i can figure out where it comes from :(
i have 6 user accounts with only mails and they are all displayed wrong.
edit: 3 of them are completly off:
i just imported the mails only.
its really strange. yesterday before i went to sleep i could bet it was displayed correctly.
i wonder where does it even take this number from. i checked the total size of complete home directory (all users) and its 3gb. its only mails yet. no way i can figure out where it comes from :(
i have 6 user accounts with only mails and they are all displayed wrong.
edit: 3 of them are completly off:
Re: Incorrect Display of Disk Usage?!
ok. i have some interesing updates.
after importing the web and db files and updating the counters again, it is now displayed correctly.
i think that when u partially import some files manually (without vestacp routines) and then update counters, there is some calculation problem OR there is some special command to run, that i forget, which corrects the numbers.
but when you use the vestacp restore routines, it works.
so nvm, its working now.
thanks :)
after importing the web and db files and updating the counters again, it is now displayed correctly.
i think that when u partially import some files manually (without vestacp routines) and then update counters, there is some calculation problem OR there is some special command to run, that i forget, which corrects the numbers.
but when you use the vestacp restore routines, it works.
so nvm, its working now.
thanks :)