Actions
Bug #54111
closeddata pool attached to a file system can be attached to another file system
% 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):
Merge Commit:
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
Updated by Nikhilkumar Shelke about 4 years ago
- Assignee set to Nikhilkumar Shelke
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
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!
Updated by Nikhilkumar Shelke about 4 years ago
- Status changed from Triaged to Fix Under Review
Updated by Venky Shankar almost 4 years ago
- Status changed from Fix Under Review to Pending Backport
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
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
Updated by Nikhilkumar Shelke over 3 years ago
- Status changed from Pending Backport to Resolved
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