[linux-lvm] Strange dm-cache activity at startup

John Stoffel john at stoffel.org
Fri Sep 11 13:28:32 UTC 2015

>>>>> "Joe" == Joe Thornber <thornber at redhat.com> writes:

Joe> On Thu, Sep 10, 2015 at 11:30:27AM +0200, Stefan Ring wrote:
>> Is this normal/expected? What does it do? Why does it write back huge
>> amounts of data to the HDD after each system start?

Joe> No, this is not expected.  The most likely cause is your system was
Joe> not shutdown cleanly so dm-cache has no choice but to assume all
Joe> blocks are dirty and need writing back.  Make sure your volumes are
Joe> being deactivated as part of shutdown.

How would you double check to make sure this happening properly in the
logs?  I'm interested in using an SSD to cache my home file server
/home and /local directories to make NFS access faster... but I've
been hesitant to upgrade since I'd hate to lose all this data.


More information about the linux-lvm mailing list