From 962e4783454d7e246a41c4ef986dc4f363c4d1b5 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 30 Apr 2013 19:28:14 +0000 Subject: [PATCH] Fix problem with certain versions of libvirt and lvm storage git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 81eb522d1..384d63b47 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -326,7 +326,7 @@ sub get_filepath_by_url { #at the end of the day, the libvirt storage api gives # 4) qemu-img was so much more transparent and easy to figure out than this # additionally, when mastering a powered down node, we should rebase the node to be a cow clone of the master it just spawned } else { - my $vol = $poolobj->create_volume("".$desiredname."".getUnits($create,"G",1)."0"); + my $vol = $poolobj->create_volume("".$desiredname."".getUnits($create,"G",1)."1"); if ($vol) { return $vol->get_path(); } } } else {