Project

General

Profile

Actions

Bug #54111

closed

data pool attached to a file system can be attached to another file system

Added by Milind Changire over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDSMonitor
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ ceph osd pool create prod_meta
$ ceph osd pool create prod_data
$ ceph fs new prod prod_meta prod_data
$ ceph osd pool create backup_meta
$ ceph osd pool create backup_data
$ ceph fs new backup backup_meta backup_data
$ ceph fs add_data_pool prod backup_data
$ ceph-fuse -n client.admin --client_fs prod /mnt/prod
$ mkdir -p /mnt/prod/test/d{0,1}
$ sudo setfattr -n ceph.dir.layout.pool -v backup_data /mnt/prod/test/d1
$ ceph fs dump --format=json-pretty

verify the fs dump to see that the backup pool id is listed for both fs

Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #56113: pacific: data pool attached to a file system can be attached to another file systemRejectedNikhilkumar ShelkeActions
Copied to CephFS - Backport #56114: quincy: data pool attached to a file system can be attached to another file systemRejectedNikhilkumar ShelkeActions
Actions #1

Updated by Nikhilkumar Shelke over 2 years ago

  • Assignee set to Nikhilkumar Shelke
Actions #2

Updated by Patrick Donnelly over 2 years ago

  • Status changed from New to Triaged
  • Priority changed from Normal to Urgent
  • Target version set to v18.0.0
  • Source set to Development
  • Backport set to quincy,pacific
  • Component(FS) MDSMonitor added
Actions #3

Updated by Milind Changire over 2 years ago

Also, a metadata pool can't be reused as a metadata pool for another file-system since there's a check to ensure that the metadata pool is empty before being attached to a file-system.

However, an in-use metadata pool can be added as a 'data' pool to another file system and can be written to as well!

Actions #4

Updated by Nikhilkumar Shelke about 2 years ago

  • Status changed from Triaged to Fix Under Review
Actions #5

Updated by Venky Shankar almost 2 years ago

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

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56113: pacific: data pool attached to a file system can be attached to another file system added
Actions #7

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56114: quincy: data pool attached to a file system can be attached to another file system added
Actions #8

Updated by Nikhilkumar Shelke almost 2 years ago

  • Pull request ID set to 44900
Actions #9

Updated by Nikhilkumar Shelke almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF