linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Cpy%Sync column - high disk activity after reboots
Date: Mon, 01 Jun 2015 10:58:16 +0200	[thread overview]
Message-ID: <556C1EA8.8000208@redhat.com> (raw)
In-Reply-To: <877frou7fa.fsf@bluescreen303.nl>

Dne 31.5.2015 v 16:51 Mathijs Kwik napsal(a):
> Hi all,
>
> I'm trying lvmcache and it seems to work ok. However, after every
> reboot, I notice quite a long period of disk activity. lvs gives me this
> output:
>
> % lvs
>    LV            VG       Attr       LSize   Pool    Origin                Data%  Meta%  Move Log Cpy%Sync Convert
>    btrfs-spinner bluebook Cwi-aoC--- 582,19g [cache] [btrfs-spinner_corig] 70,11  11,34           82,55
>
> The % gets lower over time and when it reaches 0 the disk activity goes
> back to normal.
>
> Is this to be expected/normal?
> It seems to me the entire cache is checked as if it wasn't cleanly
> closed on shutdown. I'm currently using writethrough and would like to
> make sure everything is ok before enabling writeback.


Hi

Cache is always flushing it's content to disk - so if you have the 'writeback' 
variant and there were some unwritten data which sits only in cache, they are 
automatically pushed to origin (cached) device - which is likely your disk 
activity.

Zdenek

  reply	other threads:[~2015-06-01  8:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 14:51 [linux-lvm] Cpy%Sync column - high disk activity after reboots Mathijs Kwik
2015-06-01  8:58 ` Zdenek Kabelac [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-02  7:35 Mathijs Kwik
2015-06-02 11:58 ` 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=556C1EA8.8000208@redhat.com \
    --to=zkabelac@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 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).