?
Solved

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

Posted on 2011-03-14
6
Medium Priority
?
854 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:Alexey Fedorov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 97

Assisted Solution

by:Experienced Member
Experienced Member earned 1000 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:Alexey Fedorov
ID: 35171871
VMware Converter resizes only virtual drive, but doesn't resize the file system of guest OS.
0
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
LVL 97

Assisted Solution

by:Experienced Member
Experienced Member earned 1000 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:
Alexey Fedorov 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:Alexey Fedorov
ID: 35410117
Detailed step by step guide is given.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

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.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…
Suggested Courses

800 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