[dm-devel] dm-cache fs corruption

Vladimir Smolensky arizal at gmail.com
Wed Nov 13 10:24:03 UTC 2013


Hello,
I've been testing dm-cache for use with static web content.
It appears that, when using big cache ~3TB(+20TB origin dev) dm-cache
device corrupts the filesystem after block eviction starts to happen.
If I set smaller cache size - single 480GB ssd(again with 20TB origin dev),
the dm-cache dev works just fine.


dmesg error:

XFS (dm-0): Corruption detected. Unmount and run xfs_repair
XFS (dm-0): metadata I/O error: block 0x3d4f534e0
("xfs_trans_read_buf_map") error 117 numblks 16
XFS (dm-0): xfs_imap_to_bp: xfs_trans_read_buf() returned error 117.
XFS (dm-0): Corruption detected. Unmount and run xfs_repair
XFS (dm-0): Corruption detected. Unmount and run xfs_repair


ext4 also got broken.


Tested with 3.10.11-gentoo, fedora 19- kernel 3.11.something, xfs, ext4,
writeback and writethrough modes.



regards,
Vladimir Smolensky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20131113/3c53ab62/attachment.htm>


More information about the dm-devel mailing list