Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #15 from brigade/master
Browse files Browse the repository at this point in the history
Add 2.02.105(2) for CentOS 7
  • Loading branch information
gregsymons committed Sep 9, 2014
2 parents e132d5c + 29b8bb1 commit 355177d
Show file tree
Hide file tree
Showing 6 changed files with 442 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/generate_field_data
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ TYPE_CONVERSION_MAP = {
"vgmdasused" => "Integer",
"vgmdacopies" => "Integer",
"thincount" => "Integer",
"thinid" => "Integer",
"discards" => "Integer",
"thinzero" => "Integer",
"transactionid" => "Integer",
Expand Down
156 changes: 156 additions & 0 deletions lib/lvm/attributes/2.02.105(2)/lvs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
# These are column to object attribute mappings
# generated by bin/generate_field_data based on
# /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
---
- :method: convert_lv
:column: convert_lv
:type_hint: String
:description: For lvconvert
- :method: copy_percent
:column: copy_percent
:type_hint: Float
:description: For RAID
- :method: data_lv
:column: data_lv
:type_hint: String
:description: For thin pools
- :method: data_percent
:column: data_percent
:type_hint: Float
:description: For snapshot and thin pools and volumes
- :method: active
:column: lv_active
:type_hint: String
:description: Active state of the LV.
- :method: attr
:column: lv_attr
:type_hint: String
:description: Various attributes - see man page.
- :method: host
:column: lv_host
:type_hint: String
:description: Creation host of the LV
- :method: kernel_major
:column: lv_kernel_major
:type_hint: String
:description: Currently assigned major number or -1 if LV is not active.
- :method: kernel_minor
:column: lv_kernel_minor
:type_hint: String
:description: Currently assigned minor number or -1 if LV is not active.
- :method: kernel_read_ahead
:column: lv_kernel_read_ahead
:type_hint: Integer
:description: Currently-in-use read ahead setting in current units.
- :method: major
:column: lv_major
:type_hint: Integer
:description: Persistent major number or -1 if not persistent.
- :method: metadata_size
:column: lv_metadata_size
:type_hint: Integer
:description: For thin pools
- :method: minor
:column: lv_minor
:type_hint: Integer
:description: Persistent minor number or -1 if not persistent.
- :method: modules
:column: lv_modules
:type_hint: String
:description: Kernel device-mapper modules required for this LV.
- :method: name
:column: lv_name
:type_hint: String
:description: Name. LVs created for internal use are enclosed in brackets.
- :method: path
:column: lv_path
:type_hint: String
:description: Full pathname for LV.
- :method: profile
:column: lv_profile
:type_hint: String
:description: Configuration profile attached to this LV.
- :method: read_ahead
:column: lv_read_ahead
:type_hint: String
:description: Read ahead setting in current units.
- :method: size
:column: lv_size
:type_hint: Integer
:description: Size of LV in current units.
- :method: tags
:column: lv_tags
:type_hint: String
:description: Tags
- :method: time
:column: lv_time
:type_hint: String
:description: Creation time of the LV
- :method: uuid
:column: lv_uuid
:type_hint: String
:description: Unique identifier.
- :method: metadata_lv
:column: metadata_lv
:type_hint: String
:description: For thin pools
- :method: metadata_percent
:column: metadata_percent
:type_hint: Float
:description: For thin pools
- :method: mirror_log
:column: mirror_log
:type_hint: String
:description: For mirrors
- :method: move_pv
:column: move_pv
:type_hint: String
:description: For pvmove
- :method: origin
:column: origin
:type_hint: String
:description: For snapshots
- :method: origin_size
:column: origin_size
:type_hint: Integer
:description: For snapshots
- :method: pool_lv
:column: pool_lv
:type_hint: String
:description: For thin volumes
- :method: raid_max_recovery_rate
:column: raid_max_recovery_rate
:type_hint: Integer
:description: For RAID1
- :method: raid_min_recovery_rate
:column: raid_min_recovery_rate
:type_hint: Integer
:description: For RAID1
- :method: raid_mismatch_count
:column: raid_mismatch_count
:type_hint: Integer
:description: For RAID
- :method: raid_sync_action
:column: raid_sync_action
:type_hint: String
:description: For RAID
- :method: raid_write_behind
:column: raid_write_behind
:type_hint: Integer
:description: For RAID1
- :method: seg_count
:column: seg_count
:type_hint: Integer
:description: Number of segments in LV.
- :method: snap_percent
:column: snap_percent
:type_hint: Float
:description: For snapshots
- :method: sync_percent
:column: sync_percent
:type_hint: Float
:description: For RAID
- :method: vg_uuid
:column: vg_uuid
:type_hint: String
:description: For VolumeGroup to LogicalVolume relationship.
92 changes: 92 additions & 0 deletions lib/lvm/attributes/2.02.105(2)/lvsseg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# These are column to object attribute mappings
# generated by bin/generate_field_data based on
# /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
---
- :method: chunk_size
:column: chunk_size
:type_hint: Integer
:description: For snapshots
- :method: chunksize
:column: chunksize
:type_hint: Integer
:description: For snapshots
- :method: devices
:column: devices
:type_hint: String
:description: Underlying devices used with starting extent numbers.
- :method: discards
:column: discards
:type_hint: String
:description: For thin pools
- :method: lv_uuid
:column: lv_uuid
:type_hint: String
:description: For LogicalVolume to LogicalVolumeSegment relationship.
- :method: region_size
:column: region_size
:type_hint: Integer
:description: For mirrors
- :method: regionsize
:column: regionsize
:type_hint: Integer
:description: For mirrors
- :method: monitor
:column: seg_monitor
:type_hint: String
:description: Dmeventd monitoring status of the segment.
- :method: pe_ranges
:column: seg_pe_ranges
:type_hint: String
:description: Ranges of Physical Extents of underlying devices in command line format.
- :method: size
:column: seg_size
:type_hint: Integer
:description: Size of segment in current units.
- :method: size_pe
:column: seg_size_pe
:type_hint: Integer
:description: Size of segment in physical extents.
- :method: start
:column: seg_start
:type_hint: Integer
:description: Offset within the LV to the start of the segment in current units.
- :method: start_pe
:column: seg_start_pe
:type_hint: Integer
:description: Offset within the LV to the start of the segment in physical extents.
- :method: tags
:column: seg_tags
:type_hint: String
:description: Tags
- :method: segtype
:column: segtype
:type_hint: String
:description: Type of LV segment.
- :method: stripe_size
:column: stripe_size
:type_hint: Integer
:description: For stripes
- :method: stripes
:column: stripes
:type_hint: Integer
:description: Number of stripes or mirror legs.
- :method: stripesize
:column: stripesize
:type_hint: Integer
:description: For stripes
- :method: thin_count
:column: thin_count
:type_hint: Integer
:description: For thin pools
- :method: thin_id
:column: thin_id
:type_hint: Integer
:description: For thin volume
- :method: transaction_id
:column: transaction_id
:type_hint: Integer
:description: For thin pools
- :method: zero
:column: zero
:type_hint: Integer
:description: For thin pools
81 changes: 81 additions & 0 deletions lib/lvm/attributes/2.02.105(2)/pvs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# These are column to object attribute mappings
# generated by bin/generate_field_data based on
# /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
---
- :method: dev_size
:column: dev_size
:type_hint: Integer
:description: Size of underlying device in current units.
- :method: pe_start
:column: pe_start
:type_hint: Integer
:description: Offset to the start of data on the underlying device.
- :method: attr
:column: pv_attr
:type_hint: String
:description: Various attributes - see man page.
- :method: ba_size
:column: pv_ba_size
:type_hint: Integer
:description: Size of PV Bootloader Area in current units.
- :method: ba_start
:column: pv_ba_start
:type_hint: Integer
:description: Offset to the start of PV Bootloader Area on the underlying device
in current units.
- :method: fmt
:column: pv_fmt
:type_hint: String
:description: Type of metadata.
- :method: free
:column: pv_free
:type_hint: Integer
:description: Total amount of unallocated space in current units.
- :method: mda_count
:column: pv_mda_count
:type_hint: Integer
:description: Number of metadata areas on this device.
- :method: mda_free
:column: pv_mda_free
:type_hint: Integer
:description: Free metadata area space on this device in current units.
- :method: mda_size
:column: pv_mda_size
:type_hint: Integer
:description: Size of smallest metadata area on this device in current units.
- :method: mda_used_count
:column: pv_mda_used_count
:type_hint: Integer
:description: Number of metadata areas in use on this device.
- :method: name
:column: pv_name
:type_hint: String
:description: Name.
- :method: pe_alloc_count
:column: pv_pe_alloc_count
:type_hint: Integer
:description: Total number of allocated Physical Extents.
- :method: pe_count
:column: pv_pe_count
:type_hint: Integer
:description: Total number of Physical Extents.
- :method: size
:column: pv_size
:type_hint: Integer
:description: Size of PV in current units.
- :method: tags
:column: pv_tags
:type_hint: String
:description: Tags
- :method: used
:column: pv_used
:type_hint: Integer
:description: Total amount of allocated space in current units.
- :method: uuid
:column: pv_uuid
:type_hint: String
:description: Unique identifier.
- :method: vg_uuid
:column: vg_uuid
:type_hint: String
:description: For VolumeGroup to PhysicalVolume relationship.
16 changes: 16 additions & 0 deletions lib/lvm/attributes/2.02.105(2)/pvsseg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# These are column to object attribute mappings
# generated by bin/generate_field_data based on
# /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
---
- :method: pv_uuid
:column: pv_uuid
:type_hint: String
:description: For PhysicalVolume to PhysicalVolumeSegment relationship.
- :method: size
:column: pvseg_size
:type_hint: Integer
:description: Number of extents in segment.
- :method: start
:column: pvseg_start
:type_hint: Integer
:description: Physical Extent number of start of segment.
Loading

0 comments on commit 355177d

Please sign in to comment.