LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help resizing root filesystem (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-resizing-root-filesystem-4175545586/)

ArunAgrawal 06-17-2015 01:47 AM

Need help resizing root filesystem
 
Hello,

Can I increase my root directory space ? And if its got full should I be able to run any command ?

pan64 06-17-2015 03:15 AM

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 ....

fatmac 06-17-2015 04:49 AM

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.

veerain 06-17-2015 05:47 AM

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.

Code:

mke2fs -m 5 /dev/sdx
tune2fs -m 5 /dev/sdx

Change in above '5' to your required percentage of filesystem space to reserve.


All times are GMT -5. The time now is 03:26 PM.