All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM2 development <lvm-devel@redhat.com>,
	Eric Ren <renzhengeek@gmail.com>,
	Zdenek Kabelac <zkabelac@redhat.com>
Cc: thornber@redhat.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Aborting. LV mythinpool_tmeta is now incomplete
Date: Thu, 11 Apr 2019 14:12:05 +0200	[thread overview]
Message-ID: <62151b2e-c21a-177e-f66b-e2e08857be17@redhat.com> (raw)
In-Reply-To: <CAKM4AezLrUrXZKA=vKMaRHcij3K6UBZpy-RcVXeUB9Wwfszh7Q@mail.gmail.com>

Dne 11. 04. 19 v 13:49 Eric Ren napsal(a):
> Hi,
> 
>     Hi, 
> 
>     I could recommend to orient towards the solution where the 'host' system
>     provides some service for your containers -  so container ask for action,
>     service orchestrates the action on the system - and returns asked resource to
>     the container.
> 
> 
> Right, it's all k8s, containerd, OCI runtime are doing.
> 
> 
>     IMHO I don't see any other usable solution ATM - although many container
>     developers seems to endlessly try to run these system commands from a
>     container...
> 
> 
> Sorry, I don't make it clear. I mean we don't use lvm in container, we  use 
> thin pool on physical server, create thin LV, passthrough thin dm device into 
> virtual machine (KATA VM, not cgroup&namespce-based container) as VM's rootfs.
> 

Hi

So do you get  'partial' error on thin-pool activation on your physical server ?

Then you likely miss some PV on your system.

As that's the only way how lvm2 can give you this report - it cannot find all 
required PVs for the VG - so you cannot activate without partial activation.

You should easily spot which PV is missing with -vvvv  trace for
lvchange -ay

Regards

Zdenek

WARNING: multiple messages have this Message-ID (diff)
From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: Aborting. LV mythinpool_tmeta is now incomplete
Date: Thu, 11 Apr 2019 14:12:05 +0200	[thread overview]
Message-ID: <62151b2e-c21a-177e-f66b-e2e08857be17@redhat.com> (raw)
In-Reply-To: <CAKM4AezLrUrXZKA=vKMaRHcij3K6UBZpy-RcVXeUB9Wwfszh7Q@mail.gmail.com>

Dne 11. 04. 19 v 13:49 Eric Ren napsal(a):
> Hi,
> 
>     Hi, 
> 
>     I could recommend to orient towards the solution where the 'host' system
>     provides some service for your containers -? so container ask for action,
>     service orchestrates the action on the system - and returns asked resource to
>     the container.
> 
> 
> Right, it's all k8s, containerd, OCI runtime are doing.
> 
> 
>     IMHO I don't see any other usable solution ATM - although many container
>     developers seems to endlessly try to run these system commands from a
>     container...
> 
> 
> Sorry, I don't make it clear. I mean we don't use lvm in container, we? use 
> thin pool on physical server, create thin LV, passthrough thin dm device into 
> virtual machine (KATA VM, not cgroup&namespce-based container) as VM's rootfs.
> 

Hi

So do you get  'partial' error on thin-pool activation on your physical server ?

Then you likely miss some PV on your system.

As that's the only way how lvm2 can give you this report - it cannot find all 
required PVs for the VG - so you cannot activate without partial activation.

You should easily spot which PV is missing with -vvvv  trace for
lvchange -ay

Regards

Zdenek



  reply	other threads:[~2019-04-11 12:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-11  0:27 [linux-lvm] Aborting. LV mythinpool_tmeta is now incomplete Eric Ren
2019-04-11  0:27 ` Eric Ren
2019-04-11 10:01 ` [linux-lvm] " Eric Ren
2019-04-11 10:01   ` Eric Ren
2019-04-11 11:21   ` [linux-lvm] [lvm-devel] " Zdenek Kabelac
2019-04-11 11:21     ` Zdenek Kabelac
2019-04-11 11:03 ` [linux-lvm] " Zdenek Kabelac
2019-04-11 11:03   ` Zdenek Kabelac
2019-04-11 11:26   ` [linux-lvm] " Eric Ren
2019-04-11 11:26     ` Eric Ren
2019-04-11 11:32     ` [linux-lvm] " Zdenek Kabelac
2019-04-11 11:32       ` Zdenek Kabelac
2019-04-11 11:49       ` [linux-lvm] " Eric Ren
2019-04-11 11:49         ` Eric Ren
2019-04-11 12:12         ` Zdenek Kabelac [this message]
2019-04-11 12:12           ` Zdenek Kabelac
2019-04-11 13:09           ` [linux-lvm] " Eric Ren
2019-04-11 13:09             ` Eric Ren
2019-04-11 13:13             ` [linux-lvm] " Zdenek Kabelac
2019-04-11 13:13               ` Zdenek Kabelac
     [not found]               ` <CAKM4Aez9H=GuRLK0EDJTwpb7j34tCu1aY4dS5_L4saDGERestg@mail.gmail.com>
2019-04-11 17:33                 ` [linux-lvm] " Eric Ren
2019-04-11 17:33                   ` Eric Ren
2019-04-12 10:05                   ` [linux-lvm] [lvm-devel] " Zdenek Kabelac
2019-04-12 10:05                     ` Zdenek Kabelac
2019-04-12 10:42                     ` [linux-lvm] [lvm-devel] " Eric Ren
2019-04-12 10:42                       ` Eric Ren
2019-04-12 13:44                       ` [linux-lvm] " Zdenek Kabelac
2019-04-12 13:44                         ` 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=62151b2e-c21a-177e-f66b-e2e08857be17@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=lvm-devel@redhat.com \
    --cc=renzhengeek@gmail.com \
    --cc=thornber@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.