Reprovision a Persistent Disk on an eLogin Node
Describes how to safely change a disk that is persistent. Involves moving data from the disk to save it, changing the disk to nonpersistent, making the config set changes, rebooting the node, then making the disk persistent again and moving the saved data back to the disk.
eLogin node is booted.
To reprovision a persistent disk with a new partition layout, that disk must be reconfigured as nonpersistent. This can be done by creating a new storage profile for that node with the desired layout and persist_on_boot set to false.
The new partition scheme will be created on the eLogin node after rebooting the node; however ALL DATA WILL BE LOST in the process. If data that resides on the disk needs to be retained, move the data to a safe location before rebooting the node, and copy it back after the node successfully provisions.
persist_on_boot: true in the new storage profile after the node has rebooted, so that subsequent reboots do not repartition the disk and cause data loss. This procedure safely reprovisions a persistent disk on an eLogin node (elogin1 in the example commands).