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 about 4 years ago. Updated 8 months ago.

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

0%

Source:
Development
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDSMonitor
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-13136-gdf19b8dbc7e
Released In:
v18.2.0~1968
Upkeep Timestamp:
2025-07-14T14:42:12+00:00

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 about 4 years ago

  • Assignee set to Nikhilkumar Shelke
Actions #2

Updated by Patrick Donnelly about 4 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 about 4 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 4 years ago

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

Updated by Venky Shankar almost 4 years ago

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

Updated by Upkeep Bot almost 4 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 Upkeep Bot almost 4 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 4 years ago

  • Pull request ID set to 44900
Actions #9

Updated by Nikhilkumar Shelke over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #10

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to df19b8dbc7e9eaada7f0018722864827ea92d988
  • Fixed In set to v17.0.0-13136-gdf19b8dbc7e
  • Released In set to v18.2.0~1968
  • Upkeep Timestamp set to 2025-07-14T14:42:12+00:00
Actions

Also available in: Atom PDF