On 16/08/12 16:44, hemant surale wrote:
Hello Tommi, Ceph community

I did mkdir the directory. Infact I have created a new partition by
the same name and formatted using ext3. I also executed the following
command for the partition/directory:

"mount -o remount,user_xattr /"

Still I am getting the same error:
2012-08-14 14:31:29.390410 7fe3b920e780  ** ERROR: error creating
empty object store in /ceph_data/osd.0: (2) No such file or directory
failed: '/sbin/mkcephfs -d /tmp/mkcephfs.n6zx4y4y33 --init-daemon osd.0'
Can you please help me out. I am using Ubuntu 12.04 with kernel version: 3.3.7

Do let me know if I am missing out on something. My college project is
stuck because of this issue. Please help me out.



Hi Hermant,

The osd.o directory needs to be pre-created before you do mkcephfs, so you need to:

$ sudo mkdir /ceph_data/osd.0
$ sudo mkcephfs -a -c /etc/ceph/ceph.conf

Cheers

Mark
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to