Created
May 31, 2018 23:58
-
-
Save jsilberm/1c0125a3fc9bb7d2f6d1be9cc6628337 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1: Remove systemd service (if any) | |
sudo systemctl stop portworx | |
sudo systemctl disable portworx | |
sudo rm -f /etc/systemd/system/portworx*.service | |
# NOTE: if the steps below fail, please reboot the node, and repeat the steps 2..5 | |
# 2: Unmount oci (if required) | |
grep -q '/opt/pwx/oci /opt/pwx/oci' /proc/self/mountinfo && sudo umount /opt/pwx/oci | |
# 3: Remove binary files | |
sudo rm -fr /opt/pwx | |
# 4: [OPTIONAL] Remove configuration files. Doing this means UNRECOVERABLE DATA LOSS. | |
sudo rm -fr /etc/pwx | |
sudo mv /etc/pwx /etc/pwx.wtf.$$ | |
# wifefs -a /dev/wtf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment