archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM cache gets marked as dirty on reboot
@ 2019-06-10 20:53 Lucas Vinicius Hartmann
  0 siblings, 0 replies; only message in thread
From: Lucas Vinicius Hartmann @ 2019-06-10 20:53 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

I tried running my desktop from a 120GB+1TB writeback cache setup, but
every time the system is rebooted the entire cache is marked dirty, and
takes several hours to flush (it does complete).

Two different setups were tested (below), the issue only affected the root
mount point, not home.

Any ideas on how to debug/fix this?

First setup (encryption on top of LVM):
    One GPT partition on each drive, used as PVs.
    A single cached LV.
    / is an EXT4 partition, encrypted with LUKS.
    /boot and /boot/efi are simple partitions on the slow drive.

Second setup (LVM on top of encryption):
    A couple LUKS volumes, one on each drive, serving as PVs.
    One VG backed by the fast and slow LUKS volumes.
    / on a cached LV.
    /home on a separate cached LV.
    /boot and /boot/efi are simple partitions on the slow drive.

    Fedora 30, KDE spin.
    Kernel 5.1.7-300.fc30.x86_64

Lucas Vinicius Hartmann

[-- Attachment #2: Type: text/html, Size: 1527 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-10 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 20:53 [linux-lvm] LVM cache gets marked as dirty on reboot Lucas Vinicius Hartmann

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).