From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <47346a29-e6c7-6e22-4360-2d07e2ec7be3@redhat.com> In-Reply-To: <47346a29-e6c7-6e22-4360-2d07e2ec7be3@redhat.com> From: Eric Ren Date: Thu, 11 Apr 2019 19:26:22 +0800 Message-ID: Content-Type: multipart/alternative; boundary="00000000000060701d05863f7501" Subject: Re: [linux-lvm] Aborting. LV mythinpool_tmeta is now incomplete Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: Zdenek Kabelac Cc: LVM general discussion and development , thornber@redhat.com, lvm-devel@redhat.com --00000000000060701d05863f7501 Content-Type: text/plain; charset="UTF-8" Hi Zdenek, Thanks for your reply. The use case is for containerd snapshooter, yes, all lvm setup is on host machine, creating thin LV for VM-based/KATA container as rootfs. For example: https://github.com/containerd/containerd/pull/3136 and https://github.com/containerd/containerd/pull/3022 So, we're evaluating such solution now~ Thanks, Eric On Thu, 11 Apr 2019 at 19:04, Zdenek Kabelac wrote: > Dne 11. 04. 19 v 2:27 Eric Ren napsal(a): > > Hello list, > > > > Recently, we're exercising our container environment which uses lvm to > manage > > thin LVs, meanwhile we found a very strange error to activate the thin > LV: > > > > > Hi > > > The reason is very simple here - lvm2 does not work from containers. > It's unsupported and if it partially works - it's a pure lucky case. > > ATM it's simply clear statement that lvm2 cannot be used from container > simply > because block layer is not namespaced. > > I'd give here long list of reason why it currently cannot work, but for > now - > you should focus on making all 'device-block' operation on you host - and > pass > results to container. > > Regards > > Zdenek > -- - Eric Ren --00000000000060701d05863f7501 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Zdenek,
Thanks for your reply. The use case is for containerd snapshoot= er, yes, all lvm setup is on host machine, creating thin LV for VM-based/KA= TA container as rootfs.

For example:

and

=

So, we're evaluating such solution now~
<= br>
Thanks,
Eric

<= br>

On Thu, 11 Apr 2019 at 19:04, Zdenek Kabelac <zkabelac@redhat.com> wrote:
Dne 11. 04. 19 v 2:27 Eric Ren nap= sal(a):
> Hello list,
>
> Recently, we're exercising our container environment which uses lv= m to manage
> thin LVs, meanwhile we found a very strange error to activate the thin= LV:
>


Hi


The reason is very simple here - lvm2 does not work from containers.
It's unsupported and if it partially works - it's a pure lucky case= .

ATM it's simply clear statement that lvm2 cannot be used from container= simply
because block layer is not namespaced.

I'd give here long list of reason why it currently cannot work, but for= now=C2=A0 -
you should focus on making all 'device-block' operation on you host= - and pass
results to container.

Regards

Zdenek


--
- Eric Ren
--00000000000060701d05863f7501-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Ren Date: Thu, 11 Apr 2019 19:26:22 +0800 Subject: Aborting. LV mythinpool_tmeta is now incomplete In-Reply-To: <47346a29-e6c7-6e22-4360-2d07e2ec7be3@redhat.com> References: <47346a29-e6c7-6e22-4360-2d07e2ec7be3@redhat.com> Message-ID: List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Zdenek, Thanks for your reply. The use case is for containerd snapshooter, yes, all lvm setup is on host machine, creating thin LV for VM-based/KATA container as rootfs. For example: https://github.com/containerd/containerd/pull/3136 and https://github.com/containerd/containerd/pull/3022 So, we're evaluating such solution now~ Thanks, Eric On Thu, 11 Apr 2019 at 19:04, Zdenek Kabelac wrote: > Dne 11. 04. 19 v 2:27 Eric Ren napsal(a): > > Hello list, > > > > Recently, we're exercising our container environment which uses lvm to > manage > > thin LVs, meanwhile we found a very strange error to activate the thin > LV: > > > > > Hi > > > The reason is very simple here - lvm2 does not work from containers. > It's unsupported and if it partially works - it's a pure lucky case. > > ATM it's simply clear statement that lvm2 cannot be used from container > simply > because block layer is not namespaced. > > I'd give here long list of reason why it currently cannot work, but for > now - > you should focus on making all 'device-block' operation on you host - and > pass > results to container. > > Regards > > Zdenek > -- - Eric Ren -------------- next part -------------- An HTML attachment was scrubbed... URL: