LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-22-2016, 05:19 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
Increase file Space in root


Hi
Fairly new install of Ubuntu-mate yet I keep getting low disk space warnings for my root partition.
When I select 'root' in my File System volume I cannot view the contents or get an accurate size.
Is there a good 3rd party utility that helps remove unnneccesary files in your root to reclaim space?
 
Old 12-22-2016, 05:30 PM   #2
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Rep: Reputation: 18
Hey echo_bach,

Out of curiosity, have you run fsck (or such) on the partition? It might have problems other than not enough space.


If it is only a space problem, here's a link that might help, especially part 6a: https://ubuntuforums.org/showthread.php?t=1122670

HTH,
Dave
 
Old 12-22-2016, 06:23 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
AFAIK there aren't any unnecessary files in the root fs:-

Your can resize the root partition with g-parted but you need to be careful and accurate at doing so. Otherwise the system could become unbootable. You can't be booted into Ubuntu in order to resize it.

http://gparted.org/

http://www.binarytides.com/linux-com...sk-partitions/
 
Old 12-22-2016, 07:10 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by eco_bach View Post
Hi
Fairly new install of Ubuntu-mate yet I keep getting low disk space warnings for my root partition.
When I select 'root' in my File System volume I cannot view the contents or get an accurate size.
Is there a good 3rd party utility that helps remove unnneccesary files in your root to reclaim space?
If you have a split system. Log in as root, wait you got ubuntutu (sucks) if you did not have ubuntututu.

All you'd have to do is log in as root, and use Gparted. Being logged in as root, you would be able to unmount the user partition. Then using Gparted, move the end next to the root partition over to get it ready to give it to the root partition.....

well you could try using a USB Live stick that has Gparted. then move your partitions. then take that extra space and put it into the root partition, murge. then you'd be ok. it is not a hard thing to do, Just need to be able to unmount the partition you're are srinking.
 
Old 12-23-2016, 06:32 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,479

Rep: Reputation: Disabled
In a terminal run
Quote:
df -h
that will show you your disk sizes, used, & available space.

Did you install everything into one single partition?
Do you have any free space left on your disk?

(I don't think Ubuntu lets a 'user' look into the /root, unless you use sudo.)

Last edited by fatmac; 12-23-2016 at 06:35 AM.
 
Old 12-23-2016, 07:15 AM   #6
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Rep: Reputation: 18
Ah...fatmaac caught what I missed in the original post.

eco_bach, you might be confusing the user root's home directory (designated '/root') with the root directory (designated '/'). The root directory ('/') contains the entire Linux install, which may be spread over one to several partitions. The user root's home directory ('/root') is just one part of the root directory, and likely does not have its own partition.

HTH,
Dave

Last edited by dlb101010; 12-23-2016 at 07:19 AM.
 
Old 12-23-2016, 08:19 AM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Fatmac has good advice to try 'df -h' for more details.

You mentioned in your post of 12/10 that you know how to edit partitions running gparted from a liveusb. So, do that. (Back up any important data first, just in case.)

Quote:
Originally Posted by eco_bach View Post
Thanks. Yes used gparted on a boot USB. Seems to give finer control over setting up your partitions.
Give yourself a large enough root partition for your present and future needs; mine is 40gb for example. Or, don't use a separate / partition if you don't want to; it is perfectly alright for most users to have a single partition for both / and /home.

There aren't really any "unnecessary files in root" so don't fall into the trap of randomly deleting things you don't understand. Enlarge the partition or buy a bigger hard drive. Storage is cheap in the year 2016.

Last edited by snowday; 12-23-2016 at 08:33 AM.
 
Old 12-23-2016, 09:11 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Bleachbit (https://www.bleachbit.org/) might be of use to you (I use it in 2 ways, as a user and as root), but you need to use it carefully and wisely.

Until you are used to its operation, it's advisable to make a system backup before use.

Bleachbit doesn't make massive changes to size though, so for long-term sanity you should consider increasing the size of the root partition (if your problem is because of its limited size, not because of it being filled up by a wayward application). GParted will show you how big your root partition is and how much of it is used up.
 
  


Reply

Tags
ubuntu



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
How to Increase Space in Filesystem Root, because I only have 188.54MB left? Mihael Keehl Linux - Newbie 1 09-18-2011 01:46 PM
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 04:04 AM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
increase root file system size superraylo Linux - Hardware 5 05-29-2006 01:40 AM
increase shared file space jaac Linux - Networking 1 11-10-2001 03:29 AM

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

All times are GMT -5. The time now is 08:39 AM.

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