From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Mick Subject: Re: Unable to build Ceph from source code Date: Thu, 18 Oct 2012 19:24:11 -0700 Message-ID: <5080B9CB.2030209@inktank.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:43024 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656Ab2JSCYT (ORCPT ); Thu, 18 Oct 2012 22:24:19 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr4so62492pbb.19 for ; Thu, 18 Oct 2012 19:24:15 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: hemant surale Cc: ceph-devel@vger.kernel.org On 10/17/2012 09:58 PM, hemant surale wrote: > Hi Community, > I have tried to build ceph from source code i.e. v0.48 tarball . > After proceeding to all steps given at official site . when I execute > "service ceph start " it gives following error > > -----------------//Error ------------------------------------ > root@atish-virtual-machine:~# service ceph start > /etc/init.d/ceph: 37: .: Can't open /usr/lib/ceph/ceph_common.sh > ----------------------------------------------------------------- So, clearly something went wrong with the installation step, and this file was not created. How did you install after building? > As well as I have created ceph.conf .. and when I execute "mkcephfs -a > -c /usr/local/bin/ceph.conf -k ceph.keyring" it gives following error > > -----------------//Error ------------------------------------ > temp dir is /tmp/mkcephfs.fwMGAd6Qko > preparing monmap in /tmp/mkcephfs.fwMGAd6Qko/monmap > /usr/local/bin/monmaptool --create --clobber --add alpha > 10.72.148.248:6789 --print /tmp/mkcephfs.fwMGAd6Qko/monmap > /usr/local/bin/monmaptool: monmap file /tmp/mkcephfs.fwMGAd6Qko/monmap > /usr/local/bin/monmaptool: generated fsid 390b4802-a482-4d28-98ea-e5437881b22b > epoch 0 > fsid 390b4802-a482-4d28-98ea-e5437881b22b > last_changed 2012-10-17 16:57:30.446192 > created 2012-10-17 16:57:30.446192 > 0: 10.72.148.248:6789/0 mon.alpha > /usr/local/bin/monmaptool: writing epoch 0 to > /tmp/mkcephfs.fwMGAd6Qko/monmap (1 monitors) > === osd.0 === > 2012-10-17 16:57:30.550339 b6fb3740 -1 > filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- enable > filestore_xattr_use_omap ^^ this is a pretty good clue. It says the filesystem you've chosen for your OSD has limited size for storing xattrs. You should enable the filestore_xattr_use_omap option. See http://ceph.com/docs/master/config-cluster/file-system-recommendations/ > 2012-10-17 16:57:30.550399 b6fb3740 -1 OSD::mkfs: couldn't mount > FileStore: error -95 > 2012-10-17 16:57:30.550440 b6fb3740 -1 ** ERROR: error creating empty > object store in /var/lib/ceph/osd/ceph-0: (95) Operation not supported > failed: '/usr/local/sbin/mkcephfs -d /tmp/mkcephfs.fwMGAd6Qko > --init-daemon osd.0' > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Please help me out. Thanks in advance > > - > Hemant Surale. > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >