From 8d6ac67dcc03402eba309bf7dd9b4cc380c80102 Mon Sep 17 00:00:00 2001 From: Fulvio Galeazzi <fulvio.galeazzi@garr.it> Date: Wed, 16 Feb 2022 14:18:43 +0100 Subject: [PATCH] 2022-02-16: FG; Fixed document structure. --- .../kb/ceph/ceph-extend-rocksdb-partition.rst | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst b/web/support/kb/ceph/ceph-extend-rocksdb-partition.rst index 8773bd4e..24fa5f1c 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> -- GitLab