Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-26 Thread Ilya Dryomov
On Tue, Apr 26, 2016 at 5:45 PM, Somnath Roy wrote: > By default image format is 2 in jewel which is not supported by krbd..try > creating image with --image-format 1 and it should be resolved.. With the default striping pattern (no --stripe-unit or --stripe-count at create time), --image-format

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-26 Thread Somnath Roy
By default image format is 2 in jewel which is not supported by krbd..try creating image with --image-format 1 and it should be resolved.. Thanks Somnath Sent from my iPhone On Apr 25, 2016, at 9:38 PM, "wd_hw...@wistron.com" mailto:wd_hw...@wistron.com>> wrote:

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-26 Thread WD_Hwang
Från: ceph-users [ceph-users-boun...@lists.ceph.com] för wd_hw...@wistron.com<mailto:wd_hw...@wistron.com> [wd_hw...@wistron.com] Skickat: den 26 april 2016 04:32 Till: ceph-users-boun...@lists.ceph.com<mailto:ceph-users-boun...@lists.ceph.com> Kopia: ceph-users@lists.ceph

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-26 Thread Stefan Lissmats
.com Kopia: ceph-users@lists.ceph.com Ämne: RE: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map Hello: Sorry for that I forgot paste the results of image format 1. And I still cannot mount the format 1 or 2 block on Ubuntu 14.04 client, which the kernel is 3.13.0-85-generic #

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-25 Thread WD_Hwang
6 april 2016 04:32 Till: ceph-users-boun...@lists.ceph.com<mailto:ceph-users-boun...@lists.ceph.com> Kopia: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com> Ämne: Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map Dear Cephers: I got the same issue under

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-25 Thread Stefan Lissmats
ime. Regards Stefan Från: ceph-users [ceph-users-boun...@lists.ceph.com] för wd_hw...@wistron.com [wd_hw...@wistron.com] Skickat: den 26 april 2016 04:32 Till: ceph-users-boun...@lists.ceph.com Kopia: ceph-users@lists.ceph.com Ämne: Re: [ceph-users] krbd map on Jewel, sysfs write

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-25 Thread WD_Hwang
Dear Cephers: I got the same issue under Ubuntu 14.04, even I try to use the image format ‘1’. # modinfo rbd filename: /lib/modules/3.13.0-85-generic/kernel/drivers/block/rbd.ko license:GPL author: Jeff Garzik description:rados block device author: Yehuda Sadeh

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread Jason Dillaman
Slight clarification: to disable these features on existing images, you should run the following: rbd feature disable deep-flatten,fast-diff,object-map, exclusive-lock (note the commas instead of the spaces when disabling multiple features at once). -- Jason On Thu, Apr 21, 2016 at 4:48 AM, I

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread 席智勇
hi: I am using the same verion with you. This set only effects new created volumes. 2016-04-21 17:41 GMT+08:00 Mika c : > Hi xizhiyong, > Thanks for your infomation. I am using Jewel right now(10.1.2), the > setting "rbd_default_features = 3" not working for me. > And this setting will enable

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread Ilya Dryomov
On Thu, Apr 21, 2016 at 11:41 AM, Mika c wrote: > Hi xizhiyong, > Thanks for your infomation. I am using Jewel right now(10.1.2), the > setting "rbd_default_features = 3" not working for me. > And this setting will enable "exclusive-lock, object-map, fast-diff, > deep-flatten" features. Setti

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread Ilya Dryomov
On Thu, Apr 21, 2016 at 10:00 AM, Mika c wrote: > Hi cephers, > Had the same issue too. But the command "rbd feature disable" not > working to me. > Any comment will be appreciated. > > $sudo rbd feature disable timg1 deep-flatten fast-diff object-map > exclusive-lock > rbd: failed to update i

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread Mika c
Hi xizhiyong, Thanks for your infomation. I am using Jewel right now(10.1.2), the setting "rbd_default_features = 3" not working for me. And this setting will enable "exclusive-lock, object-map, fast-diff, deep-flatten" features. Best wishes, Mika 2016-04-21 16:56 GMT+08:00 席智勇 : > That'

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread 席智勇
That's true for me too. You can disable them via set in the conf file. #ceph.conf rbd_default_features = 3 #meens only enable layering and striping 2016-04-21 16:00 GMT+08:00 Mika c : > Hi cephers, > Had the same issue too. But the command "rbd feature disable" not > working to me. > Any com

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-21 Thread Mika c
Hi cephers, Had the same issue too. But the command "rbd feature disable" not working to me. Any comment will be appreciated. $sudo rbd feature disable timg1 deep-flatten fast-diff object-map exclusive-lock rbd: failed to update image features: (22) Invalid argument 2016-04-21 15:53:10.260671

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-19 Thread Ilya Dryomov
On Mon, Apr 18, 2016 at 11:58 AM, Tim Bishop wrote: > I had the same issue when testing on Ubuntu xenial beta. That has 4.4, > so should be fine? I had to create images without the new RBD features > to make it works. None of the "new" features are currently supported by krbd. 4.7 will support e

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-18 Thread Tim Bishop
I had the same issue when testing on Ubuntu xenial beta. That has 4.4, so should be fine? I had to create images without the new RBD features to make it works. % ceph -v ceph version 10.1.2 (4a2a6f72640d6b74a3bbd92798bb913ed380dcd4) % modinfo rbd filename: /lib/modules/4.4.0-18-generic/kern

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-18 Thread Varada Kari
Using any kernel >= 4.2 shouldn't have any problem. If you are using kernel version < 4.2, disable the recent features except layering. Varada On Monday 18 April 2016 02:41 PM, 席智勇 wrote: thanks for ur reply~ I did some search, and found the reason, like the mail(

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-18 Thread 席智勇
thanks for ur reply~ I did some search, and found the reason, like the mail( http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-September/004928.html) said, that because the krbd still not yet support the new RBD features like exclusive-lock. 2016-04-18 16:45 GMT+08:00 huang jun : > Hi, can

Re: [ceph-users] krbd map on Jewel, sysfs write failed when rbd map

2016-04-18 Thread huang jun
Hi, can you post the 'modinfo rbd' and your cluster state 'ceph -s'. 2016-04-18 16:35 GMT+08:00 席智勇 : > hi cephers: > > I create a rbd volume(image) on Jewel release, when exec rbd map, I got the > error message as follows.i can not find any message usage in > syslog/kern.log/messages. > anyone c