chef-ruby-lvm-attrib 0.3.0 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.expeditor/run_linux_tests.sh +5 -33
  3. data/.expeditor/verify.pipeline.yml +12 -3
  4. data/.github/CODEOWNERS +3 -5
  5. data/CHANGELOG.md +34 -8
  6. data/VERSION +1 -1
  7. data/bin/generate_field_data +26 -4
  8. data/chef-ruby-lvm-attrib.gemspec +1 -1
  9. data/lib/lvm/attributes.rb +4 -4
  10. data/lib/lvm/attributes/2.02.187(2)/lvs.yaml +328 -0
  11. data/lib/lvm/attributes/2.02.187(2)/lvsseg.yaml +138 -0
  12. data/lib/lvm/attributes/2.02.187(2)/pvs.yaml +113 -0
  13. data/lib/lvm/attributes/2.02.187(2)/pvsseg.yaml +16 -0
  14. data/lib/lvm/attributes/2.02.187(2)/vgs.yaml +140 -0
  15. data/lib/lvm/attributes/2.03.07(2)/lvs.yaml +348 -0
  16. data/lib/lvm/attributes/2.03.07(2)/lvsseg.yaml +214 -0
  17. data/lib/lvm/attributes/2.03.07(2)/pvs.yaml +113 -0
  18. data/lib/lvm/attributes/2.03.07(2)/pvsseg.yaml +16 -0
  19. data/lib/lvm/attributes/2.03.07(2)/vgs.yaml +140 -0
  20. data/lib/lvm/attributes/2.03.08(2)/lvs.yaml +364 -0
  21. data/lib/lvm/attributes/2.03.08(2)/lvsseg.yaml +214 -0
  22. data/lib/lvm/attributes/2.03.08(2)/pvs.yaml +113 -0
  23. data/lib/lvm/attributes/2.03.08(2)/pvsseg.yaml +16 -0
  24. data/lib/lvm/attributes/2.03.08(2)/vgs.yaml +140 -0
  25. data/lib/lvm/attributes/2.03.09(2)/lvs.yaml +364 -0
  26. data/lib/lvm/attributes/2.03.09(2)/lvsseg.yaml +214 -0
  27. data/lib/lvm/attributes/2.03.09(2)/pvs.yaml +113 -0
  28. data/lib/lvm/attributes/2.03.09(2)/pvsseg.yaml +16 -0
  29. data/lib/lvm/attributes/2.03.09(2)/vgs.yaml +140 -0
  30. data/lib/lvm/attributes/2.03.10(2)/lvs.yaml +364 -0
  31. data/lib/lvm/attributes/2.03.10(2)/lvsseg.yaml +214 -0
  32. data/lib/lvm/attributes/2.03.10(2)/pvs.yaml +113 -0
  33. data/lib/lvm/attributes/2.03.10(2)/pvsseg.yaml +16 -0
  34. data/lib/lvm/attributes/2.03.10(2)/vgs.yaml +140 -0
  35. data/update-lvm.sh +3 -3
  36. metadata +27 -3
  37. data/.github/lock.yml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2950a875f1028a2dd7b384592984534a76002bc9150c2f0d44bf69ba73b3e1ca
4
- data.tar.gz: 9d75105a6e28b9dab08096a49da9ff65d6d3c34fdda0930c3061b84f952d8be9
3
+ metadata.gz: 84b50ac2e73d988378d7b1bf449723d06bae8c9f33f2b4059a3fd1ce7983ce5f
4
+ data.tar.gz: 82ad268663fe3b9f3c3e8baf5081c5f79135b7fa9f01922bc4907afba1eab262
5
5
  SHA512:
6
- metadata.gz: 0c7c2c1d289603f8808611fdbb667b1689d2374cf74a054d5869e9a0ce44806b0765f35365726f1896d035b3b29c8713f32601f378ca684818b3159ccb0be659
7
- data.tar.gz: 6f3381c92dcbe90c5e677a8e7e3fab5ae67c2f98c5a05796591330902676666938e1fde671410fc50b6537c88680537e1fe5c4717b16b62025149e2d170833dd
6
+ metadata.gz: f4cf00f53258c2f1ccdf273dc5fb551f09dbd56e4bf118e71d1f06d1dbf67f4beb1da4092438ab1d8b7d6fa87ed9f4d639a9a6c35bee5c92442d53291328c3a5
7
+ data.tar.gz: 4e71f180a2436c64b98ceebb80d9b0d40f85c596357d7d11b2628d9d603c6636c626e124b7c5900f7f85ab8001e06ddc5ea2510eae1fe751d111938ed6eefc80
@@ -2,43 +2,15 @@
2
2
  #
3
3
  # This script runs a passed in command, but first setups up the bundler caching on the repo
4
4
 
5
- set -e
5
+ set -ue
6
6
 
7
7
  export USER="root"
8
+ export LANG=C.UTF-8 LANGUAGE=C.UTF-8
8
9
 
9
- # make sure we have the aws cli
10
- apt-get update -y
11
- apt-get install awscli -y
10
+ echo "--- bundle install"
12
11
 
13
- # grab the s3 bundler if it's there and use it for all operations in bundler
14
- echo "Fetching bundle cache archive from s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz"
15
- aws s3 cp "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz" bundle.tar.gz || echo 'Could not pull the bundler archive from s3 for caching. Builds may be slower than usual as all gems will have to install.'
16
- aws s3 cp "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.sha256" bundle.sha256 || echo "Could not pull the sha256 hash of the vendor/bundle directory from s3. Without this we will compress and upload the bundler archive to S3 even if it hasn't changed"
17
-
18
- echo "Restoring the bundle cache archive to vendor/bundle"
19
- if [ -f bundle.tar.gz ]; then
20
- tar -xzf bundle.tar.gz
21
- fi
22
12
  bundle config --local path vendor/bundle
23
-
24
13
  bundle install --jobs=7 --retry=3
25
- bundle exec $1
26
-
27
- if [[ -f bundle.tar.gz && -f bundle.sha256 ]]; then # dont' check the sha if we're missing either file
28
- if shasum --check bundle.sha256 --status; then # if the the sha matches we're done
29
- echo "Bundled gems have not changed. Skipping upload to s3"
30
- exit
31
- fi
32
- fi
33
-
34
- echo "Generating sha256 hash file of the vendor/bundle directory to ship to s3"
35
- shasum -a 256 vendor/bundle > bundle.sha256
36
-
37
- echo "Creating the tar.gz to of the vendor/bundle directory to ship to s3"
38
- tar -czf bundle.tar.gz vendor/
39
-
40
- echo "Uploading the tar.gz of the vendor/bundle directory to s3"
41
- aws s3 cp bundle.tar.gz "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz" || echo 'Could not push the bundler directory to s3 for caching. Future builds may be slower if this continues.'
42
14
 
43
- echo "Uploading the sha256 hash of the vendor/bundle directory to s3"
44
- aws s3 cp bundle.sha256 "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.sha256" || echo 'Could not push the bundler directory to s3 for caching. Future builds may be slower if this continues.'
15
+ echo "+++ bundle exec task"
16
+ bundle exec $@
@@ -1,10 +1,19 @@
1
- steps:
1
+ ---
2
+ expeditor:
3
+ cached_folders:
4
+ - vendor
5
+ defaults:
6
+ buildkite:
7
+ retry:
8
+ automatic:
9
+ limit: 1
10
+ timeout_in_minutes: 30
2
11
 
12
+ steps:
3
13
  - label: lint-chefstyle
4
14
  command:
5
15
  - .expeditor/run_linux_tests.sh "rake style"
6
-
7
16
  expeditor:
8
17
  executor:
9
18
  docker:
10
- image: ruby:2.6-buster
19
+ image: ruby:2.7-buster
@@ -1,7 +1,5 @@
1
1
  # Order is important. The last matching pattern has the most precedence.
2
2
 
3
- * @chef/client-maintainers
4
- .expeditor/** @chef/jex-team
5
- README.md @chef/docs-team
6
- RELEASE_NOTES.md @chef/docs-team
7
- .github/ISSUE_TEMPLATE/** @chef/docs-team
3
+ * @chef/chef-infra-reviewers @chef/chef-infra-approvers @chef/chef-infra-owners
4
+ .expeditor/ @chef/jex-team
5
+ *.md @chef/docs-team
@@ -1,26 +1,52 @@
1
1
  # chef-ruby-lvm-attrib Changelog
2
2
 
3
- <!-- latest_release 0.3.0 -->
4
- ## [v0.3.0](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.0) (2019-10-18)
3
+ <!-- latest_release 0.3.6 -->
4
+ ## [v0.3.6](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.6) (2020-11-13)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Add the gem badge to the readme + resolve chefstyle warnings [#23](https://github.com/chef/chef-ruby-lvm-attrib/pull/23) ([tas50](https://github.com/tas50))
7
+ - Adding Lvm 2.03.09(2) [#31](https://github.com/chef/chef-ruby-lvm-attrib/pull/31) ([gaelik](https://github.com/gaelik))
8
8
  <!-- latest_release -->
9
- <!-- release_rollup since=0.2.8 -->
9
+ <!-- release_rollup since=0.3.5 -->
10
10
  ### Changes not yet released to rubygems.org
11
11
 
12
12
  #### Merged Pull Requests
13
- - Add the gem badge to the readme + resolve chefstyle warnings [#23](https://github.com/chef/chef-ruby-lvm-attrib/pull/23) ([tas50](https://github.com/tas50)) <!-- 0.3.0 -->
14
- - Added v2_02_186 attributes [#18](https://github.com/chef/chef-ruby-lvm-attrib/pull/18) ([b-dean](https://github.com/b-dean)) <!-- 0.2.10 -->
15
- - Wire up Expeditor and Buildkite [#22](https://github.com/chef/chef-ruby-lvm-attrib/pull/22) ([tas50](https://github.com/tas50)) <!-- 0.2.9 -->
13
+ - Adding Lvm 2.03.09(2) [#31](https://github.com/chef/chef-ruby-lvm-attrib/pull/31) ([gaelik](https://github.com/gaelik)) <!-- 0.3.6 -->
16
14
  <!-- release_rollup -->
17
15
 
18
16
  <!-- latest_stable_release -->
17
+ ## [v0.3.5](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.5) (2020-10-01)
18
+
19
+ #### Merged Pull Requests
20
+ - Misc Chefstyle fixes [#29](https://github.com/chef/chef-ruby-lvm-attrib/pull/29) ([tas50](https://github.com/tas50))
21
+ - Add 2.02.187(2) attributes [#30](https://github.com/chef/chef-ruby-lvm-attrib/pull/30) ([gyanendra-choudhary](https://github.com/gyanendra-choudhary))
22
+ <!-- latest_stable_release -->
23
+
24
+ ## [v0.3.3](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.3) (2020-07-21)
25
+
26
+ #### Merged Pull Requests
27
+ - Added v2_03_07 attributes [#28](https://github.com/chef/chef-ruby-lvm-attrib/pull/28) ([bottleneko](https://github.com/bottleneko))
28
+
29
+ ## [v0.3.2](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.2) (2020-05-27)
30
+
31
+ #### Merged Pull Requests
32
+ - Added v2_03_08 attributes [#27](https://github.com/chef/chef-ruby-lvm-attrib/pull/27) ([gaelik](https://github.com/gaelik))
33
+
34
+ ## [v0.3.1](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.1) (2020-04-15)
35
+
36
+ #### Merged Pull Requests
37
+ - Add 2.03.10 data [#25](https://github.com/chef/chef-ruby-lvm-attrib/pull/25) ([tas50](https://github.com/tas50))
38
+
39
+ ## [v0.3.0](https://github.com/chef/chef-ruby-lvm-attrib/tree/v0.3.0) (2019-10-18)
40
+
41
+ #### Merged Pull Requests
42
+ - Wire up Expeditor and Buildkite [#22](https://github.com/chef/chef-ruby-lvm-attrib/pull/22) ([tas50](https://github.com/tas50))
43
+ - Added v2_02_186 attributes [#18](https://github.com/chef/chef-ruby-lvm-attrib/pull/18) ([b-dean](https://github.com/b-dean))
44
+ - Add the gem badge to the readme + resolve chefstyle warnings [#23](https://github.com/chef/chef-ruby-lvm-attrib/pull/23) ([tas50](https://github.com/tas50))
45
+
19
46
  # 0.2.8 (2019-08-09)
20
47
 
21
48
  - Added 2.02.185
22
49
  - Added 2.03.02
23
- <!-- latest_stable_release -->
24
50
 
25
51
  # 0.2.7 (2019-01-04)
26
52
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.6
@@ -5,8 +5,8 @@
5
5
  #
6
6
  # ./generate_field_data ~/LVM2.2.02.38
7
7
 
8
- require "fileutils"
9
- require "yaml"
8
+ require "fileutils" unless defined?(FileUtils)
9
+ require "yaml" unless defined?(YAML)
10
10
 
11
11
  VERSION_FILE = "/VERSION".freeze
12
12
  COLUMNS_FILE = "/lib/report/columns.h".freeze
@@ -91,6 +91,28 @@ TYPE_CONVERSION_MAP = {
91
91
  "seg_new_data_offset" => "Integer",
92
92
  "seg_parity_chunks" => "Integer",
93
93
  "cachemetadataformat" => "Integer",
94
+
95
+ # these seems to be integers
96
+ "vdo_used_size" => "Integer",
97
+ "vdo_saving_percent" => "Integer",
98
+ "writecache_total_blocks" => "Integer",
99
+ "writecache_free_blocks" => "Integer",
100
+ "writecache_writeback_blocks" => "Integer",
101
+ "writecache_error" => "Integer",
102
+ "vdo_minimum_io_size" => "Integer",
103
+ "vdo_block_map_cache_size" => "Integer",
104
+ "vdo_block_map_era_length" => "Integer",
105
+ "vdo_index_memory_size" => "Integer",
106
+ "vdo_slab_size" => "Integer",
107
+ "vdo_ack_threads" => "Integer",
108
+ "vdo_bio_threads" => "Integer",
109
+ "vdo_bio_rotation" => "Integer",
110
+ "vdo_cpu_threads" => "Integer",
111
+ "vdo_hash_zone_threads" => "Integer",
112
+ "vdo_logical_threads" => "Integer",
113
+ "vdo_physical_threads" => "Integer",
114
+ "vdo_max_discard" => "Integer",
115
+ "vdo_header_size" => "Integer",
94
116
  }.freeze
95
117
 
96
118
  lvm_source = ARGV[0]
@@ -109,8 +131,8 @@ File.readlines(lvm_source + COLUMNS_FILE).each do |line|
109
131
  fields = $1.split(", ")
110
132
  fields.each { |f| f.gsub!(/^"/, ""); f.gsub!(/"$/, "") }
111
133
  p fields if debug
112
- app = fields[0]
113
- general_type = fields[2]
134
+ app = fields[0]
135
+ general_type = fields[2]
114
136
  specific_type = fields[6]
115
137
  column = fields[7]
116
138
  method = fields[7].dup
@@ -1,4 +1,4 @@
1
- $:.unshift(File.expand_path("../lib/", __FILE__))
1
+ $:.unshift(File.expand_path("lib", __dir__))
2
2
  require "lvm/attributes"
3
3
 
4
4
  Gem::Specification.new do |gem|
@@ -1,11 +1,11 @@
1
- require "yaml"
1
+ require "yaml" unless defined?(YAML)
2
2
 
3
3
  module LVM
4
4
  module Attributes
5
- VERSION = "0.3.0".freeze
5
+ VERSION = "0.3.6".freeze
6
6
 
7
7
  def load(version, name)
8
- cwd = File.dirname(__FILE__)
8
+ cwd = __dir__
9
9
 
10
10
  # was going to be symlinks, but rubygems didn't seem to want to package
11
11
  # them
@@ -18,7 +18,7 @@ module LVM
18
18
  file = File.join(cwd, "attributes", version, name)
19
19
 
20
20
  begin
21
- return YAML.load_file(file)
21
+ YAML.load_file(file)
22
22
  rescue Errno::ENOENT => e
23
23
  raise ArgumentError.new("Unable to load lvm attributes [#{name}] for version [#{version}]. " \
24
24
  "The version/object may not be supported or you may need to upgrade the chef-ruby-lvm-attrib gem. Error [#{e.message}]")
@@ -0,0 +1,328 @@
1
+ # These are column to object attribute mappings
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
+ ---
5
+ - :method: cache_dirty_blocks
6
+ :column: cache_dirty_blocks
7
+ :type_hint: Integer
8
+ :description: Dirty cache blocks.
9
+ - :method: cache_read_hits
10
+ :column: cache_read_hits
11
+ :type_hint: Integer
12
+ :description: Cache read hits.
13
+ - :method: cache_read_misses
14
+ :column: cache_read_misses
15
+ :type_hint: Integer
16
+ :description: Cache read misses.
17
+ - :method: cache_total_blocks
18
+ :column: cache_total_blocks
19
+ :type_hint: Integer
20
+ :description: Total cache blocks.
21
+ - :method: cache_used_blocks
22
+ :column: cache_used_blocks
23
+ :type_hint: Integer
24
+ :description: Used cache blocks.
25
+ - :method: cache_write_hits
26
+ :column: cache_write_hits
27
+ :type_hint: Integer
28
+ :description: Cache write hits.
29
+ - :method: cache_write_misses
30
+ :column: cache_write_misses
31
+ :type_hint: Integer
32
+ :description: Cache write misses.
33
+ - :method: convert_lv
34
+ :column: convert_lv
35
+ :type_hint: String
36
+ :description: For lvconvert
37
+ - :method: convert_lv_uuid
38
+ :column: convert_lv_uuid
39
+ :type_hint: String
40
+ :description: For lvconvert
41
+ - :method: copy_percent
42
+ :column: copy_percent
43
+ :type_hint: String
44
+ :description: For Cache
45
+ - :method: data_lv
46
+ :column: data_lv
47
+ :type_hint: String
48
+ :description: For thin and cache pools
49
+ - :method: data_lv_uuid
50
+ :column: data_lv_uuid
51
+ :type_hint: String
52
+ :description: For thin and cache pools
53
+ - :method: data_percent
54
+ :column: data_percent
55
+ :type_hint: String
56
+ :description: For snapshot
57
+ - :method: kernel_cache_policy
58
+ :column: kernel_cache_policy
59
+ :type_hint: String
60
+ :description: Cache policy used in kernel.
61
+ - :method: kernel_cache_settings
62
+ :column: kernel_cache_settings
63
+ :type_hint: String
64
+ :description: Cache settings/parameters as set in kernel
65
+ - :method: kernel_discards
66
+ :column: kernel_discards
67
+ :type_hint: String
68
+ :description: For thin pools
69
+ - :method: kernel_metadata_format
70
+ :column: kernel_metadata_format
71
+ :type_hint: Integer
72
+ :description: Cache metadata format used in kernel.
73
+ - :method: active
74
+ :column: lv_active
75
+ :type_hint: String
76
+ :description: Active state of the LV.
77
+ - :method: active_exclusively
78
+ :column: lv_active_exclusively
79
+ :type_hint: String
80
+ :description: Set if the LV is active exclusively.
81
+ - :method: active_locally
82
+ :column: lv_active_locally
83
+ :type_hint: String
84
+ :description: Set if the LV is active locally.
85
+ - :method: active_remotely
86
+ :column: lv_active_remotely
87
+ :type_hint: String
88
+ :description: Set if the LV is active remotely.
89
+ - :method: allocation_locked
90
+ :column: lv_allocation_locked
91
+ :type_hint: String
92
+ :description: Set if LV is locked against allocation changes.
93
+ - :method: allocation_policy
94
+ :column: lv_allocation_policy
95
+ :type_hint: String
96
+ :description: LV allocation policy.
97
+ - :method: ancestors
98
+ :column: lv_ancestors
99
+ :type_hint: String
100
+ :description: LV ancestors ignoring any stored history of the ancestry chain.
101
+ - :method: attr
102
+ :column: lv_attr
103
+ :type_hint: String
104
+ :description: Various attributes - see man page.
105
+ - :method: check_needed
106
+ :column: lv_check_needed
107
+ :type_hint: String
108
+ :description: For thin pools and cache volumes
109
+ - :method: converting
110
+ :column: lv_converting
111
+ :type_hint: String
112
+ :description: Set if LV is being converted.
113
+ - :method: descendants
114
+ :column: lv_descendants
115
+ :type_hint: String
116
+ :description: LV descendants ignoring any stored history of the ancestry chain.
117
+ - :method: dm_path
118
+ :column: lv_dm_path
119
+ :type_hint: String
120
+ :description: Internal device-mapper pathname for LV (in /dev/mapper directory).
121
+ - :method: fixed_minor
122
+ :column: lv_fixed_minor
123
+ :type_hint: String
124
+ :description: Set if LV has fixed minor number assigned.
125
+ - :method: full_ancestors
126
+ :column: lv_full_ancestors
127
+ :type_hint: String
128
+ :description: LV ancestors including stored history of the ancestry chain.
129
+ - :method: full_descendants
130
+ :column: lv_full_descendants
131
+ :type_hint: String
132
+ :description: LV descendants including stored history of the ancestry chain.
133
+ - :method: full_name
134
+ :column: lv_full_name
135
+ :type_hint: String
136
+ :description: Full name of LV including its VG
137
+ - :method: health_status
138
+ :column: lv_health_status
139
+ :type_hint: String
140
+ :description: LV health status.
141
+ - :method: historical
142
+ :column: lv_historical
143
+ :type_hint: String
144
+ :description: Set if the LV is historical.
145
+ - :method: host
146
+ :column: lv_host
147
+ :type_hint: String
148
+ :description: Creation host of the LV
149
+ - :method: image_synced
150
+ :column: lv_image_synced
151
+ :type_hint: String
152
+ :description: Set if mirror/RAID image is synchronized.
153
+ - :method: initial_image_sync
154
+ :column: lv_initial_image_sync
155
+ :type_hint: String
156
+ :description: Set if mirror/RAID images underwent initial resynchronization.
157
+ - :method: layout
158
+ :column: lv_layout
159
+ :type_hint: String
160
+ :description: LV layout.
161
+ - :method: lockargs
162
+ :column: lv_lockargs
163
+ :type_hint: String
164
+ :description: Lock args of the LV used by lvmlockd.
165
+ - :method: major
166
+ :column: lv_major
167
+ :type_hint: String
168
+ :description: Persistent major number or -1 if not persistent.
169
+ - :method: merge_failed
170
+ :column: lv_merge_failed
171
+ :type_hint: String
172
+ :description: Set if snapshot merge failed.
173
+ - :method: merging
174
+ :column: lv_merging
175
+ :type_hint: String
176
+ :description: Set if snapshot LV is being merged to origin.
177
+ - :method: metadata_size
178
+ :column: lv_metadata_size
179
+ :type_hint: Integer
180
+ :description: For thin and cache pools
181
+ - :method: minor
182
+ :column: lv_minor
183
+ :type_hint: String
184
+ :description: Persistent minor number or -1 if not persistent.
185
+ - :method: modules
186
+ :column: lv_modules
187
+ :type_hint: String
188
+ :description: Kernel device-mapper modules required for this LV.
189
+ - :method: name
190
+ :column: lv_name
191
+ :type_hint: String
192
+ :description: Name. LVs created for internal use are enclosed in brackets.
193
+ - :method: parent
194
+ :column: lv_parent
195
+ :type_hint: String
196
+ :description: For LVs that are components of another LV
197
+ - :method: path
198
+ :column: lv_path
199
+ :type_hint: String
200
+ :description: Full pathname for LV. Blank for internal LVs.
201
+ - :method: profile
202
+ :column: lv_profile
203
+ :type_hint: String
204
+ :description: Configuration profile attached to this LV.
205
+ - :method: read_ahead
206
+ :column: lv_read_ahead
207
+ :type_hint: String
208
+ :description: Read ahead setting in current units.
209
+ - :method: role
210
+ :column: lv_role
211
+ :type_hint: String
212
+ :description: LV role.
213
+ - :method: size
214
+ :column: lv_size
215
+ :type_hint: Integer
216
+ :description: Size of LV in current units.
217
+ - :method: skip_activation
218
+ :column: lv_skip_activation
219
+ :type_hint: String
220
+ :description: Set if LV is skipped on activation.
221
+ - :method: snapshot_invalid
222
+ :column: lv_snapshot_invalid
223
+ :type_hint: String
224
+ :description: Set if snapshot LV is invalid.
225
+ - :method: tags
226
+ :column: lv_tags
227
+ :type_hint: String
228
+ :description: Tags
229
+ - :method: time
230
+ :column: lv_time
231
+ :type_hint: String
232
+ :description: Creation time of the LV
233
+ - :method: time_removed
234
+ :column: lv_time_removed
235
+ :type_hint: String
236
+ :description: Removal time of the LV
237
+ - :method: uuid
238
+ :column: lv_uuid
239
+ :type_hint: String
240
+ :description: Unique identifier.
241
+ - :method: when_full
242
+ :column: lv_when_full
243
+ :type_hint: String
244
+ :description: For thin pools
245
+ - :method: metadata_lv
246
+ :column: metadata_lv
247
+ :type_hint: String
248
+ :description: For thin and cache pools
249
+ - :method: metadata_lv_uuid
250
+ :column: metadata_lv_uuid
251
+ :type_hint: String
252
+ :description: For thin and cache pools
253
+ - :method: metadata_percent
254
+ :column: metadata_percent
255
+ :type_hint: String
256
+ :description: For cache and thin pools
257
+ - :method: mirror_log
258
+ :column: mirror_log
259
+ :type_hint: String
260
+ :description: For mirrors
261
+ - :method: mirror_log_uuid
262
+ :column: mirror_log_uuid
263
+ :type_hint: String
264
+ :description: For mirrors
265
+ - :method: move_pv
266
+ :column: move_pv
267
+ :type_hint: String
268
+ :description: For pvmove
269
+ - :method: move_pv_uuid
270
+ :column: move_pv_uuid
271
+ :type_hint: String
272
+ :description: For pvmove
273
+ - :method: origin
274
+ :column: origin
275
+ :type_hint: String
276
+ :description: For snapshots and thins
277
+ - :method: origin_size
278
+ :column: origin_size
279
+ :type_hint: Integer
280
+ :description: For snapshots
281
+ - :method: origin_uuid
282
+ :column: origin_uuid
283
+ :type_hint: String
284
+ :description: For snapshots and thins
285
+ - :method: pool_lv
286
+ :column: pool_lv
287
+ :type_hint: String
288
+ :description: For thin volumes
289
+ - :method: pool_lv_uuid
290
+ :column: pool_lv_uuid
291
+ :type_hint: String
292
+ :description: For thin volumes
293
+ - :method: raid_max_recovery_rate
294
+ :column: raid_max_recovery_rate
295
+ :type_hint: Integer
296
+ :description: For RAID1
297
+ - :method: raid_min_recovery_rate
298
+ :column: raid_min_recovery_rate
299
+ :type_hint: Integer
300
+ :description: For RAID1
301
+ - :method: raid_mismatch_count
302
+ :column: raid_mismatch_count
303
+ :type_hint: Integer
304
+ :description: For RAID
305
+ - :method: raid_sync_action
306
+ :column: raid_sync_action
307
+ :type_hint: String
308
+ :description: For RAID
309
+ - :method: raid_write_behind
310
+ :column: raid_write_behind
311
+ :type_hint: Integer
312
+ :description: For RAID1
313
+ - :method: seg_count
314
+ :column: seg_count
315
+ :type_hint: Integer
316
+ :description: Number of segments in LV.
317
+ - :method: snap_percent
318
+ :column: snap_percent
319
+ :type_hint: String
320
+ :description: For snapshots
321
+ - :method: sync_percent
322
+ :column: sync_percent
323
+ :type_hint: String
324
+ :description: For Cache
325
+ - :method: vg_uuid
326
+ :column: vg_uuid
327
+ :type_hint: String
328
+ :description: For VolumeGroup to LogicalVolume relationship.