search for: phys_volum

Displaying 2 results from an estimated 2 matches for "phys_volum".

Did you mean: phys_volume
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...lt;< (i = Kernel.rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr } - s -end - -def all_storage_pools(conn) - all_pools = conn.list_defined_storage_pools - all_pools.concat(conn.list_storage_pools) - return all_pools -end - -def get_libvirt_lvm_pool_from_volume(db_volume) - phys_volume = StorageVolume.find(:first, :conditions => - [ "lvm_pool_id = ?", db_volume.storage_pool_id]) - - return LibvirtPool.factory(phys_volume.storage_pool) -end - -class LibvirtPool - def initialize(type, name = nil) - @remote_pool = nil - @build_...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...w(pool.ip_addr, pool.export_path, logger) elsif pool[:type] == "LvmStoragePool" # OK, if this is LVM storage, there are two cases we need to care about: # 1) this is a LUN with LVM already on it. In this case, all we need to @@ -212,7 +216,7 @@ class LibvirtPool phys_volume = StorageVolume.find(:first, :conditions => [ "lvm_pool_id = ?", pool.id]) return LVMLibvirtPool.new(pool.vg_name, phys_volume.path, - pool.state == StoragePool::STATE_PENDING_SETUP) +...