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] auto umount at thin meta 80%
Date: Mon, 23 May 2016 10:40:09 +0200	[thread overview]
Message-ID: <aeba9dc1-e51f-a68d-c0d9-28c606368eb6@redhat.com> (raw)
In-Reply-To: <d38a602864c07cd1ee5cd4d12a7d0383@dds.nl>

On 22.5.2016 19:07, Xen wrote:
> I am not sure if, due to my recent posts ;-) I would still be allowed to write
> here. But, perhaps it is important regardless.
>
> I have an embedded LVM. The outer volume is a cached LVM, that is to say, two
> volumes are cached from a different PV. One of the cached volumes contains LUKS.
>
> The LUKS, when opened, contains another PV, VG, and a thin pool.
>
> The thin pool contains about 4-5 partitions and is overprovisioned. Only one
> volume is in use now.
>
> This thin volume called "Store" is almost the full size of the thin pool, but
> not quite:
>
> store    vault Vwi-aotz-- 400.00g thin                        40.37
>
> It currently stores a backup, I was writing some backup scripts.
>
> The volume apparently got umounted when the meta of the thinpool reached 80%.
>
> 10:47:21 lvm[4657]: WARNING: Thin pool vault-thin-tpool metadata is now 80.14%
> full.
> 10:47:21 lvm[4657]: Request to lookup VG vault in lvmetad gave response
> Connection reset by peer.
> 10:47:21 lvm[4657]: Volume group "vault" not found
> 10:47:21 lvm[4657]: Failed to extend thin pool vault-thin-tpool.

At this moment -   any failure in  'lvresize' execution leads to immediate 
umount - tool went ballistic and so takes 'drastic' action to prevent further
damage.

See here again:

https://www.redhat.com/archives/linux-lvm/2016-May/msg00064.html

ATM there is some new code which unconditionally always connects to lvmetad
even it's not necessary at all - and it's potential source of many other
troubles - so fixes here are in progress  -   set 'use_lvmetad=0'  if it's 
still a problem in your case.

Regards

Zdenek

  reply	other threads:[~2016-05-23  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-22 17:07 [linux-lvm] auto umount at thin meta 80% Xen
2016-05-23  8:40 ` Zdenek Kabelac [this message]
2016-05-24 16:16   ` Xen

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=aeba9dc1-e51f-a68d-c0d9-28c606368eb6@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).