Re: create rbd image failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Sep 2016, Jin Cai wrote:
> Hi,
> To use erasure coding in rbd, I created a cache pool with the read-only
> mode.
> But when I created a rbd image for the cache pool, there was an unexpected
> error:
> 
> 
> rbd create -p cache-pool --image cache-image --image-format 2 --object-size
> 16K --image-feature layering --size 5G
> 2016-09-29 21:20:03.437598 7f5b9d150d80 -1 librbd: error writing header:
> (95) Operation not supported
> rbd: create error: (95) Operation not supported
> 
> 
> I think it is due to the reason that setting cache pool in read-only mode,
> but I do not know why it is. Did someone face the same situation before?

The read-only cache mode is only usable for librados users who are deeply 
familiar with the code and know what they are doing.  It is not usably by 
rgw or rbd or probably anything else.  In fact, the mon should prevent you 
from setting the readonly mode in the first place on jewel...

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux