All of lore.kernel.org
 help / color / mirror / Atom feed
* XFS umount issue
@ 2011-05-23 21:39 Nuno Subtil
  2011-05-24  0:02 ` Dave Chinner
  2011-05-24 13:33 ` Paul Anderson
  0 siblings, 2 replies; 11+ messages in thread
From: Nuno Subtil @ 2011-05-23 21:39 UTC (permalink / raw)
  To: xfs-oss

I have an MD RAID-1 array with two SATA drives, formatted as XFS.
Occasionally, doing an umount followed by a mount causes the mount to
fail with errors that strongly suggest some sort of filesystem
corruption (usually 'bad clientid' with a seemingly arbitrary ID, but
occasionally invalid log errors as well).

The one thing in common among all these failures is that they require
xfs_repair -L to recover from. This has already caused a few
lost+found entries (and data loss on recently written files). I
originally noticed this bug because of mount failures at boot, but
I've managed to repro it reliably with this script:

while true; do
	mount /store
	(cd /store && tar xf test.tar)
	umount /store
	mount /store
	rm -rf /store/test-data
	umount /store
done

test.tar contains around 100 files with various sizes inside
test-data/, ranging from a few hundred KB to around 5-6MB. The failure
triggers within minutes of starting this loop.

I'm not entirely sure that this is XFS-specific, but the same script
does run successfully overnight on the same MD array with ext3 on it.
This is on an ARM system running kernel 2.6.39.

Has something like this been seen before?

Thanks,
Nuno

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

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

end of thread, other threads:[~2011-05-25  8:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 21:39 XFS umount issue Nuno Subtil
2011-05-24  0:02 ` Dave Chinner
2011-05-24  6:29   ` Nuno Subtil
2011-05-24  7:54     ` Dave Chinner
2011-05-24 10:18       ` Nuno Subtil
2011-05-24 23:39         ` Dave Chinner
2011-05-25  8:14           ` Nuno Subtil
2011-05-24 13:33 ` Paul Anderson
2011-05-24 19:10   ` Nuno Subtil
2011-05-25  0:29     ` Dave Chinner
2011-05-25  8:08       ` Nuno Subtil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.