Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread vas...@gmx.de
Okay, now my link seems to be of interest again at least if your using KVM. Granwille Strauss schrieb am Fr., 23. Dez. 2022, 00:04: > Thanks, I ran fstrim on both my guest VM and primary NFS storage server on > the / partition, seems the VM physical size remains the same even after > data was

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Granwille Strauss
Thanks, I ran fstrim on both my guest VM and primary NFS storage server on the / partition, seems the VM physical size remains the same even after data was trimmed. As for running e4defrag, it actually increased the physical size instead of decreasing it, lol. I did check that my primary NFS h

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Ruben Bosch
AFAIK defragmentation tools do not discard unused blocks: it merely rearranges blocks. Met vriendelijke groet / Kind regards, Ruben Bosch CLDIN > On 22 Dec 2022, at 22:57, Granwille Strauss > wrote: > > Hi Ruben > > Thanks, I use standard throughout. But will investigate fstrim. However, wh

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Granwille Strauss
Hi Ruben Thanks, I use standard throughout. But will investigate fstrim. However, what of using e4defrag would this make a difference? On 12/22/22 23:53, Ruben Bosch wrote: If the disk is thin allocated you will need to run fstrim to disc

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Ruben Bosch
If the disk is thin allocated you will need to run fstrim to discard unused blocks. Met vriendelijke groet / Kind regards, Ruben Bosch CLDIN > On 22 Dec 2022, at 22:40, Granwille Strauss > wrote: > > Hi > > Just a follow up question on t

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Granwille Strauss
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 t

Re: Cannot create VM from Template Error

2022-12-22 Thread Wei ZHOU
If you can find the same image somewhere, you can copy it to the primary storage with same filename -Wei On Thursday, 22 December 2022, Granwille Strauss wrote: > Hi Guys > > If you delete a backing file, how screwed are you? Is it possible to > recover the VM, because at this point the VM does

Re: Cannot create VM from Template Error

2022-12-22 Thread Nux
It's pretty bad, but there is a chance to recover data, an example of how to get uncopulated here: https://raddinox.com/restore-data-from-qcow2 HTH --- Nux www.nux.ro [11] On 2022-12-22 13:40, Granwille Strauss wrote: Hi Guys If you delete a backing file, how screwed are you? Is it poss

Re: Cannot create VM from Template Error

2022-12-22 Thread Granwille Strauss
Hi Guys If you delete a backing file, how screwed are you? Is it possible to recover the VM, because at this point the VM does not want to start. "Cannot access backing file '/mnt/3a808086-b3bd-3dda-b27d-18ab9f0059f4/d2c4feca-da5c-44b3-8ecc-40a01fd6c243' of storage file '/mnt/3a808086-b3bd-

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread vas...@gmx.de
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 < granwi...@namhost.com>: > Hi > > Thanks I will check this out. However, I think I messed up too. From the > 160 GB allocated v

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Granwille Strauss
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, vas...@gmx.

Re: Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread vas...@gmx.de
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 Regards, Am Do., 22. Dez. 2022 um 11:58 Uhr schrieb Granwille Strauss : > Hi Guys > > I have a VM with assi

Disk Volume Reporting Wrong Size on 4.17.1.0

2022-12-22 Thread Granwille Strauss
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

Re: Cannot create VM from Template Error

2022-12-22 Thread Granwille Strauss
Hi Managed to solve the last issue, seems I deleted an image file that caused this behaviour. Will log ticket on GitHub on initial issue. On 12/20/22 16:13, Wei ZHOU wrote: The logs shows com.cloud.utils.exception.CloudRuntimeException: Failed to copy /mnt/14205cea-e7ab-39c7-b8d1-0cea6cf6597