xfs
[Top] [All Lists]

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

To: ext4 development <linux-ext4@xxxxxxxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
Subject: Re: sparsify - utility to punch out blocks of 0s in a file
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Sat, 04 Feb 2012 14:17:30 -0600
In-reply-to: <4F2D90B6.4070008@xxxxxxxxxx>
References: <4F2D8F30.3090802@xxxxxxxxxx> <4F2D90B6.4070008@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0) Gecko/20120129 Thunderbird/10.0
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@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

<Prev in Thread] Current Thread [Next in Thread>