-
Notifications
You must be signed in to change notification settings - Fork 932
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
oep(ndm): proposal for unique disk identification #2666
Conversation
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, some minor comments!
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need changes to cstor? any limitations to cstor usage?
Any update upgrade things need to be taken care?
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
PRs go stale after 30d of inactivity. |
…386) This PR fixes the issue of disk unique identification in NDM. It implements the algorithm mentioned in [OEP#2666](openebs/openebs#2666). This will make NDM uniquely identify disks without an identifier in a cluster. Disk movement from one node to another, creating block device resources for partitions is also supported. This commit includes: - add support for partitions in NDM - implement the new UUID algorithm mentioned in [#2666](openebs/openebs#2666) - changes made on the a claimed BlockDevice (like creating partitions) are ignored. - if partitions are created on an unclaimed device, the device is marked inactive and resources will be created for the partitions. The following manual tests were done with on this commit: 1. disk with WWN - single BlockDevice resource is created 2. disk with WWN and 2 partitions - 2 Block Device resources are created for each partition 3. disks of type 1) and 2) are connected and disconnected while NDM is running 4. disks of type 1) and 2) are removed from one node and attached to another node 5. cstor claiming and creating pool on a disk with WWN and a partitioned disk 6. formatting the device with ext4 after claiming and NDM pod is restarted. Filesystem details are not updated on the resource Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
PRs go stale after 90d of inactivity. |
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
@kmova . Updated the OEP with latest details regarding implementation and upgrade of blockdevices. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The design has been implemented in openebs 2.0.0 = with NDM 0.8.0.
* added workflow chart * added WWN to flowchart * added partition also into the workflow * added 2 points in drawbacks section * Added new configuration options for UID generation * added QEMU_HARDDISK to list of models * updates OEP with latest changes and implementation details Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io> Signed-off-by: Kung Fu Panda <akshay_1901cb06@iitp.ac.in>
* added workflow chart * added WWN to flowchart * added partition also into the workflow * added 2 points in drawbacks section * Added new configuration options for UID generation * added QEMU_HARDDISK to list of models * updates OEP with latest changes and implementation details Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io> Signed-off-by: Kung Fu Panda <akshay_1901cb06@iitp.ac.in>
Enhancement proposal for NDM. This proposal put forward a solution to uniquely identify a disk in a cluster.
Signed-off-by: Akhil Mohan akhil.mohan@mayadata.io