Last active
September 11, 2017 10:27
-
-
Save mjudeikis/d0212cd450dfe30739359d740cec86fc 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
systemctl stop glusterd | |
rm -rf /var/lib/glusterd/* | |
remove fstab records adn reboot server to remove busy mounts (easier than to find them) | |
#get list of vgs | |
vgs | |
vgremove vg_something | |
#wide disk | |
pvremove /dev/sdb --force --force -y | |
systemctl start glusterd | |
systemctl stop heketi | |
rm -rf /var/lib/heketi/heketi.db | |
systemctl start heketi | |
#### IN ACTION: | |
rm -rf /var/lib/glusterd/* | |
#clean fstab | |
vi /etc/fstab | |
reboot | |
vgs | |
vgremove vg_af6da8defe6e2696dfb650a1262de3e8 | |
pvremove /dev/sdb | |
systemctl status glusterd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment