mkcephfs problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get Ceph running on an ARM system, currently one quad
core node, running Ubuntu 12.04.

It compiles fine, currently without tcmalloc and google perf tools, but
I am running into a problem with mkcephfs.  'mkcephfs -a -c ceph.conf'
didn't work so I did it piece by piece until I got this:

root@ubuntu:/home/tim# mkcephfs -d /tmp/foo --prepare-mon
Building generic osdmap from /tmp/foo/conf
/usr/local/bin/osdmaptool: osdmap file '/tmp/foo/osdmap'
/usr/local/bin/osdmaptool: writing epoch 1 to /tmp/foo/osdmap
Generating admin key at /tmp/foo/keyring.admin
creating /tmp/foo/keyring.admin
Building initial monitor keyring
cat: /tmp/foo/key.*: No such file or directory

There are no key.* files in /tmp/foo

# ls /tmp/foo
conf  keyring.admin  keyring.mon  monmap  osdmap


If you are running everything on one node, is it OK to use localhost and
127.0.0.1?


Here is my config file:

[osd]
        osd journal size = 1000
        filestore xattr use omap = true

[mon.a]
        host = localhost
        mon addr = 127.0.0.1:6789

[osd.0]
        host = localhost


[mds.a]
        host = localhost


Here are are the other configuration commands:

root@ubuntu:/home/tim# mkcephfs -c ceph.conf -d /tmp/foo --prepare-monmap
preparing monmap in /tmp/foo/monmap
/usr/local/bin/monmaptool --create --clobber --add a 127.0.0.1:6789
--print /tmp/foo/monmap
/usr/local/bin/monmaptool: monmap file /tmp/foo/monmap
/usr/local/bin/monmaptool: generated fsid 8e4f846b-1829-46e4-9902-5d8316c3fa4f
epoch 0
fsid 8e4f846b-1829-46e4-9902-5d8316c3fa4f
last_changed 2012-07-19 22:40:38.651045
created 2012-07-19 22:40:38.651045
0: 127.0.0.1:6789/0 mon.a
/usr/local/bin/monmaptool: writing epoch 0 to /tmp/foo/monmap (1 monitors)
root@ubuntu:/home/tim# mkcephfs -d /tmp/foo --init-local-daemons mds
root@ubuntu:/home/tim# mkcephfs -d /tmp/foo --init-local-daemons osd
root@ubuntu:/home/tim# mkcephfs -d /tmp/foo --prepare-mon
Building generic osdmap from /tmp/foo/conf
/usr/local/bin/osdmaptool: osdmap file '/tmp/foo/osdmap'
/usr/local/bin/osdmaptool: writing epoch 1 to /tmp/foo/osdmap
Generating admin key at /tmp/foo/keyring.admin
creating /tmp/foo/keyring.admin
Building initial monitor keyring
cat: /tmp/foo/key.*: No such file or directory
root@ubuntu:/home/tim#


Any ideas?  Which command was supposed to generate the key.* files?

Tim
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux