Commit e9722fea authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not barf if the VG size is too small; just print a warning

and let it throw an error later if all space is consumed. After
all, each VM can use an arbitrary amount of disk, and eventually
we will have to track it with assign.
parent f26d0e24
......@@ -399,10 +399,8 @@ sub rootPreConfig()
my $size = lvmVGSize($VGNAME);
if ($size < $XEN_MIN_VGSIZE) {
print STDERR "ERROR: physical disks not big enough to support".
" VMs ($size < $XEN_MIN_VGSIZE)\n";
TBScriptUnlock();
return -1;
print STDERR "WARNING: physical disks not big enough to support".
" $MAX_VNODES VMs ($size < $XEN_MIN_VGSIZE)\n";
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment