linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] corruption on reattaching cache
@ 2016-06-09 20:24 Markus Mikkolainen
  2016-06-10  9:09 ` Zdenek Kabelac
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Mikkolainen @ 2016-06-09 20:24 UTC (permalink / raw)
  To: linux-lvm; +Cc: mark

I seem to have hit the same snag as Mark describes in his post.

https://www.redhat.com/archives/linux-lvm/2015-April/msg00025.html

with kernel 4.4.6 I detached (--splitcache) a writeback cache from a 
mounted lv which was then synchronized and detached. Then I reattached it 
and shortly detached it again. What was interesting is that after the 
second detach it synchronized AGAIN starting from 100% , and then I 
started getting filesystem errors. I immediately shutdown, and forced an 
fsck , and didnt lose that much data, but still had some stuff to correct.

It looked to me like a detached cache, being reattached will retain all 
cached data on it, even though it was supposed to be written to the 
backing disk, and then instead of marking it clean on attaching, it will 
continue serving old data from the cache.

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

end of thread, other threads:[~2016-06-13  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 20:24 [linux-lvm] corruption on reattaching cache Markus Mikkolainen
2016-06-10  9:09 ` Zdenek Kabelac
2016-06-10 10:51   ` Markus Mikkolainen
2016-06-13  8:48     ` Zdenek Kabelac
2016-06-11  9:24   ` Mark Hills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).