partition 100% full No space left on device. looks like xfs is corrupted or a bug

Eric Sandeen sandeen at sandeen.net
Fri Jul 29 16:49:56 CDT 2016


On 7/29/16 4:01 AM, Lista Unx wrote:
> Hello xfs experts,
>  
> I am crawling in the dark from few days and I have no idea how to fix the following problem. On a centos 7 system:
>  
> # uname -a
> Linux 1a 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>  
> df is reporting 100% full of / and du is reporting only 1.7G usage from 50GB available (less than 4%). I want to mention that / is xfs. See below:
>  
> # df -a|grep ^/
> /dev/mapper/centos-root  52403200 52400396      2804 100% /
>                                      ^^^^^^^^^^   ^^^^^^^^^^
> /dev/sda1                  503040   131876    371164  27% /boot
> /dev/mapper/centos-home 210529792    35204 210494588   1% /home
>  
> du is estimating just 1.7G usage of /
> # du -sch /* --exclude=home --exclude=boot

...

> 0       /lib64
> 744K    /luarocks-2.3.0
> 0       /media
> 0       /mnt
> 125M    /openresty-1.9.7.4
> 0       /opt
> 420K    /root
> 49M     /run
> 0       /sbin
> 0       /srv
> 0       /sys
> 0       /tmp
> 1.3G    /usr
> 227M    /var
> 1.7G    total
> [root at localhost ~]#

Can you include full contents of /proc/mounts?

If you have something bind-mounted or similar, it will hide it from "du" traversal.

-Eric



More information about the xfs mailing list