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:srikanth.madugu...@gmail.com]
Sent: Friday, May 08, 2015 10:33 AM
To: Somnath Roy
Cc: ceph-us...@ceph.com
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 
<somnath....@sandisk.com<mailto:somnath....@sandisk.com>> wrote:
I think you need to add the following..

enable experimental unrecoverable data corrupting features = newstore rocksdb

Thanks & Regards
Somnath


From: ceph-users 
[mailto:ceph-users-boun...@lists.ceph.com<mailto:ceph-users-boun...@lists.ceph.com>]
 On Behalf Of Srikanth Madugundi
Sent: Thursday, May 07, 2015 10:56 PM
To: ceph-us...@ceph.com<mailto:ceph-us...@ceph.com>
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
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to