Unable to Shrink ubuntu root partition on vmware - resize

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

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

Proxmox VM disk file is bigger than provisioned setting

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.

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?

What could be the causes that Hyper-V would pause running virtual machines by it self?

What could be the causes that Hyper-V would pause running virtual machines by it self?
We have encountered that problem twice recently. Our 2 VMs have 4 Gb of ram each and does not have a lot of traffic. I think we have something like 50gb of space left reserved to VM backup. Could it be due to missing space to backup the snapshots of the VM?
Thanks in advance!
check Your logs why it paused. Event Viewer is Your friend :)
here is how to check logs for that: http://support.microsoft.com/kb/2486243
I saw with Hyper-V VMs paused when I ran out of space so You may be correct.

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"