[Top] [All Lists]

xfs_check does not recognize fs truncation

To: xfs@xxxxxxxxxxx
Subject: xfs_check does not recognize fs truncation
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Mon, 24 Aug 2009 12:12:59 +0200 (CEST)
Sender: jengelh@xxxxxxxxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

This I see on xfsprogs-2.10.1 with kernel

# xfs_check /dev/loop0
# echo $?
# mount /dev/loop0 /mnt
Filesystem "loop0": Disabling barriers, trial barrier write failed
attempt to access beyond end of device
loop0: rw=0, want=3670016, limit=3649536
I/O error in filesystem ("loop0") meta-data dev loop0 block 0x37ffff
("xfs_read_buf") error 5 buf count 512
XFS: size check 2 failed

The fs is truncated (my fault/intention), but xfs_check returning 0 is 

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