Solved

Linux, not enough disk space

Posted on 2013-02-05
5
391 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 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 77

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 77

Expert Comment

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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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…
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 tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

895 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

15 Experts available now in Live!

Get 1:1 Help Now