LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2015, 07:17 PM   #1
mhsahkir
LQ Newbie
 
Registered: Dec 2014
Location: U.S.A ,NEWYORK
Posts: 26

Rep: Reputation: Disabled
How to add more space in linux root file system?


Right now my virtual machine almost used space 92%,so if i want to add more space or extent the root file system, what is the way do that? Thanks advance.
Attached Thumbnails
Click image for larger version

Name:	10841685_1753591018199656_906670736_n.jpg
Views:	29
Size:	39.3 KB
ID:	18801  
 
Old 06-24-2015, 07:21 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
If the VG is large enough, you can shrink another LV and expand your root LV

If it's not, and 7 GB is all you allocated for the entire VM, you'll have to use your VM tools to expand the drive (if that's possible), then expand your VG and LV to use the added space. If your VM tools can't expand the drive, you can probably add a second disk to your VM, then inside the VM you can add this new disk to your VG and expand your LV.

That was way too many 2-letter acronyms...

VM = virtual machine
VG = LVM volume group
LV = LVM logical volume

Last edited by suicidaleggroll; 06-24-2015 at 07:26 PM.
 
1 members found this post helpful.
Old 06-24-2015, 07:31 PM   #3
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Rep: Reputation: Disabled
Cloning a Drive

wrong thread... Delete...

Last edited by Soapm; 06-24-2015 at 07:34 PM.
 
Old 06-24-2015, 08:40 PM   #4
mhsahkir
LQ Newbie
 
Registered: Dec 2014
Location: U.S.A ,NEWYORK
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks for your reply @suicidaleggroll i am trying to expand the disk under LVM. @Soapm most stupid reply i have ever seen.
 
Old 06-24-2015, 11:47 PM   #5
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Rep: Reputation: Disabled
Quote:
Originally Posted by mhsahkir View Post
Thanks for your reply @suicidaleggroll i am trying to expand the disk under LVM. @Soapm most stupid reply i have ever seen.
??? I posted my reply in the wrong thread so I deleted it??? You think I should have left it though it didn't apply???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to find disk space in root file system. manoj.linux Solaris / OpenSolaris 2 09-13-2013 06:35 AM
how to free the disk space for root file system in rhel4 bhaskar1967 Linux - Newbie 2 09-01-2013 01:41 PM
How to add new commands in root file system of linux 2.6.34 biyabani Linux - Newbie 6 05-21-2013 08:45 PM
I want to add space to my file system junichimataji Linux - Newbie 1 05-08-2011 11:15 PM
File system root low disk space prickee Ubuntu 6 11-20-2009 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration