Re: [ceph-users] Help needed rbd feature enable

2017-06-24 Thread Mykola Golub
The immutable features are features that can be set only at image creation time. These features are mutable (can be dynamically enabled/disabled after image creation): exclusive-lock, object-map, fast-diff, journaling Also, deep-flatten feature can be dynamically disabled. So all other

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread David Turner
It all depends on how you are creating your RBDs. Whatever your using is likely overriding the defaults and using a custom line in it's code. What you linked did not say that you cannot turn on the features I mentioned. There are indeed some features that cannot be enabled if they have ever

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread Massimiliano Cuttini
What seems to be strange is that feature are *all disabled* when I create some images. While ceph should use default settings of jewel at least. Do I need to place in ceph.conf something in order to use default settings? Il 23/06/2017 23:43, Massimiliano Cuttini ha scritto: I guess you

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread Massimiliano Cuttini
I guess you updated those feature before the commit that fix this: https://github.com/ceph/ceph/blob/master/src/include/rbd/features.h As stated: // features that make an image inaccessible for read or write by /// clients that don't understand them #define RBD_FEATURES_INCOMPATIBLE

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread David Turner
I upgraded to Jewel from Hammer and was able to enable those features on all of my rbds that were format 2, which yours is. Just test it on some non customer data and see how it goes. On Fri, Jun 23, 2017, 4:33 PM Massimiliano Cuttini wrote: > Ok, > > At moment my client

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread Massimiliano Cuttini
Ok, At moment my client use only nbd-rbd, can I use all these feature or this is something unavoidable? I guess it's ok. Reading around seems that a lost feature cannot be re-enabled due to back-compatibility with old clients. ... I guess I'll need to export and import in a new image fully

Re: [ceph-users] Help needed rbd feature enable

2017-06-23 Thread David Turner
All of the features you are talking about likely require the exclusive-lock which requires the 4.9 linux kernel. You cannot map any RBDs that have these features enabled with any kernel older than that. The features you can enable are layering, exclusive-lock, object-map, and fast-diff. You

[ceph-users] Help needed rbd feature enable

2017-06-23 Thread Massimiliano Cuttini
Hi everybody, I just realize that all my Images are completly without features: rbd info VHD-4c7ebb38-b081-48da-9b57-aac14bdf88c4 rbd image 'VHD-4c7ebb38-b081-48da-9b57-aac14bdf88c4': size 102400 MB in 51200 objects order 21 (2048 kB objects)