I truncated a 145GB table today, but the space did not return to the OS. I already validated inside the database, and the table is now empty.
Despite space was not freed to the OS, I notice that running the du
command in the partition already reports 145GB less, but when I run df -h
it does not. A discrepancy of 145GB cannot be because of inode size.
I am running a Mirth server with a Postgres 9.3 database in a CentOS 7.
Any clue why space was not freed?