Project

General

Profile

Actions

Enhancement #68797

closed
AD JB

RFE: expand BlueFS while OSD is running

Enhancement #68797: RFE: expand BlueFS while OSD is running

Added by Anthony D'Atri about 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Community (user)
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-586-ga65fd3baf3
Released In:
Upkeep Timestamp:
2026-06-30T12:15:35+00:00
Tags:

Description

https://docs.ceph.com/en/latest/man/8/ceph-bluestore-tool/ discusses expanding the bdev of an existing OSD, but most operations of this tool require the OSD to be not running.

There are situations where one might wish to do this routinely and across a large swath of a cluster:

  • OSDs built on LVM volumes, SAN LUNs, or other metadevices that might grow in size
  • OSDs built on NVMe namespaces that may be resized
  • OSDs built on compressing SSDs
  • No doubt others

I suspect that shrinking a bdev would be much, much harder, but @Igor Fedotov suggests that expanding might be feasible, `ceph-bluestore-tool` itself notwithstanding.

Two possible ways this might be feasible:
  • Enhance `ceph-bluestore-tool` to allow this on an online OSD, setting any necessary sort of ephemeral stun or lock for the duration to avoid corruption
  • Add an admin socket command

The ScaleFlux folks might be able to lend dev resources.

Slack discussion: https://ceph-storage.slack.com/archives/C07UE2GHD6D

JB Updated by Joshua Blanch about 1 year ago Actions #1

  • Assignee set to Joshua Blanch

JB Updated by Joshua Blanch about 1 year ago Actions #2

  • Pull request ID set to 66344

IF Updated by Igor Fedotov 10 months ago Actions #3

  • Status changed from New to In Progress

UB Updated by Upkeep Bot 5 months ago Actions #4

  • Status changed from In Progress to Resolved
  • Merge Commit set to a65fd3baf373373beba0d83cf6d6916f909b85fb
  • Fixed In set to v21.3.0-586-ga65fd3baf3
  • Upkeep Timestamp set to 2026-06-30T12:15:35+00:00
Actions

Also available in: PDF Atom