Solved

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

Posted on 2011-03-14
6
821 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
Comment Utility
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 90

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
Comment Utility
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
Comment Utility
VMware Converter resizes only virtual drive, but doesn't resize the file system of guest OS.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 90

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
Comment Utility
>>> 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
Comment Utility
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
Comment Utility
Detailed step by step guide is given.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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