Skip to content

Instantly share code, notes, and snippets.

@akhilerm
Last active August 4, 2020 04:15
Show Gist options
  • Save akhilerm/cb9cfff929bff00efaa0d3f70d25a116 to your computer and use it in GitHub Desktop.
Save akhilerm/cb9cfff929bff00efaa0d3f70d25a116 to your computer and use it in GitHub Desktop.
Flowchart for local pv upgrade
NOTE: Does not support upgrade of localPV rawblock
For Cstor, the same flowchart as below applies, but instead of using FSUUID annotation, partition table UUID
annotation will be used.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akhilerm
Copy link
Author

@kmova, There will be slight change in design for checking with FSUUID, found a bug when testing with multiple virtual devices:

  1. 2 virtual devices are connected to the node, One is claimed and one unclaimed.
  2. NDM is upgraded to latest version
  3. Node is rebooted and devices swap their path
  4. The above design updates the incorrect blockdevice , because it first finds a device with matching legacy UUID.

Solution:
Even after getting matching legacy UUID , a check for partitionuuid or fsuuid need to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment