Revision 01b6558a
b/lib/bdev.py | ||
---|---|---|
389 | 389 |
|
390 | 390 |
pvlist = [ pv[1] for pv in pvs_info ] |
391 | 391 |
if utils.any(pvlist, lambda v: ":" in v): |
392 |
_ThrowError("Some of your PVs have invalid character ':'" |
|
393 |
" in their name") |
|
392 |
_ThrowError("Some of your PVs have the invalid character ':' in their" |
|
393 |
" name, this is not supported - please filter them out" |
|
394 |
" in lvm.conf using either 'filter' or 'preferred_names'") |
|
394 | 395 |
free_size = sum([ pv[0] for pv in pvs_info ]) |
395 | 396 |
current_pvs = len(pvlist) |
396 | 397 |
stripes = min(current_pvs, constants.LVM_STRIPECOUNT) |
Also available in: Unified diff