Here's an explanation I found in the nets: difference between disk usage (du) and free blocks displayer (df)
if a file makes use of 2KB of 1 MB block du will display that the file had used only 2KB but df would display that 1 MB had been used as its displaying only the free blocks available, even if 1 byte is used in 1MB free block, the free block is no more a free block and its used. Source: http://www.unix.com/unix-dummies-questions-answers/29223-sco-unix-disk-space.html -- Randell http://nullpointer.ph/ On Thu, Nov 24, 2011 at 6:00 PM, Michael Tinsay <[email protected]> wrote: > Hi. > > > In one of my servers, "df -h" produces: > > Filesystem Size Used Avail Use% Mounted on > /dev/md0 3.7G 3.7G 0 100% / > varrun 3.0G 104K 3.0G 1% /var/run > varlock 3.0G 0 3.0G 0% /var/lock > udev 3.0G 108K 3.0G 1% /dev > devshm 3.0G 0 3.0G 0% /dev/shm > /dev/md1 3.7G 288M 3.3G 9% /var > > Note that / is 100% used up (3.7GB). > > But if a run (as root) "du -chxP /", the total it gives me is only 2.1GB. > > Where could the 1.6GB difference be? > > > --- mike t. > > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > http://lists.linux.org.ph/mailman/listinfo/plug > Searchable Archives: http://archives.free.net.ph >
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

