Skip to content

Instantly share code, notes, and snippets.

Created October 1, 2012 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3814796 to your computer and use it in GitHub Desktop.
Save anonymous/3814796 to your computer and use it in GitHub Desktop.
cephcreate
sudo mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring
temp dir is /tmp/mkcephfs.mrS8qFgOPA
preparing monmap in /tmp/mkcephfs.mrS8qFgOPA/monmap
/usr/bin/monmaptool --create --clobber --add 0 10.1.100.30:6789 --add 1 10.1.100.40:6789 --print /tmp/mkcephfs.mrS8qFgOPA/monmap
/usr/bin/monmaptool: monmap file /tmp/mkcephfs.mrS8qFgOPA/monmap
/usr/bin/monmaptool: generated fsid e8e00657-f0bd-44ad-a237-6a763fbb4470
epoch 0
fsid e8e00657-f0bd-44ad-a237-6a763fbb4470
last_changed 2012-10-01 15:14:47.215867
created 2012-10-01 15:14:47.215867
0: 10.1.100.30:6789/0 mon.0
1: 10.1.100.40:6789/0 mon.1
/usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.mrS8qFgOPA/monmap (2 monitors)
=== osd.0 ===
2012-10-01 15:14:47.283891 7f652b451780 -1 journal check: ondisk fsid a3c14466-77a4-4277-bd5b-30365cfe3b02 doesn't match expected ccb7acff-f0e4-44bc-86d4-282e7d682394, invalid (someone else's?) journal
2012-10-01 15:14:47.290284 7f652b451780 -1 filestore(/data/osd.0) could not find 23c2fcde/osd_superblock/0//-1 in index: (2) No such file or directory
2012-10-01 15:14:47.305944 7f652b451780 -1 created object store /data/osd.0 journal /var/lib/ceph/osd/ceph-0/journal for osd.0 fsid e8e00657-f0bd-44ad-a237-6a763fbb4470
2012-10-01 15:14:47.306003 7f652b451780 -1 auth: error reading file: /data/osd.0/keyring: can't open /data/osd.0/keyring: (2) No such file or directory
2012-10-01 15:14:47.306083 7f652b451780 -1 created new key in keyring /data/osd.0/keyring
=== osd.1 ===
pushing conf and monmap to ceph-01:/tmp/mkfs.ceph.6874
2012-10-01 15:14:50.572866 7f686ee63780 -1 OSD::mkfs: FileStore::mkfs failed with error -2
2012-10-01 15:14:50.572891 7f686ee63780 -1 ** ERROR: error creating empty object store in /data/osd.1: (2) No such file or directory
failed: 'ssh root@ceph-01 /sbin/mkcephfs -d /tmp/mkfs.ceph.6874 --init-daemon osd.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment