a385c18176
- This is to make use of loopback devices for ceph osds since support for directory backed osds going to depricate. - Move to bluestore from filestore for ceph-osds. Change-Id: Ia95c9ceb81f7d253dd582a2e753a6ed8fe60a04d
14 lines
468 B
Bash
Executable File
14 lines
468 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
|
|
sudo df -lh
|
|
sudo lsblk
|
|
sudo mkdir -p /var/lib/openstack-helm/ceph
|
|
sudo truncate -s 10G /var/lib/openstack-helm/ceph/ceph-osd-data-loopbackfile.img
|
|
sudo truncate -s 8G /var/lib/openstack-helm/ceph/ceph-osd-db-wal-loopbackfile.img
|
|
sudo losetup /dev/loop0 /var/lib/openstack-helm/ceph/ceph-osd-data-loopbackfile.img
|
|
sudo losetup /dev/loop1 /var/lib/openstack-helm/ceph/ceph-osd-db-wal-loopbackfile.img
|
|
#lets verify the devices
|
|
sudo df -lh
|
|
sudo lsblk
|