Sha256: b9046275fa5008134fdf8fb2664b5dfd85527fd8b158347e326f61bed06664e1

Contents?: true

Size: 1 KB

Versions: 66

Compression:

Stored size: 1 KB

Contents

#
# One object of this class for each physical volume in a volume group.
#
class PhysicalVolume
  attr_accessor :pvId, :pvName, :device, :deviceSize, :peStart, :peCount, :status, :vgObj, :diskObj

  def initialize(pvId = nil, pvName = nil, device = nil, deviceSize = nil, peStart = nil, peCount = nil)
    @pvId = pvId                        # the UUID of this physical volume
    @pvName = pvName                    # the name of this physical volume
    @device = device                    # the physical volume's device node under /dev.
    @deviceSize = deviceSize            # the size if this physical volume (in )
    @peStart = peStart.to_i             # the sector number of the first physical extent on this PV
    @peCount = peCount.to_i             # the number of physical extents on this PV

    @status = []
    @vgObj = nil                        # a reference to this PV's volume group
    @diskObj = nil                      # a reference to the MiqDisk object for this PV
  end
end # class PhysicalVolume

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
manageiq-smartstate-0.10.1 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.10.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.9.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.8.1 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.8.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.7.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.6.2 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.10 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.3.10 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.6.1 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.3.9 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.6.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.9 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.8 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.3.8 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.7 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.3.7 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.6 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.3.6 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.5.5 lib/VolumeManager/LVM/physical_volume.rb