chef-ruby-lvm-attrib 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/bin/generate_field_data +2 -2
  4. data/lib/lvm/attributes.rb +1 -1
  5. data/lib/lvm/attributes/2.02.100(2)/lvs.yaml +2 -2
  6. data/lib/lvm/attributes/2.02.100(2)/lvsseg.yaml +2 -2
  7. data/lib/lvm/attributes/2.02.100(2)/pvs.yaml +2 -2
  8. data/lib/lvm/attributes/2.02.100(2)/pvsseg.yaml +2 -2
  9. data/lib/lvm/attributes/2.02.100(2)/vgs.yaml +2 -2
  10. data/lib/lvm/attributes/2.02.105(2)/lvs.yaml +2 -2
  11. data/lib/lvm/attributes/2.02.105(2)/lvsseg.yaml +2 -2
  12. data/lib/lvm/attributes/2.02.105(2)/pvs.yaml +2 -2
  13. data/lib/lvm/attributes/2.02.105(2)/pvsseg.yaml +2 -2
  14. data/lib/lvm/attributes/2.02.105(2)/vgs.yaml +2 -2
  15. data/lib/lvm/attributes/2.02.111(2)/lvs.yaml +57 -57
  16. data/lib/lvm/attributes/2.02.111(2)/lvsseg.yaml +25 -25
  17. data/lib/lvm/attributes/2.02.111(2)/pvs.yaml +26 -25
  18. data/lib/lvm/attributes/2.02.111(2)/pvsseg.yaml +6 -6
  19. data/lib/lvm/attributes/2.02.111(2)/vgs.yaml +32 -32
  20. data/lib/lvm/attributes/2.02.112(2)/lvs.yaml +28 -0
  21. data/lib/lvm/attributes/2.02.113(2)/lvs.yaml +28 -0
  22. data/lib/lvm/attributes/2.02.114(2)/lvs.yaml +28 -0
  23. data/lib/lvm/attributes/2.02.115(2)/lvs.yaml +34 -2
  24. data/lib/lvm/attributes/2.02.115(2)/lvsseg.yaml +2 -2
  25. data/lib/lvm/attributes/2.02.115(2)/pvs.yaml +2 -2
  26. data/lib/lvm/attributes/2.02.115(2)/pvsseg.yaml +2 -2
  27. data/lib/lvm/attributes/2.02.115(2)/vgs.yaml +2 -2
  28. data/lib/lvm/attributes/2.02.116(2)/lvs.yaml +34 -2
  29. data/lib/lvm/attributes/2.02.116(2)/lvsseg.yaml +2 -2
  30. data/lib/lvm/attributes/2.02.116(2)/pvs.yaml +2 -2
  31. data/lib/lvm/attributes/2.02.116(2)/pvsseg.yaml +2 -2
  32. data/lib/lvm/attributes/2.02.116(2)/vgs.yaml +2 -2
  33. data/lib/lvm/attributes/2.02.117(2)/lvs.yaml +32 -0
  34. data/lib/lvm/attributes/2.02.118(2)/lvs.yaml +34 -2
  35. data/lib/lvm/attributes/2.02.118(2)/lvsseg.yaml +2 -2
  36. data/lib/lvm/attributes/2.02.118(2)/pvs.yaml +2 -2
  37. data/lib/lvm/attributes/2.02.118(2)/pvsseg.yaml +2 -2
  38. data/lib/lvm/attributes/2.02.118(2)/vgs.yaml +2 -2
  39. data/lib/lvm/attributes/2.02.119(2)/lvs.yaml +32 -0
  40. data/lib/lvm/attributes/2.02.120(2)/lvs.yaml +34 -2
  41. data/lib/lvm/attributes/2.02.120(2)/lvsseg.yaml +2 -2
  42. data/lib/lvm/attributes/2.02.120(2)/pvs.yaml +2 -2
  43. data/lib/lvm/attributes/2.02.120(2)/pvsseg.yaml +2 -2
  44. data/lib/lvm/attributes/2.02.120(2)/vgs.yaml +2 -2
  45. data/lib/lvm/attributes/2.02.121(2)/lvs.yaml +32 -0
  46. data/lib/lvm/attributes/2.02.122(2)/lvs.yaml +34 -2
  47. data/lib/lvm/attributes/2.02.122(2)/lvsseg.yaml +2 -2
  48. data/lib/lvm/attributes/2.02.122(2)/pvs.yaml +2 -2
  49. data/lib/lvm/attributes/2.02.122(2)/pvsseg.yaml +2 -2
  50. data/lib/lvm/attributes/2.02.122(2)/vgs.yaml +2 -2
  51. data/lib/lvm/attributes/2.02.123(2)/lvs.yaml +32 -0
  52. data/lib/lvm/attributes/2.02.124(2)/lvs.yaml +32 -0
  53. data/lib/lvm/attributes/2.02.125(2)/lvs.yaml +32 -0
  54. data/lib/lvm/attributes/2.02.126(2)/lvs.yaml +32 -0
  55. data/lib/lvm/attributes/2.02.127(2)/lvs.yaml +32 -0
  56. data/lib/lvm/attributes/2.02.128(2)/lvs.yaml +32 -0
  57. data/lib/lvm/attributes/2.02.129(2)/lvs.yaml +32 -0
  58. data/lib/lvm/attributes/2.02.130(2)/lvs.yaml +34 -2
  59. data/lib/lvm/attributes/2.02.130(2)/lvsseg.yaml +2 -2
  60. data/lib/lvm/attributes/2.02.130(2)/pvs.yaml +2 -2
  61. data/lib/lvm/attributes/2.02.130(2)/pvsseg.yaml +2 -2
  62. data/lib/lvm/attributes/2.02.130(2)/vgs.yaml +2 -2
  63. data/lib/lvm/attributes/2.02.131(2)/lvs.yaml +32 -0
  64. data/lib/lvm/attributes/2.02.132(2)/lvs.yaml +32 -0
  65. data/lib/lvm/attributes/2.02.133(2)/lvs.yaml +34 -2
  66. data/lib/lvm/attributes/2.02.133(2)/lvsseg.yaml +2 -2
  67. data/lib/lvm/attributes/2.02.133(2)/pvs.yaml +2 -2
  68. data/lib/lvm/attributes/2.02.133(2)/pvsseg.yaml +2 -2
  69. data/lib/lvm/attributes/2.02.133(2)/vgs.yaml +2 -2
  70. data/lib/lvm/attributes/2.02.134(2)/lvs.yaml +32 -0
  71. data/lib/lvm/attributes/2.02.135(2)/lvs.yaml +32 -0
  72. data/lib/lvm/attributes/2.02.136(2)/lvs.yaml +32 -0
  73. data/lib/lvm/attributes/2.02.137(2)/lvs.yaml +32 -0
  74. data/lib/lvm/attributes/2.02.138(2)/lvs.yaml +32 -0
  75. data/lib/lvm/attributes/2.02.139(2)/lvs.yaml +32 -0
  76. data/lib/lvm/attributes/2.02.140(2)/lvs.yaml +36 -0
  77. data/lib/lvm/attributes/2.02.141(2)/lvs.yaml +40 -0
  78. data/lib/lvm/attributes/2.02.142(2)/lvs.yaml +40 -0
  79. data/lib/lvm/attributes/2.02.143(2)/lvs.yaml +46 -2
  80. data/lib/lvm/attributes/2.02.143(2)/lvsseg.yaml +2 -2
  81. data/lib/lvm/attributes/2.02.143(2)/pvs.yaml +2 -2
  82. data/lib/lvm/attributes/2.02.143(2)/pvsseg.yaml +2 -2
  83. data/lib/lvm/attributes/2.02.143(2)/vgs.yaml +2 -2
  84. data/lib/lvm/attributes/2.02.144(2)/lvs.yaml +44 -0
  85. data/lib/lvm/attributes/2.02.145(2)/lvs.yaml +48 -0
  86. data/lib/lvm/attributes/2.02.146(2)/lvs.yaml +48 -0
  87. data/lib/lvm/attributes/2.02.147(2)/lvs.yaml +48 -0
  88. data/lib/lvm/attributes/2.02.148(2)/lvs.yaml +48 -0
  89. data/lib/lvm/attributes/2.02.149(2)/lvs.yaml +48 -0
  90. data/lib/lvm/attributes/2.02.150(2)/lvs.yaml +48 -0
  91. data/lib/lvm/attributes/2.02.151(2)/lvs.yaml +48 -0
  92. data/lib/lvm/attributes/2.02.152(2)/lvs.yaml +48 -0
  93. data/lib/lvm/attributes/2.02.153(2)/lvs.yaml +48 -0
  94. data/lib/lvm/attributes/2.02.154(2)/lvs.yaml +48 -0
  95. data/lib/lvm/attributes/2.02.155(2)/lvs.yaml +68 -0
  96. data/lib/lvm/attributes/2.02.156(2)/lvs.yaml +68 -0
  97. data/lib/lvm/attributes/2.02.157(2)/lvs.yaml +68 -0
  98. data/lib/lvm/attributes/2.02.158(2)/lvs.yaml +68 -0
  99. data/lib/lvm/attributes/2.02.159(2)/lvs.yaml +68 -0
  100. data/lib/lvm/attributes/2.02.160(2)/lvs.yaml +68 -0
  101. data/lib/lvm/attributes/2.02.161(2)/lvs.yaml +68 -0
  102. data/lib/lvm/attributes/2.02.162(2)/lvs.yaml +68 -0
  103. data/lib/lvm/attributes/2.02.163(2)/lvs.yaml +68 -0
  104. data/lib/lvm/attributes/2.02.164(2)/lvs.yaml +68 -0
  105. data/lib/lvm/attributes/2.02.165(2)/lvs.yaml +68 -0
  106. data/lib/lvm/attributes/2.02.166(2)/lvs.yaml +68 -0
  107. data/lib/lvm/attributes/2.02.167(2)/lvs.yaml +68 -0
  108. data/lib/lvm/attributes/2.02.168(2)/lvs.yaml +68 -0
  109. data/lib/lvm/attributes/2.02.169(2)/lvs.yaml +80 -0
  110. data/lib/lvm/attributes/2.02.170(2)/lvs.yaml +80 -0
  111. data/lib/lvm/attributes/2.02.171(2)/lvs.yaml +80 -0
  112. data/lib/lvm/attributes/2.02.172(2)/lvs.yaml +328 -0
  113. data/lib/lvm/attributes/2.02.172(2)/lvsseg.yaml +138 -0
  114. data/lib/lvm/attributes/2.02.172(2)/pvs.yaml +113 -0
  115. data/lib/lvm/attributes/2.02.172(2)/pvsseg.yaml +16 -0
  116. data/lib/lvm/attributes/2.02.172(2)/vgs.yaml +136 -0
  117. data/lib/lvm/attributes/2.02.98(2)/lvs.yaml +2 -2
  118. data/lib/lvm/attributes/2.02.98(2)/lvsseg.yaml +2 -2
  119. data/lib/lvm/attributes/2.02.98(2)/pvs.yaml +2 -2
  120. data/lib/lvm/attributes/2.02.98(2)/pvsseg.yaml +2 -2
  121. data/lib/lvm/attributes/2.02.98(2)/vgs.yaml +2 -2
  122. metadata +7 -2
@@ -2,6 +2,34 @@
2
2
  # generated by ./bin/generate_field_data based on
3
3
  # lvm2/lib/report/columns.h
4
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.
5
33
  - :method: convert_lv
6
34
  :column: convert_lv
7
35
  :type_hint: String
@@ -10,6 +38,10 @@
10
38
  :column: convert_lv_uuid
11
39
  :type_hint: String
12
40
  :description: For lvconvert
41
+ - :method: copy_percent
42
+ :column: copy_percent
43
+ :type_hint: String
44
+ :description: For Cache
13
45
  - :method: data_lv
14
46
  :column: data_lv
15
47
  :type_hint: String
@@ -18,6 +50,26 @@
18
50
  :column: data_lv_uuid
19
51
  :type_hint: String
20
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.
21
73
  - :method: active
22
74
  :column: lv_active
23
75
  :type_hint: String
@@ -50,6 +102,10 @@
50
102
  :column: lv_attr
51
103
  :type_hint: String
52
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
53
109
  - :method: converting
54
110
  :column: lv_converting
55
111
  :type_hint: String
@@ -78,6 +134,10 @@
78
134
  :column: lv_full_name
79
135
  :type_hint: String
80
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.
81
141
  - :method: historical
82
142
  :column: lv_historical
83
143
  :type_hint: String
@@ -106,6 +166,10 @@
106
166
  :column: lv_major
107
167
  :type_hint: String
108
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.
109
173
  - :method: merging
110
174
  :column: lv_merging
111
175
  :type_hint: String
@@ -154,6 +218,10 @@
154
218
  :column: lv_skip_activation
155
219
  :type_hint: String
156
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.
157
225
  - :method: tags
158
226
  :column: lv_tags
159
227
  :type_hint: String
@@ -182,6 +250,10 @@
182
250
  :column: metadata_lv_uuid
183
251
  :type_hint: String
184
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
185
257
  - :method: mirror_log
186
258
  :column: mirror_log
187
259
  :type_hint: String
@@ -242,6 +314,14 @@
242
314
  :column: seg_count
243
315
  :type_hint: Integer
244
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
245
325
  - :method: vg_uuid
246
326
  :column: vg_uuid
247
327
  :type_hint: String
@@ -2,6 +2,34 @@
2
2
  # generated by ./bin/generate_field_data based on
3
3
  # lvm2/lib/report/columns.h
4
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.
5
33
  - :method: convert_lv
6
34
  :column: convert_lv
7
35
  :type_hint: String
@@ -10,6 +38,10 @@
10
38
  :column: convert_lv_uuid
11
39
  :type_hint: String
12
40
  :description: For lvconvert
41
+ - :method: copy_percent
42
+ :column: copy_percent
43
+ :type_hint: String
44
+ :description: For Cache
13
45
  - :method: data_lv
14
46
  :column: data_lv
15
47
  :type_hint: String
@@ -18,6 +50,26 @@
18
50
  :column: data_lv_uuid
19
51
  :type_hint: String
20
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.
21
73
  - :method: active
22
74
  :column: lv_active
23
75
  :type_hint: String
@@ -50,6 +102,10 @@
50
102
  :column: lv_attr
51
103
  :type_hint: String
52
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
53
109
  - :method: converting
54
110
  :column: lv_converting
55
111
  :type_hint: String
@@ -78,6 +134,10 @@
78
134
  :column: lv_full_name
79
135
  :type_hint: String
80
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.
81
141
  - :method: historical
82
142
  :column: lv_historical
83
143
  :type_hint: String
@@ -106,6 +166,10 @@
106
166
  :column: lv_major
107
167
  :type_hint: String
108
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.
109
173
  - :method: merging
110
174
  :column: lv_merging
111
175
  :type_hint: String
@@ -154,6 +218,10 @@
154
218
  :column: lv_skip_activation
155
219
  :type_hint: String
156
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.
157
225
  - :method: tags
158
226
  :column: lv_tags
159
227
  :type_hint: String
@@ -182,6 +250,10 @@
182
250
  :column: metadata_lv_uuid
183
251
  :type_hint: String
184
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
185
257
  - :method: mirror_log
186
258
  :column: mirror_log
187
259
  :type_hint: String
@@ -242,6 +314,14 @@
242
314
  :column: seg_count
243
315
  :type_hint: Integer
244
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
245
325
  - :method: vg_uuid
246
326
  :column: vg_uuid
247
327
  :type_hint: String
@@ -2,6 +2,34 @@
2
2
  # generated by ./bin/generate_field_data based on
3
3
  # lvm2/lib/report/columns.h
4
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.
5
33
  - :method: convert_lv
6
34
  :column: convert_lv
7
35
  :type_hint: String
@@ -10,6 +38,10 @@
10
38
  :column: convert_lv_uuid
11
39
  :type_hint: String
12
40
  :description: For lvconvert
41
+ - :method: copy_percent
42
+ :column: copy_percent
43
+ :type_hint: String
44
+ :description: For Cache
13
45
  - :method: data_lv
14
46
  :column: data_lv
15
47
  :type_hint: String
@@ -18,6 +50,26 @@
18
50
  :column: data_lv_uuid
19
51
  :type_hint: String
20
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.
21
73
  - :method: active
22
74
  :column: lv_active
23
75
  :type_hint: String
@@ -50,6 +102,10 @@
50
102
  :column: lv_attr
51
103
  :type_hint: String
52
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
53
109
  - :method: converting
54
110
  :column: lv_converting
55
111
  :type_hint: String
@@ -78,6 +134,10 @@
78
134
  :column: lv_full_name
79
135
  :type_hint: String
80
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.
81
141
  - :method: historical
82
142
  :column: lv_historical
83
143
  :type_hint: String
@@ -106,6 +166,10 @@
106
166
  :column: lv_major
107
167
  :type_hint: String
108
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.
109
173
  - :method: merging
110
174
  :column: lv_merging
111
175
  :type_hint: String
@@ -154,6 +218,10 @@
154
218
  :column: lv_skip_activation
155
219
  :type_hint: String
156
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.
157
225
  - :method: tags
158
226
  :column: lv_tags
159
227
  :type_hint: String
@@ -182,6 +250,10 @@
182
250
  :column: metadata_lv_uuid
183
251
  :type_hint: String
184
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
185
257
  - :method: mirror_log
186
258
  :column: mirror_log
187
259
  :type_hint: String
@@ -242,6 +314,14 @@
242
314
  :column: seg_count
243
315
  :type_hint: Integer
244
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
245
325
  - :method: vg_uuid
246
326
  :column: vg_uuid
247
327
  :type_hint: String
@@ -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.