HI Brad, After exploring Ceph, I found sometimes when I run *make* command without removing the build folder, it will end with this error:
/home/agung/project/samc/ceph/build/bin/init-ceph: ceph conf ./ceph.conf not found; system is not configured. rm -f core* ip 127.0.0.1 port 6789 NOTE: hostname resolves to loopback; remote hosts will not be able to connect. either adjust /etc/hosts, or edit this script to use your machine's real IP. /home/agung/project/samc/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /home/agung/project/samc/ceph/build/keyring --cap mon allow * creating /home/agung/project/samc/ceph/build/keyring /home/agung/project/samc/ceph/build/bin/ceph-authtool --gen-key --name=client.admin --set-uid=0 --cap mon allow * --cap osd allow * --cap mds allow * /home/agung/project/samc/ceph/build/keyring /home/agung/project/samc/ceph/build/bin/monmaptool --create --clobber --add a 127.0.0.1:6789 --add b 127.0.0.1:6790 --add c 127.0.0.1:6791 --print /tmp/ceph_monmap.8374 /home/agung/project/samc/ceph/build/bin/monmaptool: monmap file /tmp/ceph_monmap.8374 /home/agung/project/samc/ceph/build/bin/monmaptool: generated fsid 9a08986c-b051-48e1-9002-f49af0cb9efd epoch 0 fsid 9a08986c-b051-48e1-9002-f49af0cb9efd last_changed 2016-08-31 20:54:42.473678 created 2016-08-31 20:54:42.473678 0: 127.0.0.1:6789/0 mon.a 1: 127.0.0.1:6790/0 mon.b 2: 127.0.0.1:6791/0 mon.c /home/agung/project/samc/ceph/build/bin/monmaptool: writing epoch 0 to /tmp/ceph_monmap.8374 (3 monitors) rm -rf -- /home/agung/project/samc/ceph/build/dev/mon.a mkdir -p /home/agung/project/samc/ceph/build/dev/mon.a /home/agung/project/samc/ceph/build/bin/ceph-mon --mkfs -c /home/agung/project/samc/ceph/build/ceph.conf -i a --monmap=/tmp/ceph_monmap.8374 --keyring=/home/agung/project/samc/ceph/build/keyring Segmentation fault (core dumped) I have tried to remove the ceph.conf and clean up the temp/ folder before run OSD=3 MON=3 MDS=1 ../src/vstart.sh -n -x -l. But still did not work. probably you have any suggestion? On Thu, Aug 18, 2016 at 5:42 AM, Brad Hubbard <[email protected]> wrote: > On Thu, Aug 18, 2016 at 1:12 AM, agung Laksono <[email protected]> > wrote: > > Hi Ceph User, > > > > When I make change inside ceph codes in the development mode, > > I found that recompiling takes around an hour because I have to remove > > a build folder and all the contest and then reproduce it. > > > > Is there a way to make the compiling process be faster? something like > only > > compile a particular code that I change. > > Sure, just use the same build directory and run "make" again after you > make code > changes and it should only re-compile the binaries that are effected > by your code > changes. > > You can use "make -jX" if you aren't already where 'X' is usually > number of CPUs / 2 > which may speed up the build. > > HTH, > Brad > > > > > Thanks before > > > > > > -- > > Cheers, > > > > Agung Laksono > > > > > > _______________________________________________ > > ceph-users mailing list > > [email protected] > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > -- Cheers, Agung Laksono
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
