Project

General

Profile

Actions

Bug #38944

closed

MDSMonitor: no mechanism for seeing value of allow_new_snaps

Added by Craig Gardner about 5 years ago. Updated about 5 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDSMonitor
Labels (FS):
snapshots, task(easy), task(intern)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Although it's obvious that cephfs requires "allow_new_snaps = true" in order to enable snapshots, there appears to be no way to actually check the value of the variable. Nothing exists in the docs indicating how to do it, nor anything in man pages. I even experimented with "get" to try to find the secret way, with no success.

Actions #1

Updated by Jan Fajerski about 5 years ago

  • Subject changed from no mechanism for seeing value of set_new_snaps to no mechanism for seeing value of allow_new_snaps
Actions #2

Updated by Jan Fajerski about 5 years ago

I also couldn't find a read setting. Would have expected it to at least be part of `ceph fs dump`.

Actions #3

Updated by Patrick Donnelly about 5 years ago

  • Subject changed from no mechanism for seeing value of allow_new_snaps to MDSMonitor: no mechanism for seeing value of allow_new_snaps
  • Target version changed from v14.2.0 to v15.0.0
  • Start date deleted (03/26/2019)
  • Source set to Community (user)
  • Backport set to nautilus,mimic
  • Component(FS) MDSMonitor added
Actions #4

Updated by Patrick Donnelly about 5 years ago

  • Assignee set to Varsha Rao
  • Labels (FS) task(easy), task(intern) added
Actions #5

Updated by Patrick Donnelly about 5 years ago

  • Status changed from New to Won't Fix
  • Assignee deleted (Varsha Rao)
  • Target version deleted (v15.0.0)
  • Backport deleted (nautilus,mimic)

The value is available in `ceph fs dump --format=json` in filesystems[].mdsmap.flags. The magic bit number is 2. See src/include/ceph_fs.h

Actions

Also available in: Atom PDF