From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 00/12] Replicator 100629
Date: Tue, 29 Jun 2010 18:26:00 +0200 [thread overview]
Message-ID: <cover.1277828149.git.zkabelac@redhat.com> (raw)
This patchset enhances lvm with replicator metadata construction.
It should not influence other commands thus should be safe to insert to
source tree.
At this moment patch doesn't contain lvchange (not yet cleaned)
Idea is to enable replicator with
lvchange --site Berlin --replicator my/rep -ay
or
lvchange --site Berlin my/L1 -ay
(still undecided??)
Use case example:
# build remote devices
vgcreate vg_ny /dev/loop1
vgcreate vg_paris /dev/loop2
lvcreate -L10M -n L1 vg_ny
lvcreate -L10M -n L1 vg_paris
lvcreate -L20M -n L2 vg_ny
lvcreate -L20M -n L2 vg_paris
# build local replicator
vgcreate my /dev/loop0
lvcreate --replicator rep -L20M my
lvcreate --site Berlin --replicator my/rep
lvcreate --site NY --remotevg vg_ny --replicator my/rep
lvcreate --site Paris --remotevg vg_paris --replicator my/rep
lvcreate --replicatordev -L10M -n L1 --replicator my/rep
lvcreate --replicatordev -L20M -n L2 --replicator my/rep
lvcreate --replicator rep -L20M my || exit 1
lvcreate --replicatordev -L10M -n L1 --replicator my/rep
lvremove my/L1
Note: after removing 'L1' LV 'L1_rimage' and '_slog' devices
are left in VG Ideally user should use own 'VG'
and for removal just run:
vgremove my
Zdenek Kabelac (12):
Allow the user to not specify a size when creating snapshot.
Replicator: check for active replicator
Replicator: reserved names
Replicator: add _replicator_in_sync
Replicator: improve detection of replicator-dev
Replicator: lvcreate, lvm man pages
Replicator: add new options for replicator
Replicator: lv_manip - create replicator
Replicator: add report for replicator targets
Replicator: replicator_manip changes
Replicator: replicator.c changes
Replicator: man pages for lvchange.8
lib/config/defaults.h | 8 +
lib/metadata/lv_manip.c | 126 ++++++-
lib/metadata/merge.c | 18 +-
lib/metadata/metadata-exported.h | 46 ++-
lib/metadata/replicator_manip.c | 806 +++++++++++++++++++++++++++++++++++---
lib/misc/lvm-globals.c | 11 +
lib/misc/lvm-globals.h | 2 +
lib/misc/lvm-string.c | 18 +
lib/replicator/replicator.c | 124 +++----
lib/report/columns.h | 2 +
lib/report/report.c | 32 ++
man/lvchange.8.in | 37 ++
man/lvcreate.8.in | 66 +++
man/lvm.8.in | 3 +-
tools/args.h | 10 +
tools/commands.h | 15 +
tools/lvcreate.c | 138 +++++++-
tools/lvmcmdline.c | 10 +
tools/tools.h | 1 +
tools/vgchange.c | 2 +-
20 files changed, 1312 insertions(+), 163 deletions(-)
next reply other threads:[~2010-06-29 16:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 16:26 Zdenek Kabelac [this message]
2010-06-29 16:26 ` [PATCH 01/12] Allow the user to not specify a size when creating snapshot Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 02/12] Replicator: check for active replicator Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 03/12] Replicator: reserved names Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 04/12] Replicator: add _replicator_in_sync Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 05/12] Replicator: improve detection of replicator-dev Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 06/12] Replicator: lvcreate, lvm man pages Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 07/12] Replicator: add new options for replicator Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 08/12] Replicator: lv_manip - create replicator Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 09/12] Replicator: add report for replicator targets Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 10/12] Replicator: replicator_manip changes Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 11/12] Replicator: replicator.c changes Zdenek Kabelac
2010-06-29 16:26 ` [PATCH 12/12] Replicator: man pages for lvchange.8 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=cover.1277828149.git.zkabelac@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-devel@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.