sparsify - utility to punch out blocks of 0s in a file

Eric Sandeen sandeen at redhat.com
Sat Feb 4 14:17:30 CST 2012


On 2/4/12 2:10 PM, Eric Sandeen wrote:

> Hm but something is weird, right after the punch-out xfs says
> it uses 84K:
> 
> [root at inode sparsify]# du -hc fsfile
> 84K	fsfile
> 84K	total
> 
> but then after an xfs_repair it looks saner:
> # du -hc fsfile
> 4.8M	fsfile
> 4.8M	total
> 
> something to look into I guess... weird.

nvm that's just xfs_repair zeroing the log & reinstating the blocks.
Sorry for the noise - Ok, back to my Saturday.

-Eric



More information about the xfs mailing list