All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: hemant surale <hemant.surale@gmail.com>
Cc: Tommi Virtanen <tv@inktank.com>, ceph-devel@vger.kernel.org
Subject: Re: Ceph setup on single node : prob with "
Date: Thu, 16 Aug 2012 17:12:55 +1200	[thread overview]
Message-ID: <502C8157.5050609@catalyst.net.nz> (raw)
In-Reply-To: <CAGfy=6nJR+jRmM8sVaWOOjwm+DXfjTQ762K9JhLpxyRYt0eghQ@mail.gmail.com>

On 16/08/12 16:44, hemant surale wrote:
> Hello Tommi, Ceph community
>
> I did mkdir the directory. Infact I have created a new partition by
> the same name and formatted using ext3. I also executed the following
> command for the partition/directory:
>
> "mount -o remount,user_xattr /"
>
> Still I am getting the same error:
>>> 2012-08-14 14:31:29.390410 7fe3b920e780  ** ERROR: error creating
>>> empty object store in /ceph_data/osd.0: (2) No such file or directory
>>> failed: '/sbin/mkcephfs -d /tmp/mkcephfs.n6zx4y4y33 --init-daemon osd.0'
> Can you please help me out. I am using Ubuntu 12.04 with kernel version: 3.3.7
>
> Do let me know if I am missing out on something. My college project is
> stuck because of this issue. Please help me out.
>
>

Hi Hermant,

The osd.o directory needs to be pre-created before you do mkcephfs, so 
you need to:

$ sudo mkdir /ceph_data/osd.0
$ sudo mkcephfs -a -c /etc/ceph/ceph.conf

Cheers

Mark

  reply	other threads:[~2012-08-16  5:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14 10:13 Ceph setup on single node : prob with " hemant surale
2012-08-14 16:11 ` Tommi Virtanen
2012-08-16  4:44   ` hemant surale
2012-08-16  5:12     ` Mark Kirkwood [this message]
     [not found]       ` <CAGfy=6k9c1RyzTABxJvJ9A6MaS-yqSQR8oiKGs-DED0rfgxbUQ@mail.gmail.com>
     [not found]         ` <502C8439.1060403@catalyst.net.nz>
     [not found]           ` <CAGfy=6=VMEHTPKv1v83BfyxC=P6=ysPj5S44w_zCQNhLAOAhjg@mail.gmail.com>
     [not found]             ` <502C94B7.9090203@catalyst.net.nz>
     [not found]               ` <CAGfy=6=SzFvBjmdj-F2qtZnb-e8xFReQ76G8JK4+UjM=xfNdxw@mail.gmail.com>
2012-08-16  9:19                 ` hemant surale
2012-08-16 16:13     ` Tommi Virtanen
2012-08-16 22:01       ` Mark Kirkwood
2012-08-17  5:43         ` hemant surale

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=502C8157.5050609@catalyst.net.nz \
    --to=mark.kirkwood@catalyst.net.nz \
    --cc=ceph-devel@vger.kernel.org \
    --cc=hemant.surale@gmail.com \
    --cc=tv@inktank.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.