re-init the osd with the following command
sudo ceph-osd --id 0 --mkkey —mkfs
and then restart the osd again.

I hope it works.
-Krishna

> On May 8, 2015, at 11:56 AM, Srikanth Madugundi 
> <[email protected]> wrote:
> 
> I tried with leveldb, osd does not start either
> 
> osd objectstore = newstore
> 
> newstore backend = leveldb
> 
> enable experimental unrecoverable data corrupting features = newstore leveldb
> 
> 
> 
> -Srikanth
> 
> 
> 
> On Fri, May 8, 2015 at 10:41 AM, Somnath Roy <[email protected] 
> <mailto:[email protected]>> wrote:
> I think you need to build code with rocksdb enabled if you are not already 
> doing this.
> 
>  
> 
> Go to root folder and try this..
> 
>  
> 
> ./do_autogen.sh –r
> 
>  
> 
> Thanks & Regards
> 
> Somnath
> 
>  
> 
> From: Srikanth Madugundi [mailto:[email protected] 
> <mailto:[email protected]>] 
> Sent: Friday, May 08, 2015 10:33 AM
> To: Somnath Roy
> Cc: [email protected] <mailto:[email protected]>
> Subject: Re: [ceph-users] osd does not start when object store is set to 
> "newstore"
> 
>  
> 
> I tried adding "enable experimental unrecoverable data corrupting features = 
> newstore rocksdb" but no luck.
> 
>  
> 
> Here is the config I am using.
> 
>  
> 
> [global]
> 
> .
> 
> .
> 
> .
> 
> osd objectstore = newstore
> 
> newstore backend = rocksdb
> 
> enable experimental unrecoverable data corrupting features = newstore rocksdb
> 
>  
> 
> Regards
> 
> -Srikanth
> 
>  
> 
> On Thu, May 7, 2015 at 10:59 PM, Somnath Roy <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> I think you need to add the following..
> 
>  
> 
> enable experimental unrecoverable data corrupting features = newstore rocksdb
> 
>  
> 
> Thanks & Regards
> 
> Somnath
> 
>  
> 
>  
> 
> From: ceph-users [mailto:[email protected] 
> <mailto:[email protected]>] On Behalf Of Srikanth Madugundi
> Sent: Thursday, May 07, 2015 10:56 PM
> To: [email protected] <mailto:[email protected]>
> Subject: [ceph-users] osd does not start when object store is set to 
> "newstore"
> 
>  
> 
> Hi,
> 
>  
> 
> I built and installed ceph source from (wip-newstore) branch and could not 
> start osd with "newstore" as osd objectstore. 
> 
>  
> 
> $ sudo /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c 
> /etc/ceph/ceph.conf --cluster ceph -f 
> 
> 2015-05-08 05:49:16.130073 7f286be01880 -1 unable to create object store
> 
> $
> 
>  
> 
> #### ceph.config ( I have the following settings in ceph.conf)
> 
>  
> 
> [global]
> 
> osd objectstore = newstore
> 
> newstore backend = rocksdb
> 
>  
> 
> enable experimental unrecoverable data corrupting features = newstore
> 
>  
> 
> The logs does not show much details.
> 
>  
> 
> $ tail -f /var/log/ceph/ceph-osd.0.log 
> 
> 2015-05-08 00:01:54.331136 7fb00e07c880  0 ceph version  (), process 
> ceph-osd, pid 23514
> 
> 2015-05-08 00:01:54.331202 7fb00e07c880 -1 unable to create object store
> 
>  
> 
> Am I missing something?
> 
>  
> 
> Regards
> 
> Srikanth
> 
>  
> 
> 
> PLEASE NOTE: The information contained in this electronic mail message is 
> intended only for the use of the designated recipient(s) named above. If the 
> reader of this message is not the intended recipient, you are hereby notified 
> that you have received this message in error and that any review, 
> dissemination, distribution, or copying of this message is strictly 
> prohibited. If you have received this communication in error, please notify 
> the sender by telephone or e-mail (as shown above) immediately and destroy 
> any and all copies of this message in your possession (whether hard copies or 
> electronically stored copies).
> 
>  
> 
> 
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to