linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Lucas Vinicius Hartmann <lucas.hartmann@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM cache gets marked as dirty on reboot
Date: Mon, 10 Jun 2019 17:53:09 -0300	[thread overview]
Message-ID: <CAMbFyDTDQrTUHKAC=+Yi4S3cAyfagwB3Wt5o8tt811Zr07On2A@mail.gmail.com> (raw)

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

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

--
Lucas Vinicius Hartmann

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

                 reply	other threads:[~2019-06-10 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMbFyDTDQrTUHKAC=+Yi4S3cAyfagwB3Wt5o8tt811Zr07On2A@mail.gmail.com' \
    --to=lucas.hartmann@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).