Reformat btrfs
This file contains 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
# Recreate cowdata | |
systemctl stop docker | |
umount -f /fastdata | |
umount -f /cowdata | |
# Above umount needs to succeed | |
# verify cowdata and fastdata are unmounted | |
df -h | |
# Reformat btrfs | |
wipefs -f -a /dev/md125 | |
dd if=/dev/zero of=/dev/md125 bs=4M count=1 | |
mkfs.btrfs -L cowdata /dev/md125 | |
# Re-mount everything | |
mount -a | |
# Restart docker service | |
systemctl start docker | |
# Verify containers come up along with jenkins | |
docker ps | |
# Check dva-ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment