linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Eric Ren <zren@suse.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	David Teigland <teigland@redhat.com>
Subject: Re: [linux-lvm] lvmlockd: about the limitation on lvresizing the LV active on multiple nodes
Date: Wed, 10 Jan 2018 14:55:42 +0800	[thread overview]
Message-ID: <ffeb78f6-3a36-3c53-c42a-72379ba231df@suse.com> (raw)
In-Reply-To: <20180109154239.GA24472@redhat.com>

Hi David,

On 01/09/2018 11:42 PM, David Teigland wrote:
> On Tue, Jan 09, 2018 at 10:42:27AM +0800, Eric Ren wrote:
>>> I've tested your patch and it works very well.  Thanks very much.
>> Could you please consider to push this patch upstream?
> OK

Thanks very  much! So, can we update the `man 8 lvmlockd` to remove the 
below limitation
on lvresize?

"""
limitations of lockd VGs
...
   · resizing an LV that is active in the shared mode on multiple hosts
"""

>
>> Also, Is this the same case for pvmove as lvresize? If so, can we also
>> work out a similar patch for pvmove?
> Running pvmove on an LV active on multiple hosts could be allowed with the
> same kind of patch.  However, it would need to use cmirror which we are

OK, I see.

> trying to phase out; the recent cluster raid1 has a more promising future.

My understanding is:

if cluster raid1 is used as PV, data is replicated and data migration is 
nearly equivalent
to replace disk. However, in scenario PV is on raw disk, pvmove is very 
handy for data migration.

IIRC, you mean we can consider to use cluster raid1 as the underlaying 
DM target to support pvmove
used in cluster, since currect pvmove is using mirror target now?

> So I think cmirror should be left in the clvm era and not brought forward.

By the way, another thing I'd to ask about:   Do we really want to drop 
the concept of clvm?

 From my understanding, lvmlockd is going to replace only "clvmd" 
daemon, not clvm in exact.
clvm is apparently short for cluster/cluster-aware LVM, which is 
intuitive naming. I see clvm
as an abstract concept, which is consisted of two pieces: clvmd and 
cmirrord. IMHO, I'd like to
see the clvm concept remains, no matter what we deal with the clvmd and 
cmirrord. It might
be good for user or documentation to digest the change :)

Regards,
Eric

  reply	other threads:[~2018-01-10  6:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28 10:42 [linux-lvm] lvmlockd: about the limitation on lvresizing the LV active on multiple nodes Eric Ren
2018-01-02  8:09 ` Eric Ren
2018-01-02 17:10 ` David Teigland
2018-01-03  3:52   ` Eric Ren
2018-01-03 15:07     ` David Teigland
2018-01-04  9:06       ` Eric Ren
2018-01-09  2:42         ` Eric Ren
2018-01-09 15:42           ` David Teigland
2018-01-10  6:55             ` Eric Ren [this message]
2018-01-10 15:56               ` David Teigland
2018-01-11  9:32                 ` Eric Ren

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=ffeb78f6-3a36-3c53-c42a-72379ba231df@suse.com \
    --to=zren@suse.com \
    --cc=linux-lvm@redhat.com \
    --cc=teigland@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).