Skip to content
Snippets Groups Projects
Commit 8d6ac67d authored by Fulvio Galeazzi's avatar Fulvio Galeazzi
Browse files

2022-02-16: FG; Fixed document structure.

parent 4e69ea41
No related branches found
No related tags found
No related merge requests found
...@@ -18,15 +18,20 @@ In my case, I opted to upgrade all existing OSDs so I did not have to perform ...@@ -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. actions serially for each OSD and used a bit of bash/awk/grep to make loops.
However, for each OSD here the steps: However, for each OSD here the steps:
* extend LVM volume:: - extend LVM volume::
lvextend -L80G <VGname>/<LVname> 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 - IMPORTANT: I needed to reboot my server, to make the OS aware of the change.
rebooting. May be the same result could be obtained some other way, but I did not mind
* Stop the OSD, play some magic, resume OSD:: rebooting.
$ systemctl stop ceph-osd@<OSDnumber> - Stop the OSD, play some magic, resume OSD::
# check following command really claims to be extending the partition
$ ceph-bluestore-tool bluefs-bdev-expand --path /var/lib/ceph/osd/ceph-<OSDnumber> $ systemctl stop ceph-osd@<OSDnumber>
$ systemctl restart ceph-osd@<OSDnumber> # check following command really claims to be extending the partition
* force an OSD compact, to get rid of ``spillover`` message:: $ ceph-bluestore-tool bluefs-bdev-expand --path /var/lib/ceph/osd/ceph-<OSDnumber>
$ ceph daemon osd.<OSDnumber> $ systemctl restart ceph-osd@<OSDnumber>
- force an OSD compact, to get rid of ``spillover`` message::
$ ceph daemon osd.<OSDnumber>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment