There are two usual reasons for this:
1. Confusing between Megabytes and Mebibytes, Gigabytes and Gibibtes etc. So many programs get it wrong, it's hardly surprising people make small errors in the calculation. Can you show your working so we can check it.
2. Linux doesn't actually delete files until the last link to a file is "unlinked" (the system call which deleted files). Each file has a link count. When the file exists in a directory listing, that counts as one link. If you make a hard link with the ln command from another file name, the link count is incremented. Also, when a program opens a file, the link count is incremented. The file is only deleted when all links (including those from running program who have the file open) have been unlinked.
This means that if programs have files open, but the file has been removed from a directory listing, the space will not be freed up until the last program with the file open has closed the file handle.
You can check for this using the lsof command. As root (or with sudo if it is configured for your user) run this command:
Code:
lsof |fgrep -e DEL -e '(deleted)'