If the disk is thin allocated you will need to run fstrim <https://man7.org/linux/man-pages/man8/fstrim.8.html> to discard unused blocks.
Met vriendelijke groet / Kind regards, Ruben Bosch CLDIN > On 22 Dec 2022, at 22:40, Granwille Strauss <[email protected]> > wrote: > > Hi > > Just a follow up question on this. If you have a 60 GB VM, for example and > after a month or year said VM has reached its quota limit. And you proceed to > delete files and so lowering the usage to 20 GB out of 60GB within VM, why is > that the VM physical disk size does not decrease? What's the best method via > CM to clean up physical disk usage to match data within VM? > > On 12/22/22 14:54, [email protected] <mailto:[email protected]> wrote: >> Ah just wait - i misread your 'df -h' output. >> You can ignore my link regarding this issue. >> >> Sorry for that. >> >> Am Do., 22. Dez. 2022 um 13:13 Uhr schrieb Granwille Strauss < >> [email protected] <mailto:[email protected]>>: >> >>> Hi >>> >>> Thanks I will check this out. However, I think I messed up too. From the >>> 160 GB allocated via CM it seems I partitioned my VM wrong. I end >>> partitioning was too much. I set / partition too high now its causing the >>> 165 GB. Will check again and provide update. >>> On 12/22/22 13:57, [email protected] <mailto:[email protected]> wrote: >>> >>> Hi, >>> you've been using 'vm snapshots'? >>> Sounds similar to my experience, you can find it and explanation in the >>> mailing >>> list:https://lists.apache.org/thread/fg7147so1wmdhvh5xcoh4ddbdv6r4l5w >>> <https://lists.apache.org/thread/fg7147so1wmdhvh5xcoh4ddbdv6r4l5w> >>> >>> Regards, >>> >>> Am Do., 22. Dez. 2022 um 11:58 Uhr schrieb Granwille >>> Strauss<[email protected]> >>> <mailto:[email protected]> <[email protected]> >>> <mailto:[email protected]>: >>> >>> >>> Hi Guys >>> >>> I have a VM with assigned 160 GB disk space. However, CM says the disk >>> space is 165 GB and its utilisation is 97% and physical size is 160GB on >>> the primary storage. See attached screenshots. However, when I access >>> console or ssh for said VM the stats differ completely as shown via df -h >>> command in screenshot. >>> >>> I forced reboot the VM, which typically fixes stats on CM but nothing. >>> What happens if CM sees it utilisation at 100% but then I have many space >>> left still on the VM itself...? >>> -- >>> Regards / Groete >>> <https://www.namhost.com> <https://www.namhost.com/> >>> <https://www.namhost.com> <https://www.namhost.com/> Granwille Strauss // >>> Senior Systems Admin >>> >>> *e:* [email protected] <mailto:[email protected]> >>> *m:* +264 81 323 1260 <+264813231260> >>> *w:* www.namhost.com <http://www.namhost.com/> >>> <https://www.facebook.com/namhost> <https://www.facebook.com/namhost> >>> <https://www.facebook.com/namhost> <https://www.facebook.com/namhost> >>> <https://twitter.com/namhost> <https://twitter.com/namhost> >>> <https://twitter.com/namhost> >>> <https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/> >>> <https://www.instagram.com/namhostinternetservices/> >>> <https://www.instagram.com/namhostinternetservices/> >>> <https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos> >>> <https://www.linkedin.com/company/namhos> >>> <https://www.linkedin.com/company/namhos> >>> <https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> Namhost Internet Services (Pty) Ltd, >>> >>> 24 Black Eagle Rd, Hermanus, 7210, RSA >>> >>> >>> >>> The content of this message is confidential. If you have received it by >>> mistake, please inform us by email reply and then delete the message. It is >>> forbidden to copy, forward, or in any way reveal the contents of this >>> message to anyone without our explicit consent. The integrity and security >>> of this email cannot be guaranteed over the Internet. Therefore, the sender >>> will not be held liable for any damage caused by the message. For our full >>> privacy policy and disclaimers, please go >>> tohttps://www.namhost.com/privacy-policy >>> >>> [image: Powered by >>> AdSigner]<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> >>> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> >>> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> >>> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> >>> -- >>> Regards / Groete >>> >>> <https://www.namhost.com> <https://www.namhost.com/> Granwille Strauss // >>> Senior Systems Admin >>> >>> *e:* [email protected] <mailto:[email protected]> >>> *m:* +264 81 323 1260 <+264813231260> >>> *w:* www.namhost.com <http://www.namhost.com/> >>> >>> <https://www.facebook.com/namhost> <https://www.facebook.com/namhost> >>> <https://twitter.com/namhost> <https://twitter.com/namhost> >>> <https://www.instagram.com/namhostinternetservices/> >>> <https://www.instagram.com/namhostinternetservices/> >>> <https://www.linkedin.com/company/namhos> >>> <https://www.linkedin.com/company/namhos> >>> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> >>> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> >>> >>> Namhost Internet Services (Pty) Ltd, >>> >>> 24 Black Eagle Rd, Hermanus, 7210, RSA >>> >>> >>> >>> The content of this message is confidential. If you have received it by >>> mistake, please inform us by email reply and then delete the message. It is >>> forbidden to copy, forward, or in any way reveal the contents of this >>> message to anyone without our explicit consent. The integrity and security >>> of this email cannot be guaranteed over the Internet. Therefore, the sender >>> will not be held liable for any damage caused by the message. For our full >>> privacy policy and disclaimers, please go to >>> https://www.namhost.com/privacy-policy >>> <https://www.namhost.com/privacy-policy> >>> >>> [image: Powered by AdSigner] >>> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> >>> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818> >>> > -- > Regards / Groete > > <https://www.namhost.com/> Granwille Strauss // Senior Systems Admin > > e: [email protected] <mailto:[email protected]> > m: +264 81 323 1260 <tel:+264813231260> > w: www.namhost.com <https://www.namhost.com/> > > <https://www.facebook.com/namhost> <https://twitter.com/namhost> > <https://www.instagram.com/namhostinternetservices/> > <https://www.linkedin.com/company/namhos> > <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA> > > > <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner> > > Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSA > > The content of this message is confidential. If you have received it by > mistake, please inform us by email reply and then delete the message. It is > forbidden to copy, forward, or in any way reveal the contents of this message > to anyone without our explicit consent. The integrity and security of this > email cannot be guaranteed over the Internet. Therefore, the sender will not > be held liable for any damage caused by the message. For our full privacy > policy and disclaimers, please go to https://www.namhost.com/privacy-policy > <https://www.namhost.com/privacy-policy> > <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>
