You are not logged in.

#1 2016-02-03 15:07:26

pmatts
Member
Registered: 2015-02-23
Posts: 25

[Solved] Missing disk space on root (LOTS) - permission denied

I'm stumped. Usually I use xdiskusage to find where i'm losing space. Its worked great until now. It now shows 13Gb of space as "permission denied".

Root is on /dev/sda8. Its size is shown correctly by df and gparted at aroung 25Gb.

xdiskusage and boabab both only display info for about 8.4Gb as does du shown here:

[x@testing ~]$ su
Password: 
[root@testing x]# df -h
Filesystem               Size  Used Avail Use% Mounted on
dev                      7,9G     0  7,9G   0% /dev
run                      7,9G  832K  7,9G   1% /run
/dev/sda8                 25G   23G  874M  97% /
tmpfs                    7,9G     0  7,9G   0% /dev/shm
tmpfs                    7,9G     0  7,9G   0% /sys/fs/cgroup
x@192.168.0.110:/home/x  124G   74G   45G  63% /media/x_kodi
tmpfs                    7,9G   28K  7,9G   1% /tmp
/dev/sda5                 44G   24G   18G  57% /mnt/server/i5
/dev/sda7                 25G  6,9G   17G  30% /mnt/server/Recovery
/dev/sda4                 79G   22G   54G  29% /home
/dev/sda1                511M   51M  461M  10% /boot
tmpfs                    1,6G  8,0K  1,6G   1% /run/user/1000
[root@testing x]# cd /
[root@testing /]# du -xhc --max-depth=1
12K     ./.Trash-0
16K     ./mnt
5,6G    ./usr
4,0K    ./media
22M     ./etc
230M    ./opt
39M     ./root
16K     ./srv
2,6G    ./var
8,4G    .
8,4G    total
[root@testing /]# du -sxh *
0       bin
51M     boot
0       dev
22M     etc
22G     home
0       lib
0       lib64
4,0K    media
16K     mnt
230M    opt
du: cannot access ‘proc/2332/task/2332/fd/4’: No such file or directory
du: cannot access ‘proc/2332/task/2332/fdinfo/4’: No such file or directory
du: cannot access ‘proc/2332/fd/4’: No such file or directory
du: cannot access ‘proc/2332/fdinfo/4’: No such file or directory
0       proc
39M     root
832K    run
0       sbin
16K     srv
0       sys
12K     tmp
5,6G    usr
2,6G    var
[root@testing /]# 

Where the heck is my missing 13Gb?? The usual tools have failed me. What can I do?

Last edited by pmatts (2016-02-03 15:46:08)

Offline

#2 2016-02-03 15:27:20

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [Solved] Missing disk space on root (LOTS) - permission denied

Mod note: Not a sysadmin topic, moving to NC.

What filesystem are you using? Mount your root partition to a second location and re-run du (without -x) on that location.

e.g.

mount /dev/sda8 /media/rootfs
du -hc /media/rootfs

Perhaps you have files hidden under the other mounted filesystems, mounting the rootfs in a different place will allow you to check this.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-02-03 15:44:21

pmatts
Member
Registered: 2015-02-23
Posts: 25

Re: [Solved] Missing disk space on root (LOTS) - permission denied

Thats a nice trick smile

This revealed that the 13Gb was my old home lying quietly behind my new mounted home.

Thankyou wormzy

Offline

Board footer

Powered by FluxBB