[CentOS] Unable to find the used space

Michael Hennebry

hennebry at web.cs.ndsu.nodak.edu
Mon Jun 29 20:23:11 UTC 2020


On Mon, 29 Jun 2020, Pete Biggs wrote:

>
>>
>> # du -sh /*
>
> Use 'du -xh --max-depth=1 /' it will clean up your output and show you
> only things on the root partition.

Note the reason for -x .
-x is equivalent to --one-file-system .
It says that when searching from a directory,
include only descendants in the same filesystem.

Though rather unlikely, it is possible that none of /*
are in the same filesystem as / ,
hence the need for / rather than /* .

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                              --  someeecards


More information about the CentOS mailing list