{"id":23853558,"url":"https://github.com/laimis9133/plankton-swarm","last_synced_at":"2026-02-17T21:34:44.549Z","repository":{"id":268272800,"uuid":"903824284","full_name":"laimis9133/plankton-swarm","owner":"laimis9133","description":"A simple manual Ceph pg balancer","archived":false,"fork":false,"pushed_at":"2025-11-03T21:49:05.000Z","size":71,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-03T23:23:59.733Z","etag":null,"topics":["balancer","bash","ceph","ceph-balancer","osd","pg","shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laimis9133.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-15T16:46:46.000Z","updated_at":"2025-11-03T21:49:09.000Z","dependencies_parsed_at":"2025-10-20T08:26:45.277Z","dependency_job_id":"af3652a4-524c-4102-a206-8bfffdb0de01","html_url":"https://github.com/laimis9133/plankton-swarm","commit_stats":null,"previous_names":["laimis9133/plankton-swarm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laimis9133/plankton-swarm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laimis9133%2Fplankton-swarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laimis9133%2Fplankton-swarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laimis9133%2Fplankton-swarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laimis9133%2Fplankton-swarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laimis9133","download_url":"https://codeload.github.com/laimis9133/plankton-swarm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laimis9133%2Fplankton-swarm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29558609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T20:52:40.164Z","status":"ssl_error","status_checked_at":"2026-02-17T20:48:10.325Z","response_time":100,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["balancer","bash","ceph","ceph-balancer","osd","pg","shell","shell-script"],"created_at":"2025-01-02T23:17:58.904Z","updated_at":"2026-02-17T21:34:39.533Z","avatar_url":"https://github.com/laimis9133.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Plankton Swarm\nA simple alternative manual Ceph pg balancer.  \nIt will move a number of pgs from the most full OSDs to the least full OSDs taking into acount node failure domain.  \n\nIt is very simple and straightforward and I havent seen one written in bash so here you go. Hope it helps.  \n\nUsage examples:\n```   \n  ./plankton-swarm.sh source-osds osd.1,osd.2 target-osds osd.3,osd.4 pgs 5\n  - Moves 5 PGs from OSDs 1,2 to OSDs 3,4\n\n  ./plankton-swarm.sh source-osds 85-90 5 target-osds lt60 pgs 4\n  - Moves 4 PGs from 5 top OSDs between 85% and 90% to OSDs below 60% utilization\n\n  ./plankton-swarm.sh source-osds 1,2\n  - Move 3 pgs (default) from osd.1 and osd.2 to OSDs below 65% (default) utilization\n\n  ./plankton-swarm.sh source-osds gt88 10 target-osds lt60 5 pgs 10 keep-upmaps\n  - Moves 10 PGs from top 10 OSDs above 88% to 5 least utilized OSDs below 60%\n  - Skips pgs that already have upmap\n\n  ./plankton-swarm.sh help\n  - Displays help and various other usage examples\n```\n\nThis tool is harmless to run as it only generates an executable **swarm-file**.\nYou can run it directly:\n```\n./plankton-swarm.sh \u003cyour-options\u003e \u0026\u0026 bash swarm-file\n```\n\n  \n![A Swarm of Planktons](https://images.squarespace-cdn.com/content/v1/5bb9f390da50d330b261fdc8/1581283147743-OFR7YJ9ZF69KWW2ZYS2G/GPTempDownload+2.JPG)\n\nMassive shoutouts to the famous [jj-balancer](https://github.com/TheJJ/ceph-balancer) and CERN's [upmap-remapped](https://github.com/cernceph/ceph-scripts/blob/master/tools/upmap/upmap-remapped.py) for the inspiration!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaimis9133%2Fplankton-swarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaimis9133%2Fplankton-swarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaimis9133%2Fplankton-swarm/lists"}