You are not logged in.

#1 2016-01-20 08:21:45

piling21
Member
Registered: 2016-01-18
Posts: 26

[SOLVED] Low disk space on filesystem root

Hi there,
i did some research and found couple of things how to do it but i was not sure, so this is my filesystem:

Filesystem      Size  Used Avail Use% Mounted on
dev             1.7G     0  1.7G   0% /dev
run             1.7G  992K  1.7G   1% /run
/dev/sda2       6.7G  6.4G     0 100% /
tmpfs           1.7G  372K  1.7G   1% /dev/shm
tmpfs           1.7G     0  1.7G   0% /sys/fs/cgroup
tmpfs           1.7G     0  1.7G   0% /tmp
/dev/sda4       139G  7.1G  125G   6% /home
/dev/sda1        92M   38M   48M  44% /boot
tmpfs           342M   16K  342M   1% /run/user/120
tmpfs           342M   20K  342M   1% /run/user/1000

i got this warning : http://prntscr.com/9sf1gx

Last edited by piling21 (2016-01-21 09:29:19)

Offline

#2 2016-01-20 08:55:46

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,391
Website

Re: [SOLVED] Low disk space on filesystem root

How to do what? What exactly are you trying to achieve? Please post your questions in a clear and smart manner.

Offline

#3 2016-01-20 09:01:02

phw
Member
Registered: 2013-05-27
Posts: 141

Re: [SOLVED] Low disk space on filesystem root

What's likely eating quite some of your disc space is the pacman cache, which is located at /var/cache/pacman. You should periodically clean that, see https://wiki.archlinux.org/index.php/pa … kage_cache . That should give you some more space.

You can find out what  directory uses most space with the "du" command. Try running this as root, it will show you the disc space used for each top level directory:

du -sh /*

In general 6.7GB is a bit low for root, especially if this partition also contains /var. I would recommend mounting /var on a separate partition of 6-8 GB. This gives you some room for the pacman cache and other variable data. The pacman cache can be quite important in case of you need rollback to a previous package after an update. Without /var 6.7GB could be sufficient for the root partition, but that depends on your usage. If you install a lot of software you can easily fill that up (my /usr curently takes 7.1 GB, but you can easily have a lean system that takes only a fraction of this).

Last edited by phw (2016-01-20 09:02:36)

Offline

#4 2016-01-20 09:45:41

piling21
Member
Registered: 2016-01-18
Posts: 26

Re: [SOLVED] Low disk space on filesystem root

sorry i thought with ss it'll be clear. i would like to shrink home directory and increase root directory. but i dont know how to do it. thank you.

Offline

#5 2016-01-20 10:39:03

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 278

Re: [SOLVED] Low disk space on filesystem root

The 6.4G is definitely too small for a root partition for most machines. I keep pacman cache on a separate drive and it still uses about 10.5G. I don't think I could recommend most people go below 15G but I use 25G for some breathing room.

You might want to clear your pacman cache so that you have space to move things around and then think about resizing things a bit to move some more space to root from home.


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#6 2016-01-20 10:42:35

satanselbow
Member
Registered: 2011-06-15
Posts: 532

Re: [SOLVED] Low disk space on filesystem root

piling21 wrote:

sorry i thought with ss it'll be clear. i would like to shrink home directory and increase root directory. but i dont know how to do it. thank you.

Posting output and expecting folks to know what you see as the problem is kinda pushing the boundaries wink

Boot your install medium and move partitions around / resize from there or use any liveCD that has gparted available - cursing your poor choice of schema and lack of foresight as you work... whistling is optional.

Offline

#7 2016-01-20 11:15:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,361

Re: [SOLVED] Low disk space on filesystem root

satanselbow wrote:
piling21 wrote:

sorry i thought with ss it'll be clear. i would like to shrink home directory and increase root directory. but i dont know how to do it. thank you.

Posting output and expecting folks to know what you see as the problem is kinda pushing the boundaries wink

Indeed. piling21, please put some effort into your posts. We're (mostly) not mind readers.

Please read through How To Ask Questions The Smart Way


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#8 2016-01-20 16:37:25

piling21
Member
Registered: 2016-01-18
Posts: 26

Re: [SOLVED] Low disk space on filesystem root

Okay guys, sorry for lack of information. I'll  reintsall the os again. Whats your recommended partition size? Can you help me with that, at least? thank you.

Offline

#9 2016-01-20 16:43:19

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,686

Re: [SOLVED] Low disk space on filesystem root

You don't need to reinstall. Just resize your partitions with gparted, as satanselbow already recommended. Or clear your pacman cache as phw recommended.

My Arch install uses 3.5G in its root partition (also contains /home); while 6.4G is small, it's not impossible to have an Arch install that fits easily in this much space. Check out the "how big is your root" topic for other people who have small root partitions.

https://bbs.archlinux.org/viewtopic.php?id=141574

The Beginners' Guide recommends 20G for a root partition with a separate /home.

Last edited by 2ManyDogs (2016-01-20 16:46:13)

Offline

#10 2016-01-20 22:11:39

satanselbow
Member
Registered: 2011-06-15
Posts: 532

Re: [SOLVED] Low disk space on filesystem root

2ManyDogs wrote:

The Beginners' Guide recommends 20G for a root partition with a separate /home.

I run 50G ... cos I is greedy... currently 38.4G used wink

Offline

#11 2016-01-21 09:28:49

piling21
Member
Registered: 2016-01-18
Posts: 26

Re: [SOLVED] Low disk space on filesystem root

ok, i solved to partition thing. thanks for your help.

Offline

Board footer

Powered by FluxBB