Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-17-2015, 02:47 AM   #1
LQ Newbie
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
Need help resizing root filesystem


Can I increase my root directory space ? And if its got full should I be able to run any command ?
Old 06-17-2015, 04:15 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,876

Rep: Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908Reputation: 2908
I have no idea if you could increase that. It depends on your knowledge, on your configuration. But at least you can try to delete some files....
Please give more informations: your os, your disk layout, partitions ....
Old 06-17-2015, 05:49 AM   #3
Senior Member
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 1,978

Rep: Reputation: Disabled
Welcome aboard.

There is a percentage of space reserved for the root operator to deal with situations like this, however, I am assuming you are a newbie, & therefore, I would advise backing up any important data & reinstalling.

I normally make a / (around 5GB) & /home (the rest of disk) partitions when installing.
Old 06-17-2015, 06:47 AM   #4
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
I say you make root filesystem about 20GB and rest all.

Also ext family of filesystems let you keep some space for 'root' user as an emergency in case of disk full condition.

It is set while making or afterwards using 'tune2fs' utility.

mke2fs -m 5 /dev/sdx
tune2fs -m 5 /dev/sdx
Change in above '5' to your required percentage of filesystem space to reserve.


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
[SOLVED] boots into GRUB after resizing logical volume that has the filesystem socalheel Linux - Software 1 12-26-2013 03:16 PM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 10:36 AM
Resizing Partition but NOT the filesystem eyebrowsoffire Linux - General 9 01-06-2007 05:09 AM
parted - Filesystem Resizing ANU Linux - Software 1 02-03-2006 07:41 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 04:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 AM.

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