Proxmox VM disk file is bigger than provisioned setting - virtual-machine

I'm looking into one Proxmox server that is running out of space. It has some over provisioned storage. Everything looks to be fine except one VM disk. It is 10 GB disk according to configuration but the file itself on Proxmox is 15 GB big. I'm mostly using vmware and never seen such thing before.
Can someone tell why it is like that?
Is it the way Proxmox stores snapshots (this VM had one that was removed)? Or maybe it was resized?
I'm a bit worried for other VM disks.
Thanks a lot!

I had to migrate that disk to different storage. Disk file size become 10 GB big after this procedure.

Related

How do I extend memory for my Dynamically allocated storage in "VirtualBox" of Type - "VMDK"

I am quite new to the VM related configurations. I tried searching Internet for this and found most of the places where having examples for VDI type of storage and couldnt find a good solution for VMDK type of storage.
Also my current disk is Dynamically allocated storage.
My setup is to run the VirtualBox from my Windows machine to have Linux machine in VM's
vmdk is the originally VMWare file format. May be VirtualBox just doesn't know how to do this :)
You can download free VMware Workstation Player and expand your vitrual disk there.
pic

Unable to Shrink ubuntu root partition on vmware

I am Using Ubuntu 14.04 Server as VMware Guest OS.
I have allocated 200 GB Disk space of thin provision disk.
I only using 100 Gb of Disk space. I need shrink the remaining
Disk space. I tried with Gparted but in that not showing free space
and partition is locked icon.
Kindly help us to resolve the issue.
thanks in advance
Jagadeesh
You can't shrink it with gparted. Use the lvm tools instead. Here is a useful link:
https://askubuntu.com/questions/124465/how-do-i-shrink-the-root-logical-volume-lv-on-lvm

virtual memory on windows

I am developing a program which use huge ram size. Unfortunately there is no way to decrease it. In linux when ram is low I can generate a swap file and mount it to system that solve my problem but in windows how can I do that or is there any api(c/c++) that can use a temp file like a ram?

Apache hangs/times out when backing up website with gzip or zip?

I'm running some websites on a dedicated Ubuntu web server. If I'm remembering correctly, it has 8 cores, 16GB memory, and running as a 64 bit Ubuntu. Content and files are delivered quickly to web browsers. Everything seems like a dream... until I run gzip or zip to backup an 8.6GB sized website.
When running gzip or zip, Apache stops delivering content. Internal server error messages are delivered until the compression process is complete. During the process, I can login via ssh without delays and run the top command. I can see that the zip process is taking about 50% CPU (I'm guessing that's 50% of a single CPU, not all 8?).
At first I thought this could be a log issue, with Apache logs growing out of control and not wanting to be messed with. Log files are under 5MB though and being rotated when they hit 5MB. Another current thought is that Apache only wants to run on one CPU and lets any other process take the lead. Not sure where to look to address that yet.
Any thoughts on how to troubleshoot this issue? Taking out all my sites while backups occur is not an option, and I can't seem to reproduce this issue on my local machines (granted, it's different hardware and configuration). My hopes are that this question is not to vague. I'm happy to provide additional details as needed.
Thanks for your brains in advance!
I'd suggest running your backup script under the "ionice" command. It will help prevent starving httpd from I/O.

VMWare Player - swapping to disk more if more memory allocated

Windows XP as base OS. Laptop has 4GB RAM and 2*2.2GHz cores. About 3 year old laptop
Am using Windows7 in VMWare Player. If I allocate more than 1GB of RAM to the Win7 machine in the VMWare player settings it goes so slow, and is continually swapping to disk.
I've turned off all Win7 processor intensive stuff.
http://www.computingunleashed.com/speed-up-windows-7-ultimate-guide-to.html
http://www.computingunleashed.com/list-of-services-in-windows-7-that-can.html
The base OS only reports using aboiut 144MB of RAM to the player. Very weird.
I'm using 2 virtual disks: 20GB SCSI for c:\ and 25GB SCSI for data f:\
Problem: How to tweak Win7 VMware (ie VS2010, Sql2008R2) well on an older laptop. Or use something else?
The problem is that by default vmware player uses file as memory.
Read this for more info & fix
http://communities.vmware.com/thread/46122
If you want to achieve this for all your VMs, you may just add/append following two lines:
prefvmx.minVmMemPct = 100
mainMem.useNamedFile = "false"
... inside the following VMware-wide configuration file:
C:/ProgramData/VMware/VMware Workstation/config.ini (or sometimes settings.ini)
The first line sets the percentage of configured VM memory that should fit into the host memory and the second (as already shown in the prior answer) disables default file-based memory usage.
If you want to apply this to a specific VM only, in order to not alter general VMware configuration, adding the following line to the VM's *.vmx file may be an alternative:
hard-disk.hostBuffer = "disabled"