Bcache file corruption
From: Thomas Rosenstein <hidden>
Date: 2017-02-07 11:17:24
Hi, I'm trying to run bcache on a Hyper-V VM, following setup: caching device 50GB fixed disk on a Samsung 850 Pro 1 TB Raid 1 backing device 700GB dynamic disk on a 8x 4 TB RAID6 The bcache device is formatted as LVM with 1 volume XFS. The writeback mode is activated. When I try to restore a 600 GB Postgresql backup, I get a file corruption error. I have tried 3 times, and the file corruption is each time at a different (file) location, additionally the corruption is not present when restoring the same backup on a non-bcache disk. Based on that info, I assume that bcache has got some issue. Are there any known issues with maybe XFS, or file corruption? Does anyone have an idea on how to figure out what the issue is? Kernel: Linux host 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I compiled bcache as a module according to: http://10sa.com/sql_stories/?p=1052 BR Thomas