Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-21 Thread Brad Hubbard
Glad it worked. On Mon, Apr 22, 2019 at 11:01 AM Can Zhang wrote: > > Thanks for your detailed response. > > I freshly installed a CentOS 7.6 and run install-deps.sh and > do_cmake.sh this time, and it works this time. Maybe the problem was > caused by dirty environment. > > > Best, > Can Zhang

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-21 Thread Can Zhang
Thanks for your detailed response. I freshly installed a CentOS 7.6 and run install-deps.sh and do_cmake.sh this time, and it works this time. Maybe the problem was caused by dirty environment. Best, Can Zhang On Fri, Apr 19, 2019 at 6:28 PM Brad Hubbard wrote: > > OK. So this works for me

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-19 Thread Brad Hubbard
OK. So this works for me with master commit bdaac2d619d603f53a16c07f9d7bd47751137c4c on Centos 7.5.1804. I cloned the repo and ran './install-deps.sh' and './do_cmake.sh -DWITH_FIO=ON' then 'make all'. # find ./lib -iname '*.so*' | xargs nm -AD 2>&1 | grep _ZTIN13PriorityCache8PriCacheE

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-18 Thread Brad Hubbard
Let me try to reproduce this on centos 7.5 with master and I'll let you know how I go. On Thu, Apr 18, 2019 at 3:59 PM Can Zhang wrote: > > Using the commands you provided, I actually find some differences: > > On my CentOS VM: > ``` > # sudo find ./lib* -iname '*.so*' | xargs nm -AD 2>&1 |

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Can Zhang
Using the commands you provided, I actually find some differences: On my CentOS VM: ``` # sudo find ./lib* -iname '*.so*' | xargs nm -AD 2>&1 | grep _ZTIN13PriorityCache8PriCacheE ./libceph-common.so:0221cc08 V _ZTIN13PriorityCache8PriCacheE ./libceph-common.so.0:0221cc08 V

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Brad Hubbard
Does it define _ZTIN13PriorityCache8PriCacheE ? If it does, and all is as you say, then it should not say that _ZTIN13PriorityCache8PriCacheE is undefined. Does ldd show that it is finding the libraries you think it is? Either it is finding a different version of that library somewhere else or the

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Can Zhang
It's already in LD_LIBRARY_PATH, under the same directory of libfio_ceph_objectstore.so $ ll lib/|grep libceph-common lrwxrwxrwx. 1 root root19 Apr 17 11:15 libceph-common.so -> libceph-common.so.0 -rwxr-xr-x. 1 root root 211853400 Apr 17 11:15 libceph-common.so.0 Best, Can Zhang On

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Brad Hubbard
On Wed, Apr 17, 2019 at 1:37 PM Can Zhang wrote: > > Thanks for your suggestions. > > I tried to build libfio_ceph_objectstore.so, but it fails to load: > > ``` > $ LD_LIBRARY_PATH=./lib ./bin/fio --enghelp=libfio_ceph_objectstore.so > > fio: engine libfio_ceph_objectstore.so not loadable > IO

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Can Zhang
I fully rebuilt libfio_ceph_objectstore file on my Ubuntu VM. Best, Can Zhang On Wed, Apr 17, 2019 at 10:39 PM Igor Fedotov wrote: > > Or try full rebuild? > > On 4/17/2019 5:37 PM, Igor Fedotov wrote: > > Could you please check if libfio_ceph_objectstore.so has been rebuilt > > with your last

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Igor Fedotov
Or try full rebuild? On 4/17/2019 5:37 PM, Igor Fedotov wrote: Could you please check if libfio_ceph_objectstore.so has been rebuilt with your last build? On 4/17/2019 6:37 AM, Can Zhang wrote: Thanks for your suggestions. I tried to build libfio_ceph_objectstore.so, but it fails to load:

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Igor Fedotov
Could you please check if libfio_ceph_objectstore.so has been rebuilt with your last build? On 4/17/2019 6:37 AM, Can Zhang wrote: Thanks for your suggestions. I tried to build libfio_ceph_objectstore.so, but it fails to load: ``` $ LD_LIBRARY_PATH=./lib ./bin/fio

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-17 Thread Can Zhang
Then I tried to build libfio_ceph_objectstore.so on a Ubuntu 18.04 vm, it seems to be working now. Best, Can Zhang On Wed, Apr 17, 2019 at 11:37 AM Can Zhang wrote: > > Thanks for your suggestions. > > I tried to build libfio_ceph_objectstore.so, but it fails to load: > > ``` > $

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-16 Thread Can Zhang
Thanks for your suggestions. I tried to build libfio_ceph_objectstore.so, but it fails to load: ``` $ LD_LIBRARY_PATH=./lib ./bin/fio --enghelp=libfio_ceph_objectstore.so fio: engine libfio_ceph_objectstore.so not loadable IO engine libfio_ceph_objectstore.so not found ``` I managed to print

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-16 Thread Igor Fedotov
Besides already mentioned store_test.cc one can also use ceph objectstore fio plugin (https://github.com/ceph/ceph/tree/master/src/test/fio) to access standalone BlueStore instance from FIO benchmarking tool. Thanks, Igor On 4/16/2019 7:58 AM, Can ZHANG wrote: Hi, I'd like to run a

Re: [ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-16 Thread Paul Emmerich
Depending on how low-level you are willing to go, a good place to start would be the unit test for the various object store implementations: https://github.com/ceph/ceph/blob/master/src/test/objectstore/store_test.cc Paul -- Paul Emmerich Looking for help with your Ceph cluster? Contact us

[ceph-users] Is it possible to run a standalone Bluestore instance?

2019-04-15 Thread Can ZHANG
Hi, I'd like to run a standalone Bluestore instance so as to test and tune its performance. Are there any tools about it, or any suggestions? Best, Can Zhang ___ ceph-users mailing list ceph-users@lists.ceph.com