xfs
[Top] [All Lists]

Re: partition 100% full No space left on device. looks like xfs is corru

To: xfs@xxxxxxxxxxx
Subject: Re: partition 100% full No space left on device. looks like xfs is corrupted or a bug
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 29 Jul 2016 16:49:56 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <4278AB9734C1445A8E48635B155149F8@dinulap>
References: <4278AB9734C1445A8E48635B155149F8@dinulap>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
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@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

<Prev in Thread] Current Thread [Next in Thread>