CEPH filesystem development
 help / color / mirror / Atom feed
From: Atish Kathpal <atish.kathpal@gmail.com>
To: ceph-devel@vger.kernel.org
Subject: mkcephfs giving problems
Date: Thu, 15 Sep 2011 06:14:22 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110915T081127-706@post.gmane.org> (raw)

Hello 

What am I trying? -  To setup single node cluster for Ceph, OSD, MON and MDS on 
same node.
OS: Ubuntu 11.04 (natty)
I installed Ceph following these instructions: 
=================
wget -q -O- https://raw.github.com/NewDreamNetwork/ceph/master/keys/release.asc 
\
| sudo apt-key add -

sudo tee /etc/apt/sources.list.d/ceph.list <<EOF
deb http://ceph.newdream.net/debian/ DISTRO main
deb-src http://ceph.newdream.net/debian/ DISTRO main
EOF

sudo apt-get update
sudo apt-get install ceph
=================

Next I created /etc/ceph.conf file with following contents:
=========
[global]
        auth supported = cephx
       keyring = /etc/ceph/ceph.keyring

[mon]
        mon data = /ceph_data/mon.0

[mds]

[osd]
        osd data = /ceph_data/osd.0
        osd journal = /ceph_data/osd.0.journal
        osd journal size = 1000

[mon.0]
        host = atish-virtual-machine
        mon addr = 10.72.147.207:6789

[osd.0]
        host = atish-virtual-machine

[mds.0]
        host = atish-virtual-machine
===========

Now on running:  mkcephfs -a -c ceph.conf -k ceph.keyring

I get following output:
============
atish@atish-virtual-machine:/etc/ceph$ mkcephfs -a -c ceph.conf -k ceph.keyring
temp dir is /tmp/mkcephfs.dh5U7fAf0a
preparing monmap in /tmp/mkcephfs.dh5U7fAf0a/monmap
/usr/bin/monmaptool --create --clobber --add 0 10.72.147.207:6789 --print 
/tmp/mkcephfs.dh5U7fAf0a/monmap
/usr/bin/monmaptool: monmap file /tmp/mkcephfs.dh5U7fAf0a/monmap
/usr/bin/monmaptool: generated fsid 0fad0467-bfc6-5063-935b-5abd87dbebd5
epoch 1
fsid 0fad0467-bfc6-5063-935b-5abd87dbebd5
last_changed 2011-09-14 20:09:10.557121
created 2011-09-14 20:09:10.557121
0: 10.72.147.207:6789/0 mon.0
/usr/bin/monmaptool: writing epoch 1 to /tmp/mkcephfs.dh5U7fAf0a/monmap (1 
monitors)
=== osd.0 ===
failed to open log file '/var/log/ceph/osd.0.log': error 13: Permission denied
 ** WARNING: Ceph is still under development.  Any feedback can be directed  **
 **          at ceph-devel@vger.kernel.org or http://ceph.newdream.net/.     **
2011-09-14 20:09:10.944686 b77d86e0 AdminSocketConfigObs::init: failed: 
AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to 
'/var/run/ceph/osd.0.asok': error 2: No such file or directory
2011-09-14 20:09:10.944701 b77d86e0 AdminSocketConfigObs: failed to start 
AdminSocket
2011-09-14 20:09:10.946025 b77d86e0 filestore(/ceph_data/osd.0) FileStore::mkfs: 
failed to open /ceph_data/osd.0/fsid: error 13: Permission denied
2011-09-14 20:09:10.946036 b77d86e0 OSD::mkfs: FileStore::mkfs failed with error 
-13
2011-09-14 20:09:10.946243 b77d86e0  ** ERROR: error creating empty object store 
in /ceph_data/osd.0: error 13: Permission denied
failed: '/sbin/mkcephfs -d /tmp/mkcephfs.dh5U7fAf0a --init-daemon osd.0'
atish@atish-virtual-machine:/etc/ceph$
================

Can you please guide me with setting Ceph up correctly? Where have I gone wrong?

Final aim: I intend to use just the Ceph Object Storage - RASOS - with S3/REST.

Waiting for reply.

Regards
Atish


             reply	other threads:[~2011-09-15  6:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  6:14 Atish Kathpal [this message]
2011-09-15 11:11 ` mkcephfs giving problems Smets, Jan (Jan)
2011-09-15 11:28 ` Wido den Hollander
     [not found]   ` <CAMiHsJLTR=rvoND829mE_AsZqAhY4jAAu60QtHQFepg5E8a9Rg@mail.gmail.com>
2011-09-15 12:01     ` Wido den Hollander
2011-09-15 17:07       ` Josh Durgin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110915T081127-706@post.gmane.org \
    --to=atish.kathpal@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox