Solved

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

Posted on 2011-03-14
6
826 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 92

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 92

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now