On Wed, Apr 30, 2014 at 6:52 AM, 飞 <[email protected]> wrote:
> hello, I want to change a pg's primary osd Manually, how to do it ? thank
> you

If you want to move the load off of that osd, you can use the primary
affinity knob:

ceph osd primary-affinity osd.<id> 0

It shifts "primaryness" away from overloaded osds and as such may
affect all pgs for which osd<id> is primary.  Trying to change the
primary of a single pg is probably not a good idea.  What is your use
case?

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to