LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2017, 09:33 PM   #1
khanhcn
LQ Newbie
 
Registered: Sep 2017
Posts: 8

Rep: Reputation: Disabled
VMware 9/Ubuntu 16.04 storage problem


Hi all,

I install Ubuntu 16.04 on Windows 7 via VMWare 9. Windows 7 spent 20 GB for Ubuntu.

Firstly, VMWare storage is only 9.0 GB, I didn't install much program. After 2 months using, VMWare used 18.6 GB/20 GB . However I check Ubuntu storage is only 9.9 GB. I have tried to compact and Defragment Disk but it reduce to 18.4 GB.

Could you advise me. If this problem is duplicated in this forum, could you send me link.

Thanks,

Khanh CN
 
Old 09-21-2017, 09:48 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi khancn,

I believe the behaviour you are describing is normal and by design. Although I am more familiar with Virtualbox than VMWare, I believe they both function similarly in this regard. In essence:

- VMWare created a dynamically allocated "container" file that essentially functions as your virtual Ubuntu drive

- You likely specified a maximum size of 20 GB

- Initially, the actual size of the file was 9 GB

- As you used it and installed programs and such, VMWare increased the size of the container file according to its own space-management algorithm, to 18.6 GB. This is by design.

- You noticed that the actual usage inside the Ubuntu VM was still only around 9 GB - this is normal. VMWare saw the need to provision up to 18.6 GB of space for whatever reason and can go as high as 20GB.

- There is no reason to try to decrease the size of the virtual disk - it can grow but will never shrink. Again this is by design

- When choosing the maximum initial size of a dynamically allocated virtual disk, just make sure you are comfortable with that maximum size being no longer available to your Windows system.

Hope this helps - let us know if not or if you need any other help.

Cheers.
 
1 members found this post helpful.
Old 09-22-2017, 11:18 AM   #3
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
I don't use VMware however I've got some VMs that were installed in VMware. There are prescribed ways of shrinking the VMDKs but I cheat. I install VMware Player 7.1.2 where the VMware tools have the ability to easily shrink the disk.

Or, you don't have to install VMware 7.1.2 (or similar) but just install the 7 series tools and you can easily shrink the VMDK.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Distributed Replicated Storage Across Four Storage Nodes With GlusterFS 3.2.x On Ubuntu 12.04 LXer Syndicated Linux News 0 06-21-2012 03:10 AM
LXer: Distributed Replicated Storage Across Four Storage Nodes With GlusterFS 3.2.x On Ubuntu 11.10 LXer Syndicated Linux News 0 04-20-2012 12:30 PM
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 11.10 LXer Syndicated Linux News 0 04-12-2012 04:10 PM
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 9.10 LXer Syndicated Linux News 0 01-14-2010 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration