Package: lvm2
Version: 2.02.164-1
Severity: important

I use dm-cache to speed up a laptop that has a slow disk and a small ssd.
After shutting the laptop down using hibernate, it will no longer be
able to boot and will complain about a corrupted cache (manual repair
required).

I never succeeded in fixing the cache, and always remove it (lvconvert
--uncache) using a rescue memory stick and add it again afterwards.

I always assumed that it was just a problem with hibernate on this
laptop, but that is not the case: when the dm-cache is disabled,
hibernate is working just fine on this laptop. (I tested repeatedly to
be sure of this.)

The dm-cache is set up using the default policy (writethrough). The
problem does not seem specific to the latest kernel version, I noticed
the problem with the debian kernels 4.5.0, 4.6.0 and 4.7.0.

Laptop is suspended as follows:
echo disk > /sys/power/state


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (600, 'testing'), (110, 'unstable'), (80, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.133-1
ii  dmsetup                   2:1.02.133-1
ii  init-system-helpers       1.45
ii  libblkid1                 2.28.2-1
ii  libc6                     2.24-3
ii  libdevmapper-event1.02.1  2:1.02.133-1
ii  libdevmapper1.02.1        2:1.02.133-1
ii  liblvm2app2.2             2.02.164-1
ii  libreadline5              5.2+dfsg-3+b1
ii  libudev1                  231-9
ii  lsb-base                  9.20160629

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
ii  thin-provisioning-tools  0.6.1-4

-- no debconf information

Reply via email to