public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_check does not recognize fs truncation
@ 2009-08-24 10:12 Jan Engelhardt
  2009-08-24 14:47 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2009-08-24 10:12 UTC (permalink / raw)
  To: xfs

Hi,


This I see on xfsprogs-2.10.1 with kernel 2.6.29.6:

# xfs_check /dev/loop0
# echo $?
0
# 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 
unexpected.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-28 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-24 10:12 xfs_check does not recognize fs truncation Jan Engelhardt
2009-08-24 14:47 ` Christoph Hellwig
2009-08-24 16:04   ` Jan Engelhardt
2009-08-28 10:14     ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox