-Thin provision disks explicitly (so that VMFS act similarly to nfs provisioning)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-07-09 19:46:21 +00:00
parent 3482b19554
commit 17bbafe2be

View File

@ -1992,6 +1992,7 @@ sub create_storage_devs {
#$server = inet_ntoa($servern);
#my $uri = "nfs://$server/$path";
$backingif = VirtualDiskFlatVer2BackingInfo->new(diskMode => 'persistent',
thinProvisioned => 1,
fileName => "[".$sdmap->{$uri}."]");
if ($disktype eq 'ide' and $idecontrollerkey eq 1 and $ideunitnum eq 0) { #reserve a spot for CD
$ideunitnum = 1;