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.2.18 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.17 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.16 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.15 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.14 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.13 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.12 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.11 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.10 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.9 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.8 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.7 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.6 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.5 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.4 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.3 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.2 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.1 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.2.0 lib/VolumeManager/LVM/physical_volume.rb
manageiq-smartstate-0.1.6 lib/VolumeManager/LVM/physical_volume.rb