ceph/lvm: also create monit entry
This commit is contained in:
parent
2dcfce1035
commit
5b4ee78da8
1 changed files with 5 additions and 5 deletions
|
@ -38,14 +38,14 @@ done
|
|||
# + ceph-volume lvm activate --no-systemd 112
|
||||
# --> UnboundLocalError: local variable 'tags' referenced before assignment
|
||||
|
||||
#for osdid in $(lvs -o lv_tags | grep ceph.block_device| sed -e 's/.*ceph.osd_id=//' -e 's/,.*//'); do
|
||||
# ceph-volume lvm activate --no-systemd $osdid
|
||||
# /opt/ungleich-tools/monit-ceph-create-start "osd.$osdid"
|
||||
#done
|
||||
|
||||
# Activate all volumes in the OS
|
||||
vgchange -ay
|
||||
# Using this with a fake /bin/systemctl
|
||||
ceph-volume lvm activate --all
|
||||
|
||||
for osdid in $(lvs -o lv_tags | grep ceph.block_device| sed -e 's/.*ceph.osd_id=//' -e 's/,.*//'); do
|
||||
#ceph-volume lvm activate --no-systemd $osdid
|
||||
/opt/ungleich-tools/monit-ceph-create-start "osd.$osdid"
|
||||
done
|
||||
|
||||
rmdir "$tmpdir"
|
||||
|
|
Loading…
Reference in a new issue