xfs_check does not recognize fs truncation
Jan Engelhardt
jengelh at medozas.de
Fri Aug 28 05:14:04 CDT 2009
On Monday 2009-08-24 18:04, Jan Engelhardt wrote:
>On Monday 2009-08-24 16:47, Christoph Hellwig wrote:
>>On Mon, Aug 24, 2009 at 12:12:59PM +0200, Jan Engelhardt wrote:
>>>
>>> This I see on xfsprogs-2.10.1 with kernel 2.6.29.6:
>>
>>What does xfs_repair -n say?
>
>[success]
>
>You can get the image at
>http://dev.medozas.de/files/linux-hist.img.lzma [179MB->1782MB]
>
If I pad the image with at least 20480*512 NUL bytes to a total of
1879048192 bytes, xfs (kernel side) starts to accept the image and
will mount it.
The steps to return to the previous problematic size is as follows:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop0 1824768 1274824 549944 70% /mnt/linux-hist
# truncate --size=$((1824768*1024)) linux-hist.img
More information about the xfs
mailing list