Re: osd does not start when object store is set to "newstore"

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

 



>>I tries searching on internet and could not find a el7 package with liburcu-bp.la file, let me know which rpm package has this libtool archive. 

Hi, maybe can you try

./install-deps.sh

to install needed dependencies.



----- Mail original -----
De: "Srikanth Madugundi" <srikanth.madugundi@xxxxxxxxx>
À: "Somnath Roy" <Somnath.Roy@xxxxxxxxxxx>
Cc: "ceph-users" <ceph-users@xxxxxxxx>
Envoyé: Dimanche 10 Mai 2015 08:21:06
Objet: Re:  osd does not start when object store is set to	"newstore"

Hi, 
Thanks a lot Somnath for the help. I tried to change "./autogen.sh" to "./do_autogen.sh -r" but see this error during building process. I tried searching 


CC libosd_tp_la-osd.lo 
CC libosd_tp_la-pg.lo 
CC librbd_tp_la-librbd.lo 
CC librados_tp_la-librados.lo 
CC libos_tp_la-objectstore.lo 
CCLD libosd_tp.la 
/usr/bin/grep: /usr/lib64/ liburcu-bp.la : No such file or directory 
/usr/bin/sed: can't read /usr/lib64/ liburcu-bp.la : No such file or directory 
libtool: link: `/usr/lib64/ liburcu-bp.la ' is not a valid libtool archive 
make[5]: *** [ libosd_tp.la ] Error 1 
make[5]: *** Waiting for unfinished jobs.... 
make[5]: Leaving directory `/home/srikanth/rpmbuild/BUILD/ceph-0.93/src/tracing' 
make[4]: *** [all] Error 2 
make[4]: Leaving directory `/home/srikanth/rpmbuild/BUILD/ceph-0.93/src/tracing' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory `/home/srikanth/rpmbuild/BUILD/ceph-0.93/src' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory `/home/srikanth/rpmbuild/BUILD/ceph-0.93/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/home/srikanth/rpmbuild/BUILD/ceph-0.93' 
error: Bad exit status from /var/tmp/rpm-tmp.WEQTYW (%build) 

I have the following package installed. 

$ rpm -qa |grep userspace 
userspace-rcu-devel-0.8.6-1.fc23.x86_64 
userspace-rcu-0.8.6-1.fc23.x86_64 

I tries searching on internet and could not find a el7 package with liburcu-bp.la file, let me know which rpm package has this libtool archive. 

Regards 
Srikanth 


On Fri, May 8, 2015 at 10:41 AM, Somnath Roy < Somnath.Roy@xxxxxxxxxxx > 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: srikanth.madugundi@xxxxxxxxx ] 
Sent: Friday, May 08, 2015 10:33 AM 
To: Somnath Roy 
Cc: ceph-users@xxxxxxxx 
Subject: Re:  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.Roy@xxxxxxxxxxx > 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-bounces@xxxxxxxxxxxxxx ] On Behalf Of Srikanth Madugundi 
Sent: Thursday, May 07, 2015 10:56 PM 
To: ceph-users@xxxxxxxx 
Subject:  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@xxxxxxxxxxxxxx 
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux