[PLUG] df shows 33G used, but it does not add up with du

Vram lamsokvr at xprt.net
Mon Jan 9 18:17:23 UTC 2006


On Sun, 2006-01-08 at 23:49 -0800, Robert Anderson wrote:
> I have an xfs filesystem that shows 33G used when I run df...
> 
> [rob at mythtv ~]$ df -h /mythtv
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda5              65G   33G   32G  52% /mythtv
> 
> However, it does not add up to 33G when I run du...
> 
> [rob at mythtv mythtv]$ pwd ; sudo du -hs
> /mythtv
> 21G     .
> 
> I'm confused. Please help. Thanks in advance.
> 
> --
> Rob Anderson
> riznob at gmail.com



xfs uses a different type file system

<quote>

 An XFS filesystem has up to three parts: a data section, a
       log  section,  and  a  realtime section.

<unquote>


Not being an expert in this area <don't use XFS, so no actual
experience> this will be my last word..


Convert to reiserfs and repost...

HTH

Vram










More information about the PLUG mailing list