I note some files with smaller apparent size that actual size, i.e., opposite to sparse file. It's a difference of 100MB, not a few KB. What sort of file is this, why, and how would one create such file?
Code:
[pigsa@pigsa journal]# du -h *
101M WiredTigerLog.0000000001
101M WiredTigerPreplog.0000000001
[pigsa@pigsa journal]# du -h --apparent-size *
144K WiredTigerLog.0000000001
128 WiredTigerPreplog.0000000001
Note:
1) Ext4 filesystem
2) These are oplog files of mongodb 3 wiredtiger storage engine... But I am interested in the phenenom of small apparent size, rather than what wiredtiger is.