diff --git a/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst b/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst index 8773bd4e6e6df776646f9a157ab774dbbebf702d..24fa5f1cc90791e253eeabe9f24b787b66939ec5 100644 --- a/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst +++ b/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst @@ -18,15 +18,20 @@ In my case, I opted to upgrade all existing OSDs so I did not have to perform actions serially for each OSD and used a bit of bash/awk/grep to make loops. However, for each OSD here the steps: - * extend LVM volume:: +- extend LVM volume:: + lvextend -L80G <VGname>/<LVname> - * IMPORTANT: I needed to reboot my server, to make the OS aware of the change. - May be the same result could be obtained some other way, but I did not mind - rebooting. - * Stop the OSD, play some magic, resume OSD:: - $ systemctl stop ceph-osd@<OSDnumber> - # check following command really claims to be extending the partition - $ ceph-bluestore-tool bluefs-bdev-expand --path /var/lib/ceph/osd/ceph-<OSDnumber> - $ systemctl restart ceph-osd@<OSDnumber> - * force an OSD compact, to get rid of ``spillover`` message:: - $ ceph daemon osd.<OSDnumber> + +- IMPORTANT: I needed to reboot my server, to make the OS aware of the change. + May be the same result could be obtained some other way, but I did not mind + rebooting. +- Stop the OSD, play some magic, resume OSD:: + + $ systemctl stop ceph-osd@<OSDnumber> + # check following command really claims to be extending the partition + $ ceph-bluestore-tool bluefs-bdev-expand --path /var/lib/ceph/osd/ceph-<OSDnumber> + $ systemctl restart ceph-osd@<OSDnumber> + +- force an OSD compact, to get rid of ``spillover`` message:: + + $ ceph daemon osd.<OSDnumber>