Solved

CentOS 5.5 in VMware under Windows 7: running out of disk space

Posted on 2011-03-14
6
829 Views
Last Modified: 2012-05-11
Hi, guys!

I'm using the subj and after installing some packages into Linux inside VMware almost run out of disk space. It was 60% empty, but now became only 13% empty. In what way could I extend the disk's storage size?

With best regards,
Aleksey
0
Comment
Question by:alexf2
  • 3
  • 2
6 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 35131524
you may have to use vconvertor to convert the vm to a new vm with a bigger drive

you can in the vm settings if the drive is scsi yes but you have run sa oartion tool in linux to make linux understand thre new size as the partition will not grom the drive will
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
ID: 35131532
Take a look on the VMware website for VMware Converter. You can download it and it is free. You might be able to use Converter to make a bigger machine. I have done this for Windows XP guests and Windows 2000 guest that were running out of space and Converter allow me to make a bigger machine. It does work, I just am not certain about Linux guests.  Certainly try it. ... Thinkpads_User
0
 

Author Comment

by:alexf2
ID: 35171871
VMware Converter resizes only virtual drive, but doesn't resize the file system of guest OS.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
ID: 35171891
>>> In what way could I extend the disk's storage size?

So if VMware Converter gives you a bigger virtual drive, are there Linux tools to make use of the additional space?  In the Windows world, one might use something like Partition Magic to make the partition larger.

... Thinkpads_User
0
 

Accepted Solution

by:
alexf2 earned 0 total points
ID: 35373120
Hi, guys!
Excuse me for a delay. I extended the VM's disk. Here is the step by step instruction (OS: CentOS 5.5).

1. In Windows find vmware-vdiskmanager.exe. It must be in xx:\Program Files\VMware\VMware Server.
Find your VMDK file (xx:\Virtual Machines\xxx). Notice: there are two of them. Choose the shortest one.

Stop all the VmWare services. Kill vmware-vmx.exe process. This unlocks VMDK.

Than, execute:
vmware-vdiskmanager.exe -x 10Gb "YOUR_DISK.vmdk"  (full paths are omitted)

It will be working for some time, than reports OK.

2. Now VM's disk is expanded. You have to move/resize the partitions inside the guest OS.
Start VmWare, open VM's console, press F2 during booting, change boot devices sequence to use the CD-ROM firstly.

Download GParted Live CD (http://gparted.sourceforge.net/livecd.php) and place ISO into xx:\Virtual Machines\xxx

Attach ISO to the VM and boot from it. Extend the disk in GParted, move swap partition to the end, extend the root partition.

Yiu got it!
0
 

Author Closing Comment

by:alexf2
ID: 35410117
Detailed step by step guide is given.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question