With the convention of '--virt-path=Volume_Group', we should examine the
free space on the 'volume group' -- not the 'logical volume'... Koan
won't run with --virt-path specified as such... patch below. --A.
""" Begin Patch """
--- app.py.orig 2007-07-28 03:25:52.000000000 -0400
+++ app.py 2007-07-28 04:01:17.000000000 -0400
@@ -985,7 +985,7 @@
raise InfoException, "The volume group [%s] does not
exist." % location
# check free space
- args = "/usr/sbin/lvs --noheadings -o vg_free --units g %s"
% location
+ args = "/usr/sbin/vgs --noheadings -o vg_free --units g %s"
% location
print args
cmd = sub_process.Popen(args, stdout=sub_process.PIPE,
shell=True)
freespace_str = cmd.communicate()[0]
""" End Patch """
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools