-
Notifications
You must be signed in to change notification settings - Fork 84
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
Make blivet aware of internal LVs #149
Commits on Jun 17, 2015
-
Don't crash when processing cached LVs
Just ignore the unsupported "sub-LVs" and consider cached LVs normal LVs.
Configuration menu - View commit details
-
Copy full SHA for d3f8aa4 - Browse repository at this point
Copy the full SHA d3f8aa4View commit details -
Rearrange and group some of the StorageDevice's methods/properties
Those that are related to each other should be next to each other and titled.
Configuration menu - View commit details
-
Copy full SHA for 9a40555 - Browse repository at this point
Copy the full SHA 9a40555View commit details -
Move parents checking and update into a seprarate methods
Internal LVs are not going to be referenced by the DeviceTree instance and are going to have no parents. Their "parent" LVs are going to be referenced as 'self.parent_lv' instead of 'self.parents[0]' because all the other devices use the opposite logic for parent-children relations -- children are consisting of or built on top of parents (whereas "parent" LVs are consisting of their internal LVs). This way internal LVs can easily override these methods.
Configuration menu - View commit details
-
Copy full SHA for 30c61ca - Browse repository at this point
Copy the full SHA 30c61caView commit details
Commits on Jun 18, 2015
-
Add classes for the internal LVs of various types
Also make the LVMLogicalVolumeDevice class ready for managing internal LVs.
Configuration menu - View commit details
-
Copy full SHA for e46eca8 - Browse repository at this point
Copy the full SHA e46eca8View commit details -
Create and use internal LVs instead of static values
Instead of calculating static values for number of copies, log size and metadata size of a given LV, we should use internal LVs assigned to their "parent" (normal) LVs and calculate such values dynamically from those internal LVs.
Configuration menu - View commit details
-
Copy full SHA for 2a84996 - Browse repository at this point
Copy the full SHA 2a84996View commit details -
Accept both list and ParentList when checking LVs parents
These are both valid types for the self.parents attribute.
Configuration menu - View commit details
-
Copy full SHA for f468d8b - Browse repository at this point
Copy the full SHA f468d8bView commit details -
Make Blivet.lvs return all LVs not just traditional/thick LVs
Thin pools and thin LVs are also LVs so they should be included in the result. Also don't use the to-be-deprecated-soon getDevicesByType() method.
Configuration menu - View commit details
-
Copy full SHA for 5903e71 - Browse repository at this point
Copy the full SHA 5903e71View commit details -
Use relations between LVs to determine parent LV
Thin/cache pools have internal data/metadata LVs the name of which can be queried. Let's use this functionality to help determining the parent LV if name matching fails.
Configuration menu - View commit details
-
Copy full SHA for 3c80131 - Browse repository at this point
Copy the full SHA 3c80131View commit details -
Implement the support for resizing internal metadata LVs of thin pools
Internal metadata LVs of thin pools can be resized so our representation should also allow it.
Configuration menu - View commit details
-
Copy full SHA for 86748b3 - Browse repository at this point
Copy the full SHA 86748b3View commit details