Re: error adding OSD to crushmap

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

 



Hi Martin,

you are correct, I have to call "ceph osd create" before calling "ceph crush add", and after looking into the puppet code I now realise I didn't (my bug).

thanks for your help.

On Tue, Jan 13, 2015 at 4:05 PM, Martin B Nielsen <martin@xxxxxxxxxxx> wrote:
Hi Luis,

I might remember wrong, but don't you need to actually create the osd first? (ceph osd create)

Then you can use assign it a position using cli crushrules.

Like Jason said, can you send the ceph osd tree output?

Cheers,
Martin

On Mon, Jan 12, 2015 at 1:45 PM, Luis Periquito <periquito@xxxxxxxxx> wrote:
Hi all,

I've been trying to add a few new OSDs, and as I manage everything with puppet, it was manually adding via the CLI.

At one point it adds the OSD to the crush map using:

# ceph osd crush add 6 0.0 root=default

but I get
Error ENOENT: osd.6 does not exist.  create it before updating the crush map

If I read correctly this command should be the correct one to create the OSD to the crush map...

is this a bug? I'm running the latest firefly 0.80.7.

thanks

PS: I just edited the crushmap, but it would make it a lot easier to do it by the CLI commands...

_______________________________________________
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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux