mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Update t-vgcreate-usage.sh to check for default vg properties.
This commit is contained in:
parent
2c3093af7c
commit
4a86bafbcc
@ -69,9 +69,6 @@ not vgcreate $vg $dev3
|
||||
|
||||
# Test default (4MB) vg_extent_size as well as limits of extent_size
|
||||
not vgcreate --physicalextentsize 0K $vg $dev1 $dev2
|
||||
vgcreate $vg $dev1 $dev2
|
||||
check_vg_field_ $vg vg_extent_size 4.00M
|
||||
vgremove -ff $vg
|
||||
vgcreate --physicalextentsize 1K $vg $dev1 $dev2
|
||||
check_vg_field_ $vg vg_extent_size 1.00K
|
||||
vgremove -ff $vg
|
||||
@ -79,3 +76,11 @@ not vgcreate --physicalextentsize 3K $vg $dev1 $dev2
|
||||
not vgcreate --physicalextentsize 1024T $vg $dev1 $dev2
|
||||
#not vgcreate --physicalextentsize 1T $vg $dev1 $dev2
|
||||
# FIXME: vgcreate allows physicalextentsize larger than pv size!
|
||||
|
||||
# Test default max_lv, max_pv, extent_size, alloc_policy, clustered
|
||||
vgcreate $vg $dev1 $dev2
|
||||
check_vg_field_ $vg vg_extent_size 4.00M
|
||||
check_vg_field_ $vg max_lv 0
|
||||
check_vg_field_ $vg max_pv 0
|
||||
check_vg_field_ $vg vg_attr "wz--n-"
|
||||
vgremove -ff $vg
|
||||
|
Loading…
Reference in New Issue
Block a user