Regarding ceph osd setmaxosd

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

 



On Fri, 18 Jul 2014, Anand Bhat wrote:
> I have question on intention of Ceph setmaxosd command. From source code, it
> appears as if this is present as a way to limit the number of OSDs in the
> Ceph cluster.?

Yeah.  It's basically sizing the array of OSDs in the OSDMap.  It's a bit 
obsolete since the preferred way of creating new OSDs is via the 'ceph osd 
create <uuid>' command, which will expand max_osds as necessary, so in 
general you never need to interact with this value.

> Can this be used to shrink the number of OSDs in the cluster without 
> gracefully shutting down OSDs and letting recovery/remapping to happen?

Hmm, it appears yes, but I think this is a bug.  I don't think we 
should let you shrink the value before you do remove (ceph osd rm NNN) the 
OSDs that would be affected.  Opened ticket

	http://tracker.ceph.com/issues/8865

Thanks!
sage


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


  Powered by Linux