Solved

Linux, not enough disk space

Posted on 2013-02-05
5
390 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
  • 2
  • 2
5 Comments
 
LVL 87

Accepted Solution

by:
rindi earned 334 total points
Comment Utility
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
Comment Utility
How can I expand the standard file system on Linux (Used default file system under RHEL)
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 334 total points
Comment Utility
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 76

Assisted Solution

by:arnold
arnold earned 166 total points
Comment Utility
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 76

Expert Comment

by:arnold
Comment Utility
Response removed,  wrong question.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

743 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

17 Experts available now in Live!

Get 1:1 Help Now