Re: What is the new command to add osd to the crushmap to enable it to receive data

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

 



On 11/30/2012 01:22 AM, Isaac Otsiabah wrote:
> This command below which adds a new to the crushmap to enable it to receive data has changed and does not work anymore.
> 
> 
> ceph osd crush set {id} {name}
> 
> 
> Please, what is the new command to add a new osd to the crushmap to enable it to receive data?

You must specify a weight and a location. For instance,

  ceph osd crush set 0 osd.0 1.0 root=default

Also, you can check up on the docs for more infos.

>From the docs at [1]:

Add the OSD to the CRUSH map so that it can begin receiving data. You
may also decompile the CRUSH map, add the OSD to the device list, add
the host as a bucket (if it’s not already in the CRUSH map), add the
device as an item in the host, assign it a weight, recompile it and set
it. See Add/Move an OSD for details.

ceph osd crush set {id} {name} {weight} pool={pool-name}
[{bucket-type}={bucket-name} ...]


[1] http://ceph.com/docs/master/rados/operations/add-or-rm-osds/


  -Joao
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux