Merely a question for @RobH / DC-Ops I believe.
We are envisioning migrating Jenkins to scandium.eqiad.wmnet. The server has a couple 150GB SSD with two raid 1:
| Mount point | Size | Used | Avail |
|---|---|---|---|
| / | 9.1G | 2.5G | 6.2G |
| /srv/ssd | 140G | 12G | 128G |
T136711 is asking to split /srv/ssd and form a second /srv/ssd2 raid. Each would eventually have at least 20 GBytes or 40GBytes total.
With Zuul and Jenkins / will probably need to be resized, most probably to 20 Gbytes.
That will leave 90 GBytes for Jenkins build history and artifacts. With a 15/30 days retention, that is currently 160Gbytes on gallium /var/lib/jenkins/builds which would not fit.
A potential solution would be to add a RAID 1 array of 500 Gbytes on hard drives to host the Jenkins history and potentially over growing data (such as log).
Question
Does scandium has a raid array / empty slot in which to add 500Gbytes disks? Do we have some spare disks floating around.
Alternative
Another solution would be to further limit the amount of disk used by Jenkins. Have a new 80 GBytes partition dedicated to Jenkins build (and mounted as /var/lib/jenkins/builds) then change the jobs data retention so they consume less disk.
Jenkins jobs top sizes on gallium /var/lib/jenkins/builds
| Size (MB) | Job |
|---|---|
| 18484 | apps-android-wikipedia-test |
| 16621 | mediawiki-extensions-hhvm |
| 12060 | mediawiki-phpunit-hhvm-trusty |
| 10129 | apps-android-wikipedia-periodic-test |
| 9208 | apps-android-wikipedia-publish |
| 4971 | mwext-testextension-hhvm |
| 4968 | mwext-testextension-php55 |
| 4890 | mediawiki-phpunit-hhvm-composer |
| 4726 | mediawiki-extensions-php55 |
| 3844 | mediawiki-parsertests-hhvm-trusty |
| 3634 | mwext-testextension-hhvm-composer |
| 3597 | mediawiki-phpunit-php55-trusty |
| 3597 | mediawiki-extensions-qunit |
| 3540 | mwext-testextension-php55-composer |
| 2608 | mediawiki-extensions-qunit-jessie |
| 1950 | analytics-refinery-maven |
| 1920 | beta-update-databases-eqiad |
| 1778 | mwext-Wikibase-repo-tests-sqlite-hhvm |
| 1562 | mwext-qunit |
| 1495 | operations-debs-archiva-debian-glue |
| 1157 | mediawiki-parsertests-php55-trusty |
| 1015 | mwext-qunit-composer |
| 1013 | integration-zuul-layoutvalidation-gate |
| 1006 | mediawiki-core-code-coverage |