linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: Chris Friesen <chris.friesen@windriver.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] unexpected behaviour of "lvresize" with sparse volumes
Date: Thu, 15 Oct 2015 21:53:45 +0200	[thread overview]
Message-ID: <56200449.1090800@gmail.com> (raw)
In-Reply-To: <561FD887.6020608@windriver.com>

Dne 15.10.2015 v 18:47 Chris Friesen napsal(a):
> On 10/15/2015 03:24 AM, Zdenek Kabelac wrote:
>> Dne 15.10.2015 v 09:13 Alexey napsal(a):
>>> Hello,
>>>
>>> If you look at the output of `lvs myvg`, then you will understand whats
>>> happens.
>>> When you create thin LV without specifying option `-T`, lvm automatically
>>> created TP for you with size equal to -L option.
>>> And when you resize your sparsevol, your TP (auto name lvol1) still have old
>>> size.
>>>
>>
>> Mixing 2 things together.
>>
>> Newer lvm2 tools (then reported 2.02.98)  are now creating sparse volumes
>> as a thin volume in thin-pool.
>>
>> Old behavior with /dev/zero snapshot is thought still available
>> either with lvm.conf settings  or using  --type snapshot.
>
> Okay, that's interesting.  Do you know when this change went in?
>

Version 2.02.112 has configurable setting for this.

Zdenek

  reply	other threads:[~2015-10-15 19:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 20:18 [linux-lvm] unexpected behaviour of "lvresize" with sparse volumes Chris Friesen
2015-10-15  7:13 ` Alexey
2015-10-15  9:24   ` Zdenek Kabelac
2015-10-15 16:47     ` Chris Friesen
2015-10-15 19:53       ` Zdenek Kabelac [this message]
2015-11-16 15:48     ` [linux-lvm] lvmcache - performance and real life usage? John Stoffel

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=56200449.1090800@gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=chris.friesen@windriver.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).