All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Landman <landman@scalableinformatics.com>
To: ceph-devel@vger.kernel.org
Subject: Running into an error with mkcephfs
Date: Fri, 20 Jul 2012 17:45:49 -0400	[thread overview]
Message-ID: <5009D18D.6050506@scalableinformatics.com> (raw)

Hi folks:

   Setting up a test cluster.  Simple ceph.conf

[global]
  	auth supported = cephx

[mon]
	mon data = /data/mon$id
	debug ms = 1

[mon.0]
	host = n01
	mon addr = 10.202.1.142:6789

[mon.1]
	host = n02
	mon addr = 10.202.1.141:6789

[mon.2]
	host = siflash-ssd
	mon addr = 10.202.1.128:6789

[mds]
	keyring = /data/keyring.$name

[mds.a]
	host = siflash-ssd-1

[osd]
	osd data = /data/1/osd$id
	osd journal = /data/2/osd$id/journal
         osd journal size = 512

[osd.0]
	host = dv4-1


[osd.1]
	host = dv4-2


Following along on the directions: 
http://ceph.com/docs/master/start/quick-start/

mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring

[root@n01 ceph]# mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyringtemp 
dir is /tmp/mkcephfs.W73fq9MYo0
preparing monmap in /tmp/mkcephfs.W73fq9MYo0/monmap
/usr/bin/monmaptool --create --clobber --add 0 10.202.1.142:6789 --add 1 
10.202.1.141:6789 --add 2 10.202.1.128:6789 --print 
/tmp/mkcephfs.W73fq9MYo0/monmap
/usr/bin/monmaptool: monmap file /tmp/mkcephfs.W73fq9MYo0/monmap
/usr/bin/monmaptool: generated fsid 3ffcf9f3-f589-4dae-a534-f53daa3bc12c
epoch 0
fsid 3ffcf9f3-f589-4dae-a534-f53daa3bc12c
last_changed 2012-07-19 17:35:14.024091
created 2012-07-19 17:35:14.024091
0: 10.202.1.128:6789/0 mon.2
1: 10.202.1.141:6789/0 mon.1
2: 10.202.1.142:6789/0 mon.0
/usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.W73fq9MYo0/monmap 
(3 monitors)
=== osd.0 ===
pushing conf and monmap to dv4-1:/tmp/mkfs.ceph.26215
2012-07-20 17:38:12.605503 7f30d6d41760 -1  ** ERROR: error creating 
empty object store in /data/1/osd0: (2) No such file or directory
failed: 'ssh root@dv4-1 /sbin/mkcephfs -d /tmp/mkfs.ceph.26215 
--init-daemon osd.0'

Not sure what its having trouble with doing, the code path suggests that 
an mkfs failed (we are using an xfs backing store already built and 
mounted).

OS is Centos 6.3 with a 3.2.[12]3 kernel.  Any clues on what I should 
look for, or try by hand?

Thanks!


-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: landman@scalableinformatics.com
web  : http://scalableinformatics.com
        http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615


             reply	other threads:[~2012-07-20 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-20 21:45 Joe Landman [this message]
2012-07-20 22:04 ` Running into an error with mkcephfs Gregory Farnum
2012-07-20 22:46   ` Tommi Virtanen

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=5009D18D.6050506@scalableinformatics.com \
    --to=landman@scalableinformatics.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 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.