Project

General

Profile

Actions

Feature #51340

closed

mon/MDSMonitor: allow creating a file system with a specific fscid

Added by Patrick Donnelly almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
pacific
Reviewed:
Affected Versions:
Component(FS):
MDSMonitor
Labels (FS):
Pull request ID:

Description

In the scenario where the monitor databases are lost and must be rebuilt, the file system will need recreated. (Assuming pools have been recovered by OSDMap reconstruction from the incremental OSDMaps on the OSDs.) Some external projects like ceph-csi reasonably expect the fscid to be stable. During this recovery scenario, the fscid will likely change back to the default starting value (0 or 1).

Allow the administrator to set the fscid via the "fs new" command. If no existing file system exists with that fscid, allow it. (This breaks the "rule" that fscids for "new" file systems are always increasing. We should note this exception in the documentation!)


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #51834: pacific: mon/MDSMonitor: allow creating a file system with a specific fscidResolvedRamana RajaActions
Actions #1

Updated by Ramana Raja almost 3 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 42106
Actions #2

Updated by Ramana Raja almost 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Patrick Donnelly almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51834: pacific: mon/MDSMonitor: allow creating a file system with a specific fscid added
Actions #5

Updated by Loïc Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF