/usr/bin/ld: cannot find -lboost_program_options
Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this cannot find -lboost_program_options many times ..so i tried to run make in verbose mode...and got this... root@ubuntuserver:/home/ceph# V=1 make Making all in . make[1]: Entering directory `/home/ceph' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/ceph' Making all in src make[1]: Entering directory `/home/ceph/src' make all-recursive make[2]: Entering directory `/home/ceph/src' Making all in ocf make[3]: Entering directory `/home/ceph/src/ocf' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/ceph/src/ocf' Making all in java make[3]: Entering directory `/home/ceph/src/java' make all-am make[4]: Entering directory `/home/ceph/src/java' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/ceph/src/java' make[3]: Leaving directory `/home/ceph/src/java' make[3]: Entering directory `/home/ceph/src' ./check_version ./.git_version ./.git_version is up to date. /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy /usr/bin/ld: cannot find -lboost_program_options collect2: error: ld returned 1 exit status make[3]: *** [ceph_filestore_tool] Error 1 make[3]: Leaving directory `/home/ceph/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ceph/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ceph/src' make: *** [all-recursive] Error 1 -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: /usr/bin/ld: cannot find -lboost_program_options
i reinstalled ...libboost-program-options-dev and it fixed the issue. Thanks. Date: Mon, 2 Dec 2013 10:18:33 +0800 From: liw...@ubuntukylin.com To: charlesboy...@hotmail.com CC: ceph-devel@vger.kernel.org Subject: Re: /usr/bin/ld: cannot find -lboost_program_options Please install libboost-program-options-dev package before compiling for example, for Ubuntu, sudo apt-get install libboost-program-options-dev On 12/02/2013 09:57 AM, charles L wrote: Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this cannot find -lboost_program_options many times ..so i tried to run make in verbose mode...and got this... root@ubuntuserver:/home/ceph# V=1 make Making all in . make[1]: Entering directory `/home/ceph' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/ceph' Making all in src make[1]: Entering directory `/home/ceph/src' make all-recursive make[2]: Entering directory `/home/ceph/src' Making all in ocf make[3]: Entering directory `/home/ceph/src/ocf' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/ceph/src/ocf' Making all in java make[3]: Entering directory `/home/ceph/src/java' make all-am make[4]: Entering directory `/home/ceph/src/java' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/ceph/src/java' make[3]: Leaving directory `/home/ceph/src/java' make[3]: Entering directory `/home/ceph/src' ./check_version ./.git_version ./.git_version is up to date. /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy /usr/bin/ld: cannot find -lboost_program_options collect2: error: ld returned 1 exit status make[3]: *** [ceph_filestore_tool] Error 1 make[3]: Leaving directory `/home/ceph/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ceph/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ceph/src' make: *** [all-recursive] Error 1 -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
make install
Hi, Pls when compiling ceph... i did # root@server:/home/ceph/make install #cd /usr/bin #root@server:/usr/bin# ls These were not updated ceph* cephfs* ceph-conf* but these were updated ceph-osd ceph-mon ceph-mds ...etc Pls can someone help. /Charles. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [ceph-users] testing ceph
Hi Karan/All, Thanks.I guess Joao Eduardo missunderstood me too. 1. yes there is 1 SSD on each server. There is also 4 data drive on each server. so i will have 4 OSD's on each server. 2. I want to know if its a good idea to use 1 partition on the SSD for the journals of the 4 OSD's. 3. considering if the SSD FAILS WHAT HAPPENS TO THE OSD's? if i have 3 replicas set, what is a good PLACEMENT GROUP NUMBER for the data pool, THAT ENSURES the 3 replicas don't end up on the same node. because if it does then crush map etc can never recover the my data. Any idea? /regards Charles. Date: Thu, 31 Oct 2013 16:27:02 +0200 From: ksi...@csc.fi To: charlesboy...@hotmail.com CC: majord...@vger.kernel.org; ceph-us...@ceph.com Subject: Re: [ceph-users] testing ceph Hello Charles Need some more clarification with your setup , Did you mean 1) There is 1 SSD ( 60 GB ) on each server i.e 6 SSD on all 6 servers ? 2) your osd.3 , osd.4 , osd.5 uses same journal ( /dev/sdf2 ) ? Regards Karan Singh From: charles L charlesboy...@hotmail.com To: ceph dev majord...@vger.kernel.org, ceph-us...@ceph.com Sent: Thursday, 31 October, 2013 6:24:13 AM Subject: [ceph-users] testing ceph Hi, Pls is this a good setup for a production environment test of ceph? My focus is on the SSD ... should it be partitioned(sdf1,2 ,3,4) and shared by the four OSDs on a host? or is this a better configuration for the SSD to be just one partition(sdf1) while all osd uses that one partition? my setup: - 6 Servers with one 250gb boot disk for OS(sda), four-2Tb Disks each for the OSDs i.e Total disks = 6x4 = 24 disks (sdb -sde) and one-60GB SSD for Osd Journal(sdf). -RAM = 32GB on each server with 2 GB network link. hostname for servers: Server1 -Server6 [osd.0] host = server1 devs = /dev/sdb osd journal = /dev/sdf1 [osd.1] host = server1 devs = /dev/sdc osd journal = /dev/sdf2 [osd.3] host = server1 devs = /dev/sdd osd journal = /dev/sdf2 [osd.4] host = server1 devs = /dev/sde osd journal = /dev/sdf2 [osd.5] host = server2 devs = /dev/sdb osd journal = /dev/sdf2 ... [osd.23] host = server6 devs = /dev/sde osd journal = /dev/sdf2 Thanks. ___ ceph-users mailing list ceph-us...@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
testing ceph
Hi, Pls is this a good setup for a production environment test of ceph? My focus is on the SSD ... should it be partitioned(sdf1,2 ,3,4) and shared by the four OSDs on a host? or is this a better configuration for the SSD to be just one partition(sdf1) while all osd uses that one partition? my setup: - 6 Servers with one 250gb boot disk for OS(sda), four-2Tb Disks each for the OSDs i.e Total disks = 6x4 = 24 disks (sdb -sde) and one-60GB SSD for Osd Journal(sdf). -RAM = 32GB on each server with 2 GB network link. hostname for servers: Server1 -Server6 [osd.0] host = server1 devs = /dev/sdb osd journal = /dev/sdf1 [osd.1] host = server1 devs = /dev/sdc osd journal = /dev/sdf2 [osd.3] host = server1 devs = /dev/sdd osd journal = /dev/sdf2 [osd.4] host = server1 devs = /dev/sde osd journal = /dev/sdf2 [osd.5] host = server2 devs = /dev/sdb osd journal = /dev/sdf2 ... [osd.23] host = server6 devs = /dev/sde osd journal = /dev/sdf2 Thanks. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
FW: errno=Connection refused
Hi Joao, I am able to access ceph.com without any issue and if you see the log, ceph clone was successful until the point of Cloning into 'ceph-object-corpus'. I really don't understand the reason for this, but it has been successful in the past. Pls i still need help about this. Thanks, Charles. Date: Tue, 26 Mar 2013 15:09:11 + From: joao.l...@inktank.com To: charlesboy...@hotmail.com CC: ceph-devel@vger.kernel.org Subject: Re: FW: errno=Connection refused On 03/26/2013 02:33 PM, charles L wrote: From: charlesboy...@hotmail.com To: ceph-us...@ceph.com Subject: errno=Connection refused Date: Tue, 26 Mar 2013 11:26:03 +0100 Hi, Can somebody help? git clone --recursive https://github.com/ceph/ceph.git Cloning into 'ceph'... remote: Counting objects: 179817, done. remote: Compressing objects: 100% (34122/34122), done. remote: Total 179817 (delta 146077), reused 177377 (delta 143959) Receiving objects: 100% (179817/179817), 35.42 MiB | 136 KiB/s, done. Resolving deltas: 100% (146077/146077), done. Submodule 'ceph-object-corpus' (git://ceph.com/git/ceph-object-corpus.git) registered for path 'ceph-object-corpus' Submodule 'src/libs3' (git://github.com/ceph/libs3.git) registered for path 'src/libs3' Cloning into 'ceph-object-corpus'... fatal: unable to connect to ceph.com: ceph.com[0: 208.113.241.137]: errno=Connection refused Clone of 'git://ceph.com/git/ceph-object-corpus.git' into submodule path 'ceph-object-cor pus' failed Works for me. Maybe some temporary connection error? Are you able to access 'ceph.com' from wherever you are? -Joao $ git clone --recursive https://github.com/ceph/ceph.git Cloning into 'ceph'... remote: Counting objects: 180035, done. remote: Compressing objects: 100% (34122/34122), done. remote: Total 180035 (delta 146255), reused 177644 (delta 144177) Receiving objects: 100% (180035/180035), 35.46 MiB | 1.51 MiB/s, done. Resolving deltas: 100% (146255/146255), done. Submodule 'ceph-object-corpus' (git://ceph.com/git/ceph-object-corpus.git) registered for path 'ceph-object-corpus' Submodule 'src/libs3' (git://github.com/ceph/libs3.git) registered for path 'src/libs3' Cloning into 'ceph-object-corpus'... remote: Counting objects: 6250, done. remote: Compressing objects: 100% (3459/3459), done. remote: Total 6250 (delta 772), reused 6101 (delta 654) Receiving objects: 100% (6250/6250), 735.47 KiB | 305 KiB/s, done. Resolving deltas: 100% (772/772), done. Submodule path 'ceph-object-corpus': checked out '0655429f62bc3366250496da3513abec15c34856' Cloning into 'src/libs3'... remote: Counting objects: 1000, done. remote: Compressing objects: 100% (289/289), done. remote: Total 1000 (delta 720), reused 976 (delta 696) Receiving objects: 100% (1000/1000), 347.92 KiB | 262 KiB/s, done. Resolving deltas: 100% (720/720), done. Submodule path 'src/libs3': checked out '9dc3a9c683385abfe4ad92b7c6ff30719acc3c13' Thanks. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
FW: errno=Connection refused
From: charlesboy...@hotmail.com To: ceph-us...@ceph.com Subject: errno=Connection refused Date: Tue, 26 Mar 2013 11:26:03 +0100 Hi, Can somebody help? git clone --recursive https://github.com/ceph/ceph.git Cloning into 'ceph'... remote: Counting objects: 179817, done. remote: Compressing objects: 100% (34122/34122), done. remote: Total 179817 (delta 146077), reused 177377 (delta 143959) Receiving objects: 100% (179817/179817), 35.42 MiB | 136 KiB/s, done. Resolving deltas: 100% (146077/146077), done. Submodule 'ceph-object-corpus' (git://ceph.com/git/ceph-object-corpus.git) registered for path 'ceph-object-corpus' Submodule 'src/libs3' (git://github.com/ceph/libs3.git) registered for path 'src/libs3' Cloning into 'ceph-object-corpus'... fatal: unable to connect to ceph.com: ceph.com[0: 208.113.241.137]: errno=Connection refused Clone of 'git://ceph.com/git/ceph-object-corpus.git' into submodule path 'ceph-object-cor pus' failed Thanks. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
urgent journal conf on ceph.conf
Pls can someone help me with the ceph.conf for 0.56.2. I have two servers for STORAGE with 3tb hard drives each and two SSD's each. I want to use OSD data on the hard drive and osd journal on SSD. I want to know how osd journal configuration is set to SSD. My SSD is mounted on /dev/sdb. I have tried the osd data configurations devs = /dev/sda and it worked just good. Is this line correct osd journal = /dev/osd$id/journal ?? and osd journal = /dev/sdb ??? [global] auth cluster required = cephx auth service required = cephx auth client required = cephx debug ms = 1 [osd] osd journal size = 1000 osd journal = /dev/osd$id/journal filestore xattr use omap = true osd mkfs type = xfs osd mkfs options xfs = -f osd mount options xfs = rw,noatime, [osd.0] host = server04 devs = /dev/sda osd journal = /dev/sdb [osd.1] host = server05 devs = /dev/sda osd journal = /dev/sdb THANKS. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: Ceph Development with Eclipse
Hi Greg, I guess setting Ceph up outside of Eclipse include doing the following on any linux system: 1. To prepare the source tree after it has been git cloned, $ git submodule update --init 2. To build the server daemons, and FUSE client, execute the following: $ ./autogen.sh $ ./configure $ make 3. Creating a C/C++ project on eclipse and importing the Makefile into Eclipse ...to put the ceph project under Eclipse control... BUT its not working!!! Makefile not visible in Eclipse and wont import... I guess i have missed some steps in setting it up outside Eclipse or the process of importing ... ... I will appreciate your guidance and guidance from the community too... Regards, Charles. Date: Sat, 2 Feb 2013 18:16:08 -0800 From: g...@inktank.com To: charlesboy...@hotmail.com CC: ceph-devel@vger.kernel.org; post.the.re...@gmail.com Subject: Re: Ceph Development with Eclipse I actually still do this. Set it up Ceph outside of Eclipse initially, then import it as a project with an existing Makefile. It should pick up on everything it needs to well enough. :) -Greg On Saturday, February 2, 2013 at 9:40 AM, charles L wrote: Hi I am a beginner at c++ and eclipse. I need some startup help to develop ceph with eclipse. If you could provide your config file on eclipse, it will be a great starting point and very appreciated. Regards, Charles. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Ceph Development with Eclipse
Hi I am a beginner at c++ and eclipse. I need some startup help to develop ceph with eclipse. If you could provide your config file on eclipse, it will be a great starting point and very appreciated. Regards, Charles. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
ceph client
Hi All , I need some help and guide on compiling ceph client on Eclipse.. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html