Sha256: 90e3e433f8f104f5d85555b1fae9192e58791d4217af2d62169bcb4f26953a65

Contents?: true

Size: 578 Bytes

Versions: 27

Compression:

Stored size: 578 Bytes

Contents

require 'manageiq-gems-pending'
require 'ostruct'

require 'disk/MiqDisk'
require 'VolumeManager/MiqVolumeManager'

require 'logger'
$vim_log = $log = Logger.new(STDERR)
$log.level = Logger::DEBUG

begin

  volMgr = MiqVolumeManager.fromNativePvs

  puts
  puts "Volume Groups:"
  volMgr.vgHash.each do |vgName, vgObj|
    puts "\t#{vgName}: seq# = #{vgObj.seqNo}"
  end

  puts
  puts "Logical Volumes:"
  volMgr.lvHash.each do |key, lv|
    puts "\t#{key}\t#{lv.dInfo.lvObj.lvName}"
  end

  volMgr.closeAll

rescue  => err
  puts err.to_s
  puts err.backtrace.join("\n")
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
manageiq-smartstate-0.2.18.2 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.3.1 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.3.0 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.24 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.18.1 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.23 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.22 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.21 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.20 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.19 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.18 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.17 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.16 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.15 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.14 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.13 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.12 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.11 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.10 lib/VolumeManager/test/blockDevTest.rb
manageiq-smartstate-0.2.9 lib/VolumeManager/test/blockDevTest.rb