[woody] du e df: non tornano i conti
Scusatemi se la domanda può sembrare banale... ma ho un problema
stranissimo:
midnight:/# mount
/dev/hda1 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb1 on /home type ext3 (rw)
/dev/hdb2 on /public type ext3 (rw)
/dev/hda2 on /var type ext2 (rw)
midnight:/# du -shx /
338M .
midnight:/# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 957M 697M 212M 77% /
midnight:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 957M 697M 212M 77% /
/dev/hdb1 20G 15G 4.1G 78% /home
/dev/hdb2 56G 53G 681M 99% /public
/dev/hda2 2.8G 360M 2.3G 14% /var
Il problema è che su hda1 mi riporta 697M usati (df)... quando in realtà ne
usa 338! (du).
O sono veramente cotto e non ho pensato a qualcosa... o c'è qualcosa che non
va.
Questo problema lo ho da quando ho spostato il mountpoint di /dev/hda2 da
/var/log a /var (provvedendo a spostare ovviamente tutti i dati). Il sistema
gira bene, tutto è regolare...
Boh... non capisco proprio. Qualche idea?
Grazie, Ezio.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/03
Reply to: