Project

General

Profile

Feature #45289

Updated by Ramana Raja almost 4 years ago

Add an option to `fs subvolume create` command to allow subvolumes to be created in unique RADOS namespaces. 

 The create_subvol() method already has a parameter `isolate_nspace` that can be set to True to set a RADOS namespace for a subvolume, but the parameter is now always set to False. Make it configurable based on user input. 
 https://github.com/ceph/ceph/blob/master/src/pybind/mgr/volumes/fs/volume.py#L122 

 And it'd be useful to display the RADOS namespace of the subvolume in `fs subvolume info`. 

 use-case: 
 This is required by manila's CephFS driver that creates subvolumes/shares in unique RADOS namespaces. 

Back