Solved

Linux, not enough disk space

Posted on 2013-02-05
5
397 Views
Last Modified: 2013-02-06
If my Linux VM has too little space, I could allocation more space to it with VMWare, but my question is:

Is there an easy way to have Linux 'grow' the  size of its disk space ?

Is there a way to do this without assigning another disk, but to stretch the original disk that was created by Linux with out installing the OS again ?
0
Comment
Question by:Los Angeles1
[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
  • 2
  • 2
5 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 334 total points
ID: 38855896
You can boot the VM to the PartedMagic LiveCD, then use it's Partition Editor to increase the size of the partitions:

http://partedmagic.com

With some filesystems and disk schemes you can also resize partitions while your OS is online and partitions mounted (for example LVM, and XFS filesystems, or as far as I know also the experimental btrfs file-system).
0
 

Author Comment

by:Los Angeles1
ID: 38855927
How can I expand the standard file system on Linux (Used default file system under RHEL)
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38856099
I would probably use the PartedMagic LiveCD as I mentioned above, as it is easy and straight forward there.

As you are talking about RedHat, which normally uses LVM and EXT4 by default you can also check the Link below:

http://pubmem.wordpress.com/2010/09/16/how-to-resize-lvm-logical-volumes-with-ext4-as-filesystem/
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 166 total points
ID: 38856160
Are you using LVM within the VM?
If you are using LVM, you can within VMware either allocate another disk which can the be added to grow the volume group and then expand the logical volumes.
Create a snapshot for the VM before making the change of resizing the allocated disk and then see whether you can expand accordingly.
0
 
LVL 78

Expert Comment

by:arnold
ID: 38858111
Response removed,  wrong question.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet and mdb, jms error 1 57
The better OS Architecture 13 91
Install XRDP on Ubuntu Server 16.10 x64 3 63
Ubuntu don’t allow SU command in terminal 7 67
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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