Solved

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

Posted on 2011-03-14
6
834 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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 this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

808 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