LinuxQuestions.org
Visit Jeremy's Blog.
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, 08:17 PM   #1
mhsahkir
LQ Newbie
 
Registered: Dec 2014
Location: U.S.A ,NEWYORK
Posts: 24

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:	17
Size:	39.3 KB
ID:	18801  
 
Old 06-24-2015, 08:21 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
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 08:26 PM.
 
1 members found this post helpful.
Old 06-24-2015, 08:31 PM   #3
Soapm
Member
 
Registered: Dec 2012
Posts: 180

Rep: Reputation: Disabled
Cloning a Drive

wrong thread... Delete...

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

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-25-2015, 12:47 AM   #5
Soapm
Member
 
Registered: Dec 2012
Posts: 180

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:35 AM
how to free the disk space for root file system in rhel4 bhaskar1967 Linux - Newbie 2 09-01-2013 02:41 PM
How to add new commands in root file system of linux 2.6.34 biyabani Linux - Newbie 6 05-21-2013 09:45 PM
I want to add space to my file system junichimataji Linux - Newbie 1 05-09-2011 12:15 AM
File system root low disk space prickee Ubuntu 6 11-20-2009 05:06 AM


All times are GMT -5. The time now is 08:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration