Why is df -Th not showing correct disk usages?
Issue
df -Th
command for fileystem shows old disk usage and not updated once a 5GB temp01.dbf has been created.- For example, the file size from
ls -l
is listed as 5GB, but df only shows 140MB on the filesystem in use:
# cd /mnt/oracle/temp/D5XSCD
# ls -lrth
total 96K
drwx------ 2 oracle dba 16K Jul 13 09:03 lost+found
-rw-r----- 1 oracle oinstall 5.1G` Nov 15 13:43 temp01.dbf
# df -Th /mnt/oracle/temp/D5XSCD
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vg_17459-lv_temp_17459
ext3 9.9G 140M 9.8G 2% /mnt/oracle/temp/D5XSCD
Environment
- Red Hat Enterprise Linux 5, 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.