You are not logged in.
Hi folks,
I did recently install docker and started pulling docker images to learn but then started getting error messages that was related to running out of storage.
I discovered that docker caches images in /var/lib/docker/devicemapper... and as a result my root folder was completely full so I deleted all the docker images but the /var/lib/docker... folder was still taking up most of the space, around 17GB. I deleted a 17GB 'data' file in the /var/lib/docker/devicemapper/devicemapper folder which reduced the size of the /var folder however when I do "df -h" I get the following output:
[root@xps /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 24G 21G 1.5G 94% /
dev 2.0G 0 2.0G 0% /dev
run 2.0G 624K 2.0G 1% /run
tmpfs 2.0G 29M 2.0G 2% /dev/shm
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 176K 2.0G 1% /tmp
/dev/sda1 88M 35M 47M 43% /boot
/dev/sda4 101G 13G 84G 13% /home
tmpfs 396M 0 396M 0% /run/user/1000
When I do "ncdu -x /" as root from the "/" directory I get the following output:
2.8GiB [##########] /usr
532.1MiB [# ] /var
168.5MiB [ ] /root
16.2MiB [ ] /opt
10.8MiB [ ] /etc
9.3MiB [ ] /srv
32.0KiB [ ] /mnt
e 16.0KiB [ ] /lost+found
8.0KiB [ ] /media
@ 0.0 B [ ] sbin
@ 0.0 B [ ] lib64
@ 0.0 B [ ] lib
@ 0.0 B [ ] bin
> 0.0 B [ ] /tmp
> 0.0 B [ ] /sys
> 0.0 B [ ] /run
> 0.0 B [ ] /proc
> 0.0 B [ ] /home
> 0.0 B [ ] /dev
> 0.0 B [ ] /boot
The biggest folder is /usr taking up 2.8GB.
I have performed "pacman -Qdt" to remove orphan packages, "pacman -Sc" to remove packages not installed on my system,
Would someone please help me find out why I have 21G used and how to free up this space?
Thanks, Peter
UPDATE: I rebooted my session and noticed a message about FSCK during bootup. When I performed "df -h" I found that my root partition had cleared itself to show the following output:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 24G 3.6G 19G 17% /
.
Last edited by preginald (2014-08-28 07:16:43)
Offline
PLease use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Use ncdu to find what is using the space...
Offline