Let me start off by saying that I’m well aware of the difference between B and iB and this is not a discrepancy involving terminology as it does not relate to total disk space but space used on the disk compared to space available on the disk, both in the same measurement system.
Now that that is out of the way, I have a hard drive reporting with df -h
a total size of 4.6T and only 12K of used space, yet it also says there is only 4.3T of available space. I’m no mathematician but last time I checked 12K =/= 300G… How do I find this “ghost data” and remove it from my drive? I’ve had my server offline for like two days because of this.
I’ve already tried lsof /path/to/drive | grep deleted
but that didn’t help. I’ve also tried shred
and Diskpart> clean /all
(windows) reformatting as ext4 and using fsck
after every thing but nothing seems to get rid of it.
iB
. InMiB
thei
belongs to theMi
prefix. – Kamil Maciorowski Dec 06 '22 at 23:25