Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: How is my /root partition full at 100%?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Thu Jan 03, 2019 6:34 pm    Post subject: SOLVED: How is my /root partition full at 100%? Reply with quote

Confused, why is my root-partition full??

her my
Code:


 # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       4.0G  4.0G     0 100% /
tmpfs           382M  980K  381M   1% /run
dev              10M     0   10M   0% /dev
shm             1.9G   34M  1.9G   2% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
/dev/sda1        97M   16M   77M  18% /boot
/dev/sda5       256G  138G  106G  57% /home
/dev/sda6        14G  7.7G  5.5G  59% /usr
/dev/sda7       4.0G  411M  3.4G  11% /opt
/dev/sda8       4.0G  627M  3.2G  17% /var
/dev/sda9       9.9G  151M  9.2G   2% /tmp


and

Code:

# du -sh /home
138G    /home


and

Code:

# du -h /var/log
32K     /var/log/telnet
3.7M    /var/log/everything
20K     /var/log/portage/elog
24K     /var/log/portage
32K     /var/log/pwdfail
4.0K    /var/log/news
3.1M    /var/log/ConsoleKit
3.8M    /var/log/kernel
16K     /var/log/critical
24K     /var/log/hp
4.0K    /var/log/transmission
4.0K    /var/log/mysql
32K     /var/log/wicd
4.0K    /var/log/snort
4.0K    /var/log/privoxy
32K     /var/log/cron
1.7M    /var/log/cups
20K     /var/log/sandbox
22M     /var/log


Cheers for any insights!

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"


Last edited by lo-jay on Thu Jan 03, 2019 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54782
Location: 56N 3W

PostPosted: Thu Jan 03, 2019 6:47 pm    Post subject: Reply with quote

lo-jay,

Well
Code:
/dev/sda1 97M 16M 77M 18% /boot
/dev/sda5 256G 138G 106G 57% /home
/dev/sda6 14G 7.7G 5.5G 59% /usr
/dev/sda7 4.0G 411M 3.4G 11% /opt
/dev/sda8 4.0G 627M 3.2G 17% /var
/dev/sda9 9.9G 151M 9.2G 2% /tmp
are all in their own partitions, so we can rule them out.

How much space does /bin, /etc, /lib/, /lib64, /mnt, /root and /sbin take up?
Code:
du -h -d1 /bin
and so on.

linux-firmware, if you install it all, is over 512Mb in /lib/firmware.
/mnt should we almost empty be if you put something there without doing a mount, then it goes into your root filesystem.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Thu Jan 03, 2019 6:50 pm    Post subject: Reply with quote

here we go

Code:
# du -h -d1 /bin
8.2M    /bin


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Thu Jan 03, 2019 6:51 pm    Post subject: Reply with quote

Code:
# du -h -d1 /etc
28K     /etc/runlevels
4.0K    /etc/mplayer2
4.0K    /etc/opt
36K     /etc/logrotate.d
16K     /etc/local.d
12K     /etc/ssmtp
16K     /etc/openvpn_ita
8.0K    /etc/profile.d
36K     /etc/eselect
24K     /etc/imlib
8.0K    /etc/bonobo-activation
8.0K    /etc/geoclue
12K     /etc/bash
8.0K    /etc/ca-certificates
696K    /etc/gconf
8.0K    /etc/UPower
8.0K    /etc/xinetd.d
12K     /etc/dhcp
8.0K    /etc/mtools
44K     /etc/openldap
20K     /etc/hotplug
12K     /etc/conky
8.0K    /etc/cron.weekly
12K     /etc/polkit-1
48K     /etc/security
24K     /etc/NetworkManager
144K    /etc/env.d
12K     /etc/OpenCL
24K     /etc/bluetooth
40K     /etc/openvpn
88K     /etc/terminfo
44K     /etc/postgresql-9.3
4.0K    /etc/cron.hourly
1004K   /etc/ssl
532K    /etc/privoxy
20K     /etc/skel
84K     /etc/ppp
12K     /etc/gtk-3.0
20K     /etc/cron.daily
8.0K    /etc/sysctl.d
100K    /etc/portage
20K     /etc/sasl2
20K     /etc/gpm
244K    /etc/fonts
20K     /etc/tor
12K     /etc/ld.so.conf.d
12K     /etc/mysql
8.0K    /etc/clive
32K     /etc/iproute2
60K     /etc/gimp
24K     /etc/gtk-2.0
28K     /etc/mplayer
20K     /etc/ConsoleKit
36K     /etc/systemd
24K     /etc/etherape
84K     /etc/lvm
4.0K    /etc/cron.monthly
100K    /etc/dbus-1
84K     /etc/cups
8.0K    /etc/pkcs11
4.0K    /etc/udisks2
6.4M    /etc/udev
140K    /etc/pam.d
12K     /etc/adobe
232K    /etc/ImageMagick-6
64K     /etc/grub.d
116K    /etc/xdg
16K     /etc/openvpn_ita2
20K     /etc/openvpn_se
24K     /etc/modprobe.d
20K     /etc/default
12K     /etc/vim
4.0K    /etc/config-archive
36K     /etc/pm
72K     /etc/X11
32K     /etc/samsung-tools
4.0K    /etc/cron.d
40K     /etc/sgml
16K     /etc/hal
12K     /etc/libnl
48K     /etc/htdig
16K     /etc/sound
8.0K    /etc/eixrc
16K     /etc/syslog-ng
36K     /etc/postgresql-9.1
8.0K    /etc/mail
12K     /etc/eclean
360K    /etc/snort
252K    /etc/ssh
16K     /etc/gnome-vfs-2.0
4.0K    /etc/sudoers.d
24K     /etc/acpi
12K     /etc/wpa_supplicant
8.0K    /etc/at-spi2
152K    /etc/wicd
16K     /etc/pango
20K     /etc/portsentry
12K     /etc/wireless-regdb
4.0K    /etc/pptp.d
412K    /etc/init.d
16K     /etc/sandbox.d
260K    /etc/conf.d
8.0K    /etc/kernel
16K     /etc/revdep-rebuild
4.0K    /etc/smartd_warning.d
20K     /etc/xml
14M     /etc


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Thu Jan 03, 2019 6:56 pm    Post subject: Reply with quote

Code:
# du -h -d1 /lib
0       /lib


&

Code:
# du -h -d1 /lib64
112K    /lib64/tc
12K     /lib64/rcscripts
692K    /lib64/security
56K     /lib64/device-mapper
144K    /lib64/firmware
376K    /lib64/systemd
5.9M    /lib64/udev
8.0K    /lib64/modprobe.d
196K    /lib64/netifrc
16K     /lib64/gentoo
15M     /lib64/modules
420K    /lib64/rc
76K     /lib64/dhcpcd
33M     /lib64


&

Code:

# du -h -d1 /mnt
4.0K    /mnt/cdrom
4.0K    /mnt/floppy
3.7G    /mnt/USB
3.7G    /mnt


&

Code:

# du -h -d1 /root
12K     /root/.wireshark
40K     /root/.config
12K     /root/.vidalia
8.0K    /root/.hplip
8.0K    /root/.mplayer
96K     /root/.gconf
4.0K    /root/.gconfd
3.7M    /root/.tor
24K     /root/.local
32K     /root/.dbus
4.0K    /root/.gnome2_private
12K     /root/.gnome2
2.4M    /root/.bcast
4.0K    /root/.wicd
4.0K    /root/.icons
12M     /root/foo2zjs
144K    /root/.gnupg
42M     /root/.kde4
60M     /root



& finally

Code:

# du -h -d1 /sbin
25M     /sbin


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Thu Jan 03, 2019 7:00 pm    Post subject: Reply with quote

SOLVED:

Had some big files copied to /mnt/USB

Just cleaned up:

Code:
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       4.0G  281M  3.5G   8% /
tmpfs           382M  980K  381M   1% /run
dev              10M     0   10M   0% /dev
shm             1.9G   31M  1.9G   2% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
/dev/sda1        97M   16M   77M  18% /boot
/dev/sda5       256G  138G  106G  57% /home
/dev/sda6        14G  7.7G  5.5G  59% /usr
/dev/sda7       4.0G  411M  3.4G  11% /opt
/dev/sda8       4.0G  627M  3.2G  17% /var
/dev/sda9       9.9G  151M  9.2G   2% /tmp


Thank you so much for pointing me into the right direction!!!

:D

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23055

PostPosted: Fri Jan 04, 2019 2:24 am    Post subject: Reply with quote

You may find it useful to arrange that /mnt/USB on the root filesystem is not writable, so that attempting to copy files to it without mounting a separate filesystem will fail instead of copying to the root filesystem. When another filesystem is mounted there, the permissions of root's /mnt/USB will not apply.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri Jan 04, 2019 2:28 am    Post subject: Reply with quote

Good tip, Hu!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum