Skip to content

: Add implicit pvcreate support in vgcreate / vgextend.

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Refactor vg_extend - add vg_extend_single_pv.lib/metadata/metadata.c+23 -70 replies
2/10Add pvcreate_params to vg_extend_single_pv.lib/metadata/metadata.c+10 -30 replies
3/10Add pvcreate_params to vg_extend.lib/metadata/metadata-exported.h lib/metadata/metadata.c liblvm/lvm_vg.c +2 more+18 -60 replies
4/10Allow calling fill_default_pvcreate_params from tools.lib/metadata/metadata-exported.h lib/metadata/metadata.c liblvm/lvm_vg.c+6 -100 replies
5/10Refactor pvcreate - split pvcreate_validate_params into recovery/non-recovery.lib/metadata/metadata.c tools/pvcreate.c+38 -260 replies
6/10Refactor vgcreate/vgextend validation of vgname/pvname(s).tools/vgcreate.c tools/vgextend.c+13 -80 replies
7/10Move pvcreate_validate_params into toollib to allow calling from mutiple tools.tools/pvcreate.c tools/toollib.c tools/toollib.h+112 -1080 replies
8/10Add implicit pvcreate support to vgcreate and vgextend.tools/commands.h tools/vgcreate.c tools/vgextend.c+15 -80 replies
9/10Update vgcreate and vgextend man pages to clarify implicit pvcreate.man/vgcreate.8.in man/vgextend.8.in+67 -60 replies
10/10Add implicit tests for implicit pvcreate during vgcreate and vgextend.WHATS_NEW test/t-vgcreate-usage.sh test/t-vgextend-usage.sh+135 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10]: Add implicit pvcreate support in vgcreate / vgextend.

This patch set is a rebase and rewrite of the earlier implicit pvcreate patchset. These patches should address most, if not all, feedback to date, and include updated tests. Once these patches are in, a user should no longer need pvcreate, except in rare recovery scenarios (usage of --uuid, --restorefile, and --physicalvolumesize are not supported with vgcreate and vgextend).

Patches 1-7 are just refactoring of existing code and should not change functionality. Patch 8 changes the behavior of vgcreate and vgextend to implicitly pvcreate if a device is not already initialized. Patch 9 updates the man pages and patch 10 the nightly tests.

One issue that has yet to be addressed is PV vs VG metadatacopies. A separate patch should address this soon after this patchset.

Applies cleanly and passes testsuite on the following commit:
commit 60ba4943ecb0cf6375de1d6711b4de9ea668d68b

Author: Zden?k Kabel?? <[email protected]>
Date:   Fri Oct 2 11:41:54 2009 +0000

Update distclean target for rename clogd to cmirrord. (2.02.52)