Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the following df -h output:

/dev/mfid0s1d    9.7G    8.9G     28K   100%    /var

However, when I try to du -hs /var, I got this result:

#du -hs /var
3.3G    /var

My question is, where the hell is my 5.6G data? Or, maybe there's something I don't understand about freebsd?

My server info:

#uname -a
FreeBSD blablbalba.example.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Apr 10 04:13:38 WIT 2010     adminmail@blablabla.example.com:/usr/obj/usr/src/sys/GENERIC  amd64
share|improve this question
    
What kind of storage volume is mfid0s1d? Some unices (e.g. Solaris) can have multiple filesystems sharing the same storage area, so this situation could arise if /var and another filesystem shared a 9.6GB volume. I don't know if this exists in FreeBSD. –  Gilles Oct 5 '10 at 21:47
    
@Giles: I'm not really sure how to check it. Do know the command? –  ariefbayu Oct 5 '10 at 22:39
add comment

1 Answer

up vote 0 down vote accepted

My sysadmin told be that du & dh something give a delayed result. Because, after several minutes, I check back and du did display right value.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.