Created
February 22, 2019 08:59
-
-
Save johanot/8c0ccedf2de9a0159d536947efa9ba30 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
#!/nix/store/b9p787yqaqi313l9rr0491igjwyzqfmw-bash-4.4-p23/bin/bash | |
mkdir -p /var/lib/ceph/osd | |
/nix/store/7rnfgk9bkm1r45qn2fqcss4v47l86vd1-ceph-13.2.2/bin/ceph-volume lvm activate --all --no-systemd --log-path /dev/stdout | |
for i in $(/nix/store/7rnfgk9bkm1r45qn2fqcss4v47l86vd1-ceph-13.2.2/bin/ceph-volume lvm list --format json | \ | |
/nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep -Ev "^-->" | \ | |
/nix/store/fsbbzrfbbamhqsgcmj2g6y78csij9xjd-jq-1.5-bin/bin/jq -r 'keys | .[]') ; do | |
/nix/store/y02g0zvkrna2znjkiwx9k6w3ppfwzzym-systemd-239.20190110/bin/systemctl start ceph-osd@$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment