Re: modifying a crush rule

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

You can create simple rules http://workbench.dachary.org/ceph/ceph/blob/hammer/src/mon/MonCommands.h#L509, but I just usually dump, decompile, edit, compile, inject. It doesn't take me too long. I also appreciate the checks that the compile do on the CRUSH map.

- ----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1

On Fri, Aug 28, 2015 at 3:02 AM, Loic Dachary  wrote:
Hi,

 Is there a way to modify a ruleset in crush map, without decompiling and recompiling it with crush tool?

There are a few commands at http://workbench.dachary.org/ceph/ceph/blob/hammer/src/mon/MonCommands.h#L416 allowing you to modify the crushmap but it's very limited and probably not enough. I don't know of another way.

Cheers
- --
Loïc Dachary, Artisan Logiciel Libre


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


-----BEGIN PGP SIGNATURE-----
Version: Mailvelope v1.0.2
Comment: https://www.mailvelope.com

wsFcBAEBCAAQBQJV4I8UCRDmVDuy+mK58QAAj40P/Re0KNwCVlXML7SUoiE3
n2PptbVu4bvYgqSLkx+x2d1VyroQ0fLK6jgzADQu8vz6BJ89PrmnTZwR9pA2
qXfvhHG7YO64fEVxPpCJQkRE+I45DmdhG3ZuOifFv9TmjMI+BsA0PsnChu+1
Eqpgyux4G1RY9vPSu92+xgfnbQry649pknPxZMsTI8qaOPLuDD2F+UtAi4aB
mBtqHCQx25EiQ1gFdrF9d52EJz++rtvS5AvdPEo+Gl/yxqtGrURctlWX7aXs
I//wP1706wULfCvn6zESBPdvlWdy1NT1rn7NpDcSIHfMApGSEconwEcBFWSI
AbYRmyBCqJfeSGAmFScbvEb+0qfhhaFc9vAnRtZJv/bxhjSWGhglPr6RnwpJ
AXt0PYwvDA9LXMP+waTnL2TEkrDMlfoTtwrc7ajK4H/qh/dOCm02C4jG4AbS
/cAwyAzcCjL37yRp8Gda3FienjCyG3PutTmSvgI/8KcpR6ANDLjiy5/UL6Oe
Gu8bYFCX1YwEK0D+143oCqeX9D77t145C48CrWVEkrbQm90MwVHTfBo11e5b
hKwUr0NaJ8xDTXeDeSY8P07wGrVX2y45h03W3q36IqqWAiCtAEUH0MllRi/K
xW8JG6tI/+hayBrVbLZZuIetHupoAGfDEXOmnWwZJCBZP/uWKjzE3PWMqll+
UljI
=RCHT
-----END PGP SIGNATURE-----
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux