mkfile 5mb /export/home/testfile vi /export/home/testfile & rm /export/home/testfile du -sk /export/home/ df -k /export/home/ kill %1 du -sk /export/home/ df -k /export/home/
pvoropaev wrote:That is true until the file is closed. Since the OP mentioned that he has rebooted, all the files must have been closed.
df reads superblock information, while du reads file descriports. So, if some application open some file, and then you or anoser process delete it.
/usr/sbin/lsof +d /mnt/cdrom COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME mc 1547 kos cwd DIR 11,0 2048 53248 /mnt/cdrom bash 1556 kos cwd DIR 11,0 2048 53248 /mnt/cdrom