You are not logged in.

#1 2024-12-12 12:19:33

bad63r
Member
Registered: 2014-07-06
Posts: 14

[RESOLVED] Root Partition Full - Can't find reason why is that

Hi all,

so I am new to Arch Linux. Running it for couple of weeks. All seemed fine until recently where I have noticed that my root partition is full(120 GiB / 130 GiB).

At first I thought that it could have something to do with docker( I have moved default location of containers from /var/lib/docker to /home/bad63r/Applications as described on Arch Wiki https://wiki.archlinux.org/title/Docker#Images_location). I have deleted docker just to confirm that I am not doing something wrong, or that I might miss read something with command 

 sudo pacman -Rns docker

but nothing changed. Root is still full.

This seems strange to me:

 sudo du -h -d 1
[sudo] password for bad63r: 
0       ./sys
8.3G    ./home
du: cannot access './proc/2920/task/2920/fd/4': No such file or directory
du: cannot access './proc/2920/task/2920/fdinfo/4': No such file or directory
du: cannot access './proc/2920/fd/3': No such file or directory
du: cannot access './proc/2920/fdinfo/3': No such file or directory
0       ./proc
2.0M    ./root
370M    ./boot
4.0K    ./mnt
119M    ./var
du: cannot access './run/user/1000/doc': Permission denied
1.9M    ./run
108G    ./~
44K     ./opt
8.1M    ./etc
12K     ./srv
0       ./dev
6.3G    ./usr
4.0K    ./tmp
16K     ./lost+found
123G    .

Notice that 108G is from '~' which leads to my /home/bad63r home directory. But when

du -hs /home/bad63r/
8.3G    /home/bad63r/

it shows me only around 8G of storage that is used.
My journalctl -b: https://pastebin.com/xtVbWNCv Nothing unusual here I think.

Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: KINGSTON SNV2S1000G                     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E9888C36-529A-40F7-8619-40F50BA95F09

Device              Start        End    Sectors  Size Type
/dev/nvme0n1p1       2048    2099199    2097152    1G EFI System
/dev/nvme0n1p2    2099200    2131967      32768   16M Microsoft reserved
/dev/nvme0n1p3    2131968  205826532  203694565 97.1G Microsoft basic data
/dev/nvme0n1p4  205828096  206897151    1069056  522M Windows recovery environment
/dev/nvme0n1p5  206897152  626327551  419430400  200G Microsoft basic data
/dev/nvme0n1p6  626327552  898957311  272629760  130G Linux root (x86-64)
/dev/nvme0n1p7  898957312 1943339007 1044381696  498G Linux home
/dev/nvme0n1p8 1943339008 1953525134   10186127  4.9G Linux swap

I have plasma-meta and couple of other kde apps installed. Might it be that I did something wrong during partition part during installation?

Any advice is highly appreciated,
bad63r

Last edited by bad63r (2024-12-18 02:45:05)

Offline

#2 2024-12-12 13:12:25

cryptearth
Member
Registered: 2024-02-03
Posts: 2,161

Re: [RESOLVED] Root Partition Full - Can't find reason why is that

ls -alFh /
cat /etc/docker/daemon.json

there seems to be an actual folder named "~" at / using up 100gb
wild guess: there's some script contain "~" instead of $HOME which causes this folder and its clutter
do you remember have something along this when you moved docker from /var to /home?
lije:

"data-root": "/~"

Last edited by cryptearth (2024-12-12 13:15:10)

Offline

#3 2024-12-16 23:39:34

bad63r
Member
Registered: 2014-07-06
Posts: 14

Re: [RESOLVED] Root Partition Full - Can't find reason why is that

Yes, that was it. Instead of "full absolute path" I did "~/... " Thank you. This is solved

Offline

#4 2024-12-17 08:40:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,664

Re: [RESOLVED] Root Partition Full - Can't find reason why is that

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB