I could run cephfs-shell without 'make install'.

After running vstart, cd to build directory and run:
$ LD_LIBRARY_PATH=$PWD/lib python3.7 ../src/tools/cephfs/cephfs-shell --config ceph.conf

The ceph.conf is generated when vstart is executed. I guess you'd know this part.


On Sat, Mar 16, 2019 at 4:40 PM Jeff Layton <jlayton@redhat.com> wrote:
I need to do a bit of testing with cephfs and would like to avoid having
to use FUSE or write C calls into libcephfs. cephfs-shell seems perfect
for this, but I haven't quite figured out how to run it out of the build
directory.

Is there a way to run cephfs-shell from a ceph build directory (i.e. w/o
make installing it)? Are there env vars that can be set to make it find
the right bits in the right places?

Thanks,
--
Jeff Layton <jlayton@redhat.com>
_______________________________________________
ceph-fs mailing list -- ceph-fs@ceph.io
To unsubscribe send an email to ceph-fs-leave@ceph.io


--
Milind