All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Strange dm-cache activity at startup
Date: Fri, 11 Sep 2015 13:51:05 +0100	[thread overview]
Message-ID: <20150911125104.GA8027@rh-vpn> (raw)
In-Reply-To: <CAAxjCEwMqpAWFc+BBNW6bLUC7mkjkjdvFkRz66WnZEB__qW2dw@mail.gmail.com>

On Thu, Sep 10, 2015 at 11:30:27AM +0200, Stefan Ring wrote:
> Is this normal/expected? What does it do? Why does it write back huge
> amounts of data to the HDD after each system start?

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.

- Joe

  parent reply	other threads:[~2015-09-11 12:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10  9:30 [linux-lvm] Strange dm-cache activity at startup Stefan Ring
2015-09-10 12:59 ` Zdenek Kabelac
2015-09-10 13:11   ` Stefan Ring
2015-09-10 13:48     ` Zdenek Kabelac
2015-09-11 12:51 ` Joe Thornber [this message]
2015-09-11 13:28   ` John Stoffel
2015-09-11 14:50     ` Simon O'Riordan
2015-09-11 15:32       ` John Stoffel
2015-09-16  7:48   ` Stefan Ring
2015-09-17 15:08     ` Stefan Ring
2015-10-16 17:54   ` [linux-lvm] LVM cache (or dm-cache) shutdown Ian Pilcher
2015-10-17 17:49     ` Zdenek Kabelac

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=20150911125104.GA8027@rh-vpn \
    --to=thornber@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.