Project

General

Profile

Support #23433

Ceph cluster doesn't start - ERROR: error creating empty object store in /data/ceph/build/dev/osd0: (22) Invalid argument

Added by Neha Gupta about 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

After running make vstart. When I try to start a ceph cluster with
MON=3 OSD=1 MDS=1 MGR=1 RGW=1 ../src/vstart.sh -n -d

The error pops :
Error EINVAL: invalid command
MGR Restful is not working, perhaps the package is not installed?
add osd0 8964668d-5ba6-47cd-b88b-71615fca2455
/data/ceph/build/bin/ceph -c /data/ceph/build/ceph.conf -k /data/ceph/build/keyring osd create 8964668d-5ba6-47cd-b88b-71615fca2455
0
/data/ceph/build/bin/ceph -c /data/ceph/build/ceph.conf -k /data/ceph/build/keyring osd crush add osd.0 1.0 host=2e6e3be0984b root=default
add item id 0 name 'osd.0' weight 1 at location {host=2e6e3be0984b,root=default} to crush map
2018-03-21 15:17:25.549 7f9eb8b39dc0 -1 bluestore(/data/ceph/build/dev/osd0/block) _read_bdev_label failed to open /data/ceph/build/dev/osd0/block: (2) No such file or directory
2018-03-21 15:17:25.549 7f9eb8b39dc0 -1 bluestore(/data/ceph/build/dev/osd0/block) _read_bdev_label failed to open /data/ceph/build/dev/osd0/block: (2) No such file or directory
2018-03-21 15:17:25.549 7f9eb8b39dc0 -1 bluestore(/data/ceph/build/dev/osd0/block) _read_bdev_label failed to open /data/ceph/build/dev/osd0/block: (2) No such file or directory
2018-03-21 15:17:25.559 7f9eb8b39dc0 -1 bluestore(/data/ceph/build/dev/osd0) _read_fsid unparsable uuid
2018-03-21 15:17:25.559 7f9eb8b39dc0 -1 bdev(0x55e278f26780 /data/ceph/build/dev/osd0/block) open open got: (22) Invalid argument
2018-03-21 15:17:25.559 7f9eb8b39dc0 -1 bluestore(/data/ceph/build/dev/osd0) mkfs failed, (22) Invalid argument
2018-03-21 15:17:25.559 7f9eb8b39dc0 -1 OSD::mkfs: ObjectStore::mkfs failed with error (22) Invalid argument
2018-03-21 15:17:25.559 7f9eb8b39dc0 -1 ** ERROR: error creating empty object store in /data/ceph/build/dev/osd0: (22) Invalid argument

Here the screenshot.

Screen Shot 2018-03-21 at 9.19.04 PM.png View (621 KB) Neha Gupta, 03/21/2018 04:33 PM

History

#1 Updated by Greg Farnum almost 6 years ago

  • Project changed from Ceph to bluestore

#2 Updated by Radoslaw Zarzynski almost 6 years ago

  • Status changed from New to 4

What is the filesystem underneath /data/ceph/build/dev/osd0?

#3 Updated by Patrick Donnelly over 4 years ago

  • Status changed from 4 to New

Also available in: Atom PDF