Re: Remap PGs with size=1 on specific OSD

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

 




On 3 Dec 2015 9:35 p.m., "Robert LeBlanc" <robert@xxxxxxxxxxxxx> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Reweighting the OSD to 0.0 or setting the osd out (but not terminating
> the process) should allow it to backfill the PGs to a new OSD. I would
> try the reweight first (and in a test environment).
> - ----------------
> Robert LeBlanc
> PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1
>
>
> On Thu, Dec 3, 2015 at 10:32 AM, Florent B  wrote:
> > Hi everyone,
> >
> > I have some pools with size=1.
> >
> > I want to perform some maintenance on some OSDs.
> >
> > I would like to know if there is a way to remap PGs which single copy is
> > on osd.X
> >
> > Is it possible ?
> >
> > I know about primary affinity, setting an OSD out... but this is not
> > specific to PGs with size=1, it will also rebalance PGs with size=2
> > which is not necessary in my case.
> >
> > Thank you a lot.
> >
> > Florent
>

AFAIK, you can remap PGs from osd, only by set PGs to another crush rule
Just create new, temporary crushmap and set pool, to it _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: Mailvelope v1.3.0
> Comment: https://www.mailvelope.com
>
> wsFcBAEBCAAQBQJWYIuACRDmVDuy+mK58QAA+KIP/36GFkHbbSPXBXvdsBFM
> oJagMFjDmw3umUzVRGBsoO3+owqiZeMm8Wi8SpvEG1Xok84ZbUVrwI1JqzRw
> canb/nWiIofadrmNzGGYzPPAFO/2fFrgOMD+pjeXIBxp/ClvECe/lA0FEWcp
> an3cxRo0aGJCR3c0lzuBYit5/AuXHoxhC5+Yhtif2RebCh9WNktYtObpVRh2
> sw6cGM2GNc/7HT1SYmesMLGvSdMyxrvNyQt6NDMP3q+fq3UR/cN93fdPqT/a
> 1OwME356zje9Ws5oqyg9ma1HFHA84W7Z6uKlaZHl8gQ5A4MTz5TpAPAyTwto
> 32tAxL0pj5wMQU3DqmVKkMhcXbso0A8XhNvvR8p31bywdxGuPwuVaqozyTCX
> WuEwHOM+y+Jn/l0CJz8ZIJI8uSYom8/vtcB6st/AeXSsoBH/N8midgGIg1Co
> HasKH4H+2njrKVCc12rIqqXY1OUbPyLJynFHbpu/vNKqKuqn8dVxUbPrRLoN
> q+PUx28TIDql3ijhJPll/iPtAITzTe4oBlsGcg0r6UBu/Afe5yrbRB5m/2ON
> AeCEPM+pzvOEQLa8E8QpTNuXNAOHxnI13tzMYwM5Vn5iBRaXPFTtSE+SCT6a
> yOahKIpcAvAsV3OOTNT1YKd21A8GCc3MOv4aOMg7JTWCIg44MLSeApWvf86R
> 3sv+
> =XSTX
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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