[linux-lvm] LVM cache (or dm-cache) shutdown
Ian Pilcher
arequipeno at gmail.com
Fri Oct 16 17:54:59 UTC 2015
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 at gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================
More information about the linux-lvm
mailing list