* Unable to build Ceph from source code
@ 2012-10-18 4:58 hemant surale
2012-10-19 2:24 ` Dan Mick
0 siblings, 1 reply; 2+ messages in thread
From: hemant surale @ 2012-10-18 4:58 UTC (permalink / raw)
To: ceph-devel
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
-----------------------------------------------------------------
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
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to build Ceph from source code
2012-10-18 4:58 Unable to build Ceph from source code hemant surale
@ 2012-10-19 2:24 ` Dan Mick
0 siblings, 0 replies; 2+ messages in thread
From: Dan Mick @ 2012-10-19 2:24 UTC (permalink / raw)
To: hemant surale; +Cc: ceph-devel
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-19 2:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 4:58 Unable to build Ceph from source code hemant surale
2012-10-19 2:24 ` Dan Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox