Fixing ceph gates
Ceph gates notoriously run out of memory Change-Id: I5cf5cc5adf5379095ed9e3094494e65b76ff62d8
This commit is contained in:
parent
5f03cc22c6
commit
6119585ae4
@ -1,13 +1,13 @@
|
|||||||
mkdir -p /opt/data/kolla
|
mkdir -p /opt/data/kolla
|
||||||
dd if=/dev/zero of=/opt/data/kolla/ceph-osd0.img bs=5M count=3072
|
dd if=/dev/zero of=/opt/data/kolla/ceph-osd0.img bs=5M count=2048
|
||||||
LOOP=$(losetup -f)
|
LOOP=$(losetup -f)
|
||||||
losetup $LOOP /opt/data/kolla/ceph-osd0.img
|
losetup $LOOP /opt/data/kolla/ceph-osd0.img
|
||||||
parted $LOOP -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP_OSD1 0 14GB
|
parted $LOOP -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP_OSD1 1 -1
|
||||||
|
|
||||||
dd if=/dev/zero of=/opt/data/kolla/ceph-journal0.img bs=5M count=1024
|
dd if=/dev/zero of=/opt/data/kolla/ceph-journal0.img bs=5M count=512
|
||||||
LOOP=$(losetup -f)
|
LOOP=$(losetup -f)
|
||||||
losetup $LOOP /opt/data/kolla/ceph-journal0.img
|
losetup $LOOP /opt/data/kolla/ceph-journal0.img
|
||||||
parted $LOOP -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP_OSD1_J 0 5GB
|
parted $LOOP -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP_OSD1_J 1 -1
|
||||||
|
|
||||||
partprobe $LOOP
|
partprobe $LOOP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user