I have referred you to someone more conversant with the details of mkcephfs, but for dev purposes, most of us use the vstart.sh script in src/ (http://ceph.com/docs/master/dev/). -Sam On Fri, Aug 9, 2013 at 2:59 AM, Nulik Nol <nuliknol@xxxxxxxxx> wrote: > Hi, > I am configuring a single node for developing purposes, but ceph asks > me for keyring. Here is what I do: > > [root@localhost ~]# mkcephfs -c /usr/local/etc/ceph/ceph.conf > --prepare-monmap -d /tmp/foo > 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 7bd045a6-ca45-4f12-b9f3-e0c76718859a > epoch 0 > fsid 7bd045a6-ca45-4f12-b9f3-e0c76718859a > last_changed 2013-08-09 04:51:06.921996 > created 2013-08-09 04:51:06.921996 > 0: 127.0.0.1:6789/0 mon.a > /usr/local/bin/monmaptool: writing epoch 0 to /tmp/foo/monmap (1 monitors) > \nWARNING: mkcephfs is now deprecated in favour of ceph-deploy. Please > see: \n http://github.com/ceph/ceph-deploy > [root@localhost ~]# mkcephfs --init-local-daemons osd -d /tmp/foo > \nWARNING: mkcephfs is now deprecated in favour of ceph-deploy. Please > see: \n http://github.com/ceph/ceph-deploy > [root@localhost ~]# mkcephfs --init-local-daemons mds -d /tmp/foo > \nWARNING: mkcephfs is now deprecated in favour of ceph-deploy. Please > see: \n http://github.com/ceph/ceph-deploy > [root@localhost ~]# mkcephfs --prepare-mon -d /tmp/foo > 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 > \nWARNING: mkcephfs is now deprecated in favour of ceph-deploy. Please > see: \n http://github.com/ceph/ceph-deploy > [root@localhost ~]# > > How can I tell ceph to do not use keyring ? > > This is my config file: > > [global] > auth cluster required = none > auth service required = none > auth client required = none > debug filestore = 20 > [mon] > mon data = /data/mon > > [mon.a] > host = s1 > mon addr = 127.0.0.1:6789 > > [osd] > osd journal size = 1000 > filestore_xattr_use_omap = true > > [osd.0] > host = s1 > osd data = /data/osd/osd1 > osd mkfs type = bttr > osd journal = /data/journal/log > devs = /dev/loop0 > > [mds.a] > host = s1 > > > TIA > Nulik > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com