All of lore.kernel.org
 help / color / mirror / Atom feed
* Running into an error with mkcephfs
@ 2012-07-20 21:45 Joe Landman
  2012-07-20 22:04 ` Gregory Farnum
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Landman @ 2012-07-20 21:45 UTC (permalink / raw)
  To: ceph-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-20 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 21:45 Running into an error with mkcephfs Joe Landman
2012-07-20 22:04 ` Gregory Farnum
2012-07-20 22:46   ` Tommi Virtanen

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.