W.R.T du space more than the disk size
I am seeing a similar situation wherein nfs mounted share has been allocated 100G ( as seen in df ) however there seems to be a file with size 2.1TB inside it.
OS is Centos 6.9
I understand there can be a variance in sizes reported by df
and du
however i am confused as to why so much difference is there.
From where is the file getting space if the allocation is much lesser than the actual file size ?
df -hTa <path-to-nfs-share>
andstat <2.1TB-file>
. – Thomas Jul 13 '19 at 18:26NULLs
, then there is no problem. The file system will see that there's no actual data and the space on the physical disk will be minimal. This is where Thomas' suggestions will give you more information to work with. – doneal24 Jul 13 '19 at 20:44