?
Solved

Linux, not enough disk space

Posted on 2013-02-05
5
Medium Priority
?
403 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 1336 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 1336 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 79

Assisted Solution

by:arnold
arnold earned 664 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 79

Expert Comment

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

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Fine Tune your automatic Updates for Ubuntu / Debian
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 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