pg-upmap-items

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

 



Hi,

I've been using pg-upmap items both in the ceph balancer and by hand
running osdmaptool for a while now (on Ceph 12.2.13).

But I've noticed a side effect of up-map-items which can sometimes lead to
some unnecessary data movement.

My understanding is that the ceph osdmap keeps track of upmap-items that I
undo (in my case using the CERN scrip upmap-remapped.py).

These can be seen in the osdmap (or osd dump) json output. It looks, for
example, like this:
  "pg_upmap_items": [
    {
      "pgid": "9.10",
      "mappings": [
        {
          "from": 1761,
          "to": 6
        }
      ]
    },

When upmapping pg 9.10 I first need to clear this pg_upmap_item by
executing an rm-upmap-item command:
    ceph rm-pg-upmap-items 9.10

All this does is unmap the from/to osds (here from osd.6 to osd.1761) which
is sometimes not useful.

I would prefer to rather "forget" this upmap. I.e remove it permanently
from pg_upmap_items. Is there any way to do this?

Cheers,
Toms
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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