di-ruby-lvm-attrib 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -1
- data/di-ruby-lvm-attrib.gemspec +1 -1
- data/lib/lvm/attributes/2.02.83(2)/lvs.yaml +91 -0
- data/lib/lvm/attributes/2.02.83(2)/lvsseg.yaml +63 -0
- data/lib/lvm/attributes/2.02.83(2)/pvs.yaml +71 -0
- data/lib/lvm/attributes/2.02.83(2)/pvsseg.yaml +15 -0
- data/lib/lvm/attributes/2.02.83(2)/vgs.yaml +91 -0
- metadata +7 -2
data/README.md
CHANGED
@@ -44,7 +44,6 @@ To add attributes:
|
|
44
44
|
* `mv LVM_VERSION_FULL lib/lvm/attributes/LVM_VERSION`
|
45
45
|
* LVM_VERSION_FULL being something like 2.02.86(2)-cvs or 2.02.98(2)-git
|
46
46
|
* LVM_VERSION being something like 2.02.86(2) or 2.02.98(2)
|
47
|
-
* Add the newly generated files to Manifest.txt
|
48
47
|
* `git commit -am "Added LVM_VERSION attributes"`
|
49
48
|
* `git push origin mybranch`
|
50
49
|
* Submit PR to this repository. **Please make sure to point your pull at the
|
data/di-ruby-lvm-attrib.gemspec
CHANGED
@@ -0,0 +1,91 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by bin/generate_field_data based on
|
3
|
+
---
|
4
|
+
- :method: convert_lv
|
5
|
+
:column: convert_lv
|
6
|
+
:type_hint: String
|
7
|
+
:description: For lvconvert
|
8
|
+
- :method: copy_percent
|
9
|
+
:column: copy_percent
|
10
|
+
:type_hint: Float
|
11
|
+
:description: For mirrors and pvmove
|
12
|
+
- :method: attr
|
13
|
+
:column: lv_attr
|
14
|
+
:type_hint: String
|
15
|
+
:description: Various attributes - see man page.
|
16
|
+
- :method: kernel_major
|
17
|
+
:column: lv_kernel_major
|
18
|
+
:type_hint: String
|
19
|
+
:description: Currently assigned major number or -1 if LV is not active.
|
20
|
+
- :method: kernel_minor
|
21
|
+
:column: lv_kernel_minor
|
22
|
+
:type_hint: String
|
23
|
+
:description: Currently assigned minor number or -1 if LV is not active.
|
24
|
+
- :method: kernel_read_ahead
|
25
|
+
:column: lv_kernel_read_ahead
|
26
|
+
:type_hint: Integer
|
27
|
+
:description: Currently-in-use read ahead setting in current units.
|
28
|
+
- :method: major
|
29
|
+
:column: lv_major
|
30
|
+
:type_hint: Integer
|
31
|
+
:description: Persistent major number or -1 if not persistent.
|
32
|
+
- :method: minor
|
33
|
+
:column: lv_minor
|
34
|
+
:type_hint: Integer
|
35
|
+
:description: Persistent minor number or -1 if not persistent.
|
36
|
+
- :method: name
|
37
|
+
:column: lv_name
|
38
|
+
:type_hint: String
|
39
|
+
:description: Name. LVs created for internal use are enclosed in brackets.
|
40
|
+
- :method: path
|
41
|
+
:column: lv_path
|
42
|
+
:type_hint: String
|
43
|
+
:description: Full pathname for LV.
|
44
|
+
- :method: read_ahead
|
45
|
+
:column: lv_read_ahead
|
46
|
+
:type_hint: String
|
47
|
+
:description: Read ahead setting in current units.
|
48
|
+
- :method: size
|
49
|
+
:column: lv_size
|
50
|
+
:type_hint: Integer
|
51
|
+
:description: Size of LV in current units.
|
52
|
+
- :method: tags
|
53
|
+
:column: lv_tags
|
54
|
+
:type_hint: String
|
55
|
+
:description: Tags
|
56
|
+
- :method: uuid
|
57
|
+
:column: lv_uuid
|
58
|
+
:type_hint: String
|
59
|
+
:description: Unique identifier.
|
60
|
+
- :method: mirror_log
|
61
|
+
:column: mirror_log
|
62
|
+
:type_hint: String
|
63
|
+
:description: For mirrors
|
64
|
+
- :method: modules
|
65
|
+
:column: modules
|
66
|
+
:type_hint: String
|
67
|
+
:description: Kernel device-mapper modules required for this LV.
|
68
|
+
- :method: move_pv
|
69
|
+
:column: move_pv
|
70
|
+
:type_hint: String
|
71
|
+
:description: For pvmove
|
72
|
+
- :method: origin
|
73
|
+
:column: origin
|
74
|
+
:type_hint: String
|
75
|
+
:description: For snapshots
|
76
|
+
- :method: origin_size
|
77
|
+
:column: origin_size
|
78
|
+
:type_hint: Integer
|
79
|
+
:description: For snapshots
|
80
|
+
- :method: seg_count
|
81
|
+
:column: seg_count
|
82
|
+
:type_hint: Integer
|
83
|
+
:description: Number of segments in LV.
|
84
|
+
- :method: snap_percent
|
85
|
+
:column: snap_percent
|
86
|
+
:type_hint: Float
|
87
|
+
:description: For snapshots
|
88
|
+
- :method: vg_uuid
|
89
|
+
:column: vg_uuid
|
90
|
+
:type_hint: String
|
91
|
+
:description: For VolumeGroup to LogicalVolume relationship.
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by bin/generate_field_data based on
|
3
|
+
---
|
4
|
+
- :method: chunk_size
|
5
|
+
:column: chunk_size
|
6
|
+
:type_hint: Integer
|
7
|
+
:description: For snapshots
|
8
|
+
- :method: chunksize
|
9
|
+
:column: chunksize
|
10
|
+
:type_hint: Integer
|
11
|
+
:description: For snapshots
|
12
|
+
- :method: devices
|
13
|
+
:column: devices
|
14
|
+
:type_hint: String
|
15
|
+
:description: Underlying devices used with starting extent numbers.
|
16
|
+
- :method: lv_uuid
|
17
|
+
:column: lv_uuid
|
18
|
+
:type_hint: String
|
19
|
+
:description: For LogicalVolume to LogicalVolumeSegment relationship.
|
20
|
+
- :method: region_size
|
21
|
+
:column: region_size
|
22
|
+
:type_hint: Integer
|
23
|
+
:description: For mirrors
|
24
|
+
- :method: regionsize
|
25
|
+
:column: regionsize
|
26
|
+
:type_hint: Integer
|
27
|
+
:description: For mirrors
|
28
|
+
- :method: pe_ranges
|
29
|
+
:column: seg_pe_ranges
|
30
|
+
:type_hint: String
|
31
|
+
:description: Ranges of Physical Extents of underlying devices in command line format.
|
32
|
+
- :method: size
|
33
|
+
:column: seg_size
|
34
|
+
:type_hint: Integer
|
35
|
+
:description: Size of segment in current units.
|
36
|
+
- :method: start
|
37
|
+
:column: seg_start
|
38
|
+
:type_hint: Integer
|
39
|
+
:description: Offset within the LV to the start of the segment in current units.
|
40
|
+
- :method: start_pe
|
41
|
+
:column: seg_start_pe
|
42
|
+
:type_hint: Integer
|
43
|
+
:description: Offset within the LV to the start of the segment in physical extents.
|
44
|
+
- :method: tags
|
45
|
+
:column: seg_tags
|
46
|
+
:type_hint: String
|
47
|
+
:description: Tags
|
48
|
+
- :method: segtype
|
49
|
+
:column: segtype
|
50
|
+
:type_hint: String
|
51
|
+
:description: Type of LV segment.
|
52
|
+
- :method: stripe_size
|
53
|
+
:column: stripe_size
|
54
|
+
:type_hint: Integer
|
55
|
+
:description: For stripes
|
56
|
+
- :method: stripes
|
57
|
+
:column: stripes
|
58
|
+
:type_hint: Integer
|
59
|
+
:description: Number of stripes or mirror legs.
|
60
|
+
- :method: stripesize
|
61
|
+
:column: stripesize
|
62
|
+
:type_hint: Integer
|
63
|
+
:description: For stripes
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by bin/generate_field_data based on
|
3
|
+
---
|
4
|
+
- :method: dev_size
|
5
|
+
:column: dev_size
|
6
|
+
:type_hint: Integer
|
7
|
+
:description: Size of underlying device in current units.
|
8
|
+
- :method: pe_start
|
9
|
+
:column: pe_start
|
10
|
+
:type_hint: Integer
|
11
|
+
:description: Offset to the start of data on the underlying device.
|
12
|
+
- :method: attr
|
13
|
+
:column: pv_attr
|
14
|
+
:type_hint: String
|
15
|
+
:description: Various attributes - see man page.
|
16
|
+
- :method: fmt
|
17
|
+
:column: pv_fmt
|
18
|
+
:type_hint: String
|
19
|
+
:description: Type of metadata.
|
20
|
+
- :method: free
|
21
|
+
:column: pv_free
|
22
|
+
:type_hint: Integer
|
23
|
+
:description: Total amount of unallocated space in current units.
|
24
|
+
- :method: mda_count
|
25
|
+
:column: pv_mda_count
|
26
|
+
:type_hint: Integer
|
27
|
+
:description: Number of metadata areas on this device.
|
28
|
+
- :method: mda_free
|
29
|
+
:column: pv_mda_free
|
30
|
+
:type_hint: Integer
|
31
|
+
:description: Free metadata area space on this device in current units.
|
32
|
+
- :method: mda_size
|
33
|
+
:column: pv_mda_size
|
34
|
+
:type_hint: Integer
|
35
|
+
:description: Size of smallest metadata area on this device in current units.
|
36
|
+
- :method: mda_used_count
|
37
|
+
:column: pv_mda_used_count
|
38
|
+
:type_hint: Integer
|
39
|
+
:description: Number of metadata areas in use on this device.
|
40
|
+
- :method: name
|
41
|
+
:column: pv_name
|
42
|
+
:type_hint: String
|
43
|
+
:description: Name.
|
44
|
+
- :method: pe_alloc_count
|
45
|
+
:column: pv_pe_alloc_count
|
46
|
+
:type_hint: Integer
|
47
|
+
:description: Total number of allocated Physical Extents.
|
48
|
+
- :method: pe_count
|
49
|
+
:column: pv_pe_count
|
50
|
+
:type_hint: Integer
|
51
|
+
:description: Total number of Physical Extents.
|
52
|
+
- :method: size
|
53
|
+
:column: pv_size
|
54
|
+
:type_hint: Integer
|
55
|
+
:description: Size of PV in current units.
|
56
|
+
- :method: tags
|
57
|
+
:column: pv_tags
|
58
|
+
:type_hint: String
|
59
|
+
:description: Tags
|
60
|
+
- :method: used
|
61
|
+
:column: pv_used
|
62
|
+
:type_hint: Integer
|
63
|
+
:description: Total amount of allocated space in current units.
|
64
|
+
- :method: uuid
|
65
|
+
:column: pv_uuid
|
66
|
+
:type_hint: String
|
67
|
+
:description: Unique identifier.
|
68
|
+
- :method: vg_uuid
|
69
|
+
:column: vg_uuid
|
70
|
+
:type_hint: String
|
71
|
+
:description: For VolumeGroup to PhysicalVolume relationship.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by bin/generate_field_data based on
|
3
|
+
---
|
4
|
+
- :method: pv_uuid
|
5
|
+
:column: pv_uuid
|
6
|
+
:type_hint: String
|
7
|
+
:description: For PhysicalVolume to PhysicalVolumeSegment relationship.
|
8
|
+
- :method: size
|
9
|
+
:column: pvseg_size
|
10
|
+
:type_hint: Integer
|
11
|
+
:description: Number of extents in segment.
|
12
|
+
- :method: start
|
13
|
+
:column: pvseg_start
|
14
|
+
:type_hint: Integer
|
15
|
+
:description: Physical Extent number of start of segment.
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by bin/generate_field_data based on
|
3
|
+
---
|
4
|
+
- :method: lv_count
|
5
|
+
:column: lv_count
|
6
|
+
:type_hint: Integer
|
7
|
+
:description: Number of LVs.
|
8
|
+
- :method: max_lv
|
9
|
+
:column: max_lv
|
10
|
+
:type_hint: Integer
|
11
|
+
:description: Maximum number of LVs allowed in VG or 0 if unlimited.
|
12
|
+
- :method: max_pv
|
13
|
+
:column: max_pv
|
14
|
+
:type_hint: Integer
|
15
|
+
:description: Maximum number of PVs allowed in VG or 0 if unlimited.
|
16
|
+
- :method: pv_count
|
17
|
+
:column: pv_count
|
18
|
+
:type_hint: Integer
|
19
|
+
:description: Number of PVs.
|
20
|
+
- :method: snap_count
|
21
|
+
:column: snap_count
|
22
|
+
:type_hint: Integer
|
23
|
+
:description: Number of snapshots.
|
24
|
+
- :method: attr
|
25
|
+
:column: vg_attr
|
26
|
+
:type_hint: String
|
27
|
+
:description: Various attributes - see man page.
|
28
|
+
- :method: extent_count
|
29
|
+
:column: vg_extent_count
|
30
|
+
:type_hint: Integer
|
31
|
+
:description: Total number of Physical Extents.
|
32
|
+
- :method: extent_size
|
33
|
+
:column: vg_extent_size
|
34
|
+
:type_hint: Integer
|
35
|
+
:description: Size of Physical Extents in current units.
|
36
|
+
- :method: fmt
|
37
|
+
:column: vg_fmt
|
38
|
+
:type_hint: String
|
39
|
+
:description: Type of metadata.
|
40
|
+
- :method: free
|
41
|
+
:column: vg_free
|
42
|
+
:type_hint: Integer
|
43
|
+
:description: Total amount of free space in current units.
|
44
|
+
- :method: free_count
|
45
|
+
:column: vg_free_count
|
46
|
+
:type_hint: Integer
|
47
|
+
:description: Total number of unallocated Physical Extents.
|
48
|
+
- :method: mda_copies
|
49
|
+
:column: vg_mda_copies
|
50
|
+
:type_hint: Integer
|
51
|
+
:description: Target number of in use metadata areas in the VG.
|
52
|
+
- :method: mda_count
|
53
|
+
:column: vg_mda_count
|
54
|
+
:type_hint: Integer
|
55
|
+
:description: Number of metadata areas on this VG.
|
56
|
+
- :method: mda_free
|
57
|
+
:column: vg_mda_free
|
58
|
+
:type_hint: Integer
|
59
|
+
:description: Free metadata area space for this VG in current units.
|
60
|
+
- :method: mda_size
|
61
|
+
:column: vg_mda_size
|
62
|
+
:type_hint: Integer
|
63
|
+
:description: Size of smallest metadata area for this VG in current units.
|
64
|
+
- :method: mda_used_count
|
65
|
+
:column: vg_mda_used_count
|
66
|
+
:type_hint: Integer
|
67
|
+
:description: Number of metadata areas in use on this VG.
|
68
|
+
- :method: name
|
69
|
+
:column: vg_name
|
70
|
+
:type_hint: String
|
71
|
+
:description: Name.
|
72
|
+
- :method: seqno
|
73
|
+
:column: vg_seqno
|
74
|
+
:type_hint: Integer
|
75
|
+
:description: Revision number of internal metadata. Incremented whenever it changes.
|
76
|
+
- :method: size
|
77
|
+
:column: vg_size
|
78
|
+
:type_hint: Integer
|
79
|
+
:description: Total size of VG in current units.
|
80
|
+
- :method: sysid
|
81
|
+
:column: vg_sysid
|
82
|
+
:type_hint: String
|
83
|
+
:description: System ID indicating when and where it was created.
|
84
|
+
- :method: tags
|
85
|
+
:column: vg_tags
|
86
|
+
:type_hint: String
|
87
|
+
:description: Tags
|
88
|
+
- :method: uuid
|
89
|
+
:column: vg_uuid
|
90
|
+
:type_hint: String
|
91
|
+
:description: Unique identifier.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: di-ruby-lvm-attrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-07-01 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: A list of attributes for LVM objects
|
16
16
|
email:
|
@@ -63,6 +63,11 @@ files:
|
|
63
63
|
- lib/lvm/attributes/2.02.74(2)/pvs.yaml
|
64
64
|
- lib/lvm/attributes/2.02.74(2)/pvsseg.yaml
|
65
65
|
- lib/lvm/attributes/2.02.74(2)/vgs.yaml
|
66
|
+
- lib/lvm/attributes/2.02.83(2)/lvs.yaml
|
67
|
+
- lib/lvm/attributes/2.02.83(2)/lvsseg.yaml
|
68
|
+
- lib/lvm/attributes/2.02.83(2)/pvs.yaml
|
69
|
+
- lib/lvm/attributes/2.02.83(2)/pvsseg.yaml
|
70
|
+
- lib/lvm/attributes/2.02.83(2)/vgs.yaml
|
66
71
|
- lib/lvm/attributes/2.02.84(2)/lvs.yaml
|
67
72
|
- lib/lvm/attributes/2.02.84(2)/lvsseg.yaml
|
68
73
|
- lib/lvm/attributes/2.02.84(2)/pvs.yaml
|