Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Added v2_03_27 attributes (#78) #80

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- Added v2_03_27 attributes

## [0.4.0](https://github.com/sous-chefs/chef-ruby-lvm-attrib/compare/v0.3.15...v0.4.0) (2024-06-28)


Expand Down
384 changes: 384 additions & 0 deletions lib/lvm/attributes/2.03.27(2)/lvs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,384 @@
# These are column to object attribute mappings
# generated by ./bin/generate_field_data based on
# lvm2/lib/report/columns.h
---
- :method: cache_dirty_blocks
:column: cache_dirty_blocks
:type_hint: Integer
:description: Dirty cache blocks.
- :method: cache_read_hits
:column: cache_read_hits
:type_hint: Integer
:description: Cache read hits.
- :method: cache_read_misses
:column: cache_read_misses
:type_hint: Integer
:description: Cache read misses.
- :method: cache_total_blocks
:column: cache_total_blocks
:type_hint: Integer
:description: Total cache blocks.
- :method: cache_used_blocks
:column: cache_used_blocks
:type_hint: Integer
:description: Used cache blocks.
- :method: cache_write_hits
:column: cache_write_hits
:type_hint: Integer
:description: Cache write hits.
- :method: cache_write_misses
:column: cache_write_misses
:type_hint: Integer
:description: Cache write misses.
- :method: convert_lv
:column: convert_lv
:type_hint: String
:description: For lvconvert
- :method: convert_lv_uuid
:column: convert_lv_uuid
:type_hint: String
:description: For lvconvert
- :method: copy_percent
:column: copy_percent
:type_hint: String
:description: For Cache
- :method: data_lv
:column: data_lv
:type_hint: String
:description: For cache/thin/vdo pools
- :method: data_lv_uuid
:column: data_lv_uuid
:type_hint: String
:description: For cache/thin/vdo pools
- :method: data_percent
:column: data_percent
:type_hint: String
:description: For snapshot
- :method: integritymismatches
:column: integritymismatches
:type_hint: Integer
:description: The number of integrity mismatches.
- :method: kernel_cache_policy
:column: kernel_cache_policy
:type_hint: String
:description: Cache policy used in kernel.
- :method: kernel_cache_settings
:column: kernel_cache_settings
:type_hint: String
:description: Cache settings/parameters as set in kernel
- :method: kernel_discards
:column: kernel_discards
:type_hint: String
:description: For thin pools
- :method: kernel_metadata_format
:column: kernel_metadata_format
:type_hint: Integer
:description: Cache metadata format used in kernel.
- :method: active
:column: lv_active
:type_hint: String
:description: Active state of the LV.
- :method: active_exclusively
:column: lv_active_exclusively
:type_hint: String
:description: Set if the LV is active exclusively.
- :method: active_locally
:column: lv_active_locally
:type_hint: String
:description: Set if the LV is active locally.
- :method: active_remotely
:column: lv_active_remotely
:type_hint: String
:description: Set if the LV is active remotely.
- :method: allocation_locked
:column: lv_allocation_locked
:type_hint: String
:description: Set if LV is locked against allocation changes.
- :method: allocation_policy
:column: lv_allocation_policy
:type_hint: String
:description: LV allocation policy.
- :method: ancestors
:column: lv_ancestors
:type_hint: String
:description: LV ancestors ignoring any stored history of the ancestry chain.
- :method: attr
:column: lv_attr
:type_hint: String
:description: Various attributes - see man page.
- :method: autoactivation
:column: lv_autoactivation
:type_hint: String
:description: Set if LV autoactivation is enabled.
- :method: check_needed
:column: lv_check_needed
:type_hint: String
:description: For thin pools and cache volumes
- :method: converting
:column: lv_converting
:type_hint: String
:description: Set if LV is being converted.
- :method: descendants
:column: lv_descendants
:type_hint: String
:description: LV descendants ignoring any stored history of the ancestry chain.
- :method: dm_path
:column: lv_dm_path
:type_hint: String
:description: Internal device-mapper pathname for LV (in /dev/mapper directory).
- :method: fixed_minor
:column: lv_fixed_minor
:type_hint: String
:description: Set if LV has fixed minor number assigned.
- :method: full_ancestors
:column: lv_full_ancestors
:type_hint: String
:description: LV ancestors including stored history of the ancestry chain.
- :method: full_descendants
:column: lv_full_descendants
:type_hint: String
:description: LV descendants including stored history of the ancestry chain.
- :method: full_name
:column: lv_full_name
:type_hint: String
:description: Full name of LV including its VG
- :method: health_status
:column: lv_health_status
:type_hint: String
:description: LV health status.
- :method: historical
:column: lv_historical
:type_hint: String
:description: Set if the LV is historical.
- :method: host
:column: lv_host
:type_hint: String
:description: Creation host of the LV
- :method: image_synced
:column: lv_image_synced
:type_hint: String
:description: Set if mirror/RAID image is synchronized.
- :method: initial_image_sync
:column: lv_initial_image_sync
:type_hint: String
:description: Set if mirror/RAID images underwent initial resynchronization.
- :method: layout
:column: lv_layout
:type_hint: String
:description: LV layout.
- :method: lockargs
:column: lv_lockargs
:type_hint: String
:description: Lock args of the LV used by lvmlockd.
- :method: major
:column: lv_major
:type_hint: String
:description: Persistent major number or -1 if not persistent.
- :method: merge_failed
:column: lv_merge_failed
:type_hint: String
:description: Set if snapshot merge failed.
- :method: merging
:column: lv_merging
:type_hint: String
:description: Set if snapshot LV is being merged to origin.
- :method: metadata_size
:column: lv_metadata_size
:type_hint: Integer
:description: For thin and cache pools
- :method: minor
:column: lv_minor
:type_hint: String
: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: parent
:column: lv_parent
:type_hint: String
:description: For LVs that are components of another LV
- :method: path
:column: lv_path
:type_hint: String
:description: Full pathname for LV. Blank for internal LVs.
- :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: role
:column: lv_role
:type_hint: String
:description: LV role.
- :method: size
:column: lv_size
:type_hint: Integer
:description: Size of LV in current units.
- :method: skip_activation
:column: lv_skip_activation
:type_hint: String
:description: Set if LV is skipped on activation.
- :method: snapshot_invalid
:column: lv_snapshot_invalid
:type_hint: String
:description: Set if snapshot LV is invalid.
- :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: time_removed
:column: lv_time_removed
:type_hint: String
:description: Removal time of the LV
- :method: uuid
:column: lv_uuid
:type_hint: String
:description: Unique identifier.
- :method: when_full
:column: lv_when_full
:type_hint: String
:description: For thin pools
- :method: metadata_lv
:column: metadata_lv
:type_hint: String
:description: For cache/thin pools
- :method: metadata_lv_uuid
:column: metadata_lv_uuid
:type_hint: String
:description: For cache/thin pools
- :method: metadata_percent
:column: metadata_percent
:type_hint: String
:description: For cache and thin pools
- :method: mirror_log
:column: mirror_log
:type_hint: String
:description: For mirrors
- :method: mirror_log_uuid
:column: mirror_log_uuid
:type_hint: String
:description: For mirrors
- :method: move_pv
:column: move_pv
:type_hint: String
:description: For pvmove
- :method: move_pv_uuid
:column: move_pv_uuid
:type_hint: String
:description: For pvmove
- :method: origin
:column: origin
:type_hint: String
:description: For snapshots and thins
- :method: origin_size
:column: origin_size
:type_hint: Integer
:description: For snapshots
- :method: origin_uuid
:column: origin_uuid
:type_hint: String
:description: For snapshots and thins
- :method: pool_lv
:column: pool_lv
:type_hint: String
:description: For cache/thin/vdo volumes
- :method: pool_lv_uuid
:column: pool_lv_uuid
:type_hint: String
:description: For cache/thin/vdo 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: raidintegrityblocksize
:column: raidintegrityblocksize
:type_hint: Integer
:description: The integrity block size
- :method: raidintegritymode
:column: raidintegritymode
:type_hint: String
:description: The integrity mode
- :method: seg_count
:column: seg_count
:type_hint: Integer
:description: Number of segments in LV.
- :method: snap_percent
:column: snap_percent
:type_hint: String
:description: For snapshots
- :method: sync_percent
:column: sync_percent
:type_hint: String
:description: For Cache
- :method: vdo_compression_state
:column: vdo_compression_state
:type_hint: String
:description: For vdo pools
- :method: vdo_index_state
:column: vdo_index_state
:type_hint: String
:description: For vdo pools
- :method: vdo_operating_mode
:column: vdo_operating_mode
:type_hint: String
:description: For vdo pools
- :method: vdo_saving_percent
:column: vdo_saving_percent
:type_hint: Integer
:description: For vdo pools
- :method: vdo_used_size
:column: vdo_used_size
:type_hint: Integer
:description: For vdo pools
- :method: vg_uuid
:column: vg_uuid
:type_hint: String
:description: For VolumeGroup to LogicalVolume relationship.
- :method: writecache_block_size
:column: writecache_block_size
:type_hint: Integer
:description: The writecache block size
- :method: writecache_error
:column: writecache_error
:type_hint: Integer
:description: Total writecache errors.
- :method: writecache_free_blocks
:column: writecache_free_blocks
:type_hint: Integer
:description: Total writecache free blocks.
- :method: writecache_total_blocks
:column: writecache_total_blocks
:type_hint: Integer
:description: Total writecache blocks.
- :method: writecache_writeback_blocks
:column: writecache_writeback_blocks
:type_hint: Integer
:description: Total writecache writeback blocks.
Loading
Loading