On 09/11/2015 07:51 AM, Joe Thornber wrote:
No, this is not expected. The most likely cause is your system was not shutdown cleanly so dm-cache has no choice but to assume all blocks are dirty and need writing back. Make sure your volumes are being deactivated as part of shutdown.
What exactly is required to cleanly shutdown an LVM cache or dm-cache device? AFAICT, systemd does a DM_DEV_REMOVE ioctl on all device mapper devices during shutdown/reboot. Is this sufficient? Thanks! -- ======================================================================== Ian Pilcher arequipeno@gmail.com -------- "I grew up before Mark Zuckerberg invented friendship" -------- ======================================================================== _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/