diff options
author | Alasdair Kergon <agk@redhat.com> | 2004-05-18 22:12:53 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2004-05-18 22:12:53 +0000 |
commit | a0a23eff4bd3f0307abcb00521f98dd4fc68f7aa (patch) | |
tree | 8c67a5c599ba6fdb54955e0c8f9c4c75dc76cb61 /tools/vgsplit.c | |
parent | b61702ce8c2de83f9131b6732d356cebee5b059a (diff) | |
download | lvm2-a0a23eff4bd3f0307abcb00521f98dd4fc68f7aa.tar.gz lvm2-a0a23eff4bd3f0307abcb00521f98dd4fc68f7aa.tar.xz lvm2-a0a23eff4bd3f0307abcb00521f98dd4fc68f7aa.zip |
Rename allocation policies; add --alloc to cmdline; LV inherits from VG.
Diffstat (limited to 'tools/vgsplit.c')
-rw-r--r-- | tools/vgsplit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/vgsplit.c b/tools/vgsplit.c index 692d0a7c..2ff4e93d 100644 --- a/tools/vgsplit.c +++ b/tools/vgsplit.c @@ -215,7 +215,8 @@ int vgsplit(struct cmd_context *cmd, int argc, char **argv) /* Create new VG structure */ if (!(vg_to = vg_create(cmd, vg_name_to, vg_from->extent_size, - vg_from->max_pv, vg_from->max_lv, 0, NULL))) + vg_from->max_pv, vg_from->max_lv, + vg_from->alloc, 0, NULL))) goto error; /* Archive vg_from before changing it */ |