LVM2/tools toollib.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2009-04-23 16:45:31
Modified files:
tools : toollib.c
Log message:
Refuse adding missing PVs in create_pv_list in toollib when allocatable_only is requested.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.150&r2=1.151
tools/toollib.c +5 -0
@@ -1047,6 +1047,11 @@return 1 ; } +if (allocatable_only && (pvl->pv->status &MISSING_PV )) { +log_error ("Physical volume %s is missing" , pvname); +return 1 ; + } +if (allocatable_only && (pvl->pv->pe_count == pvl->pv->pe_alloc_count)) {log_err ("No free extents on physical volume \"%s\"" , pvname);
Quoted 2 lines · mornfall at sourceware.org
Refuse adding missing PVs in
create_pv_listin toollib whenallocatable_onlyis requested.
Ack.
WHATS_NEW?
Alasdair
Signature · 1 line
agk at redhat.com