Page MenuHomePhabricator
Paste P2587

integration diskspace cleanup
ActivePublic

Authored by ArielGlenn on Feb 10 2016, 7:45 PM.
$ echo $list
integration-slave-precise-1001.integration.eqiad.wmflabs integration-slave-precise-1002.integration.eqiad.wmflabs integration-slave-precise-1003.integration.eqiad.wmflabs integration-slave-precise-1004.integration.eqiad.wmflabs integration-slave-precise-1014.integration.eqiad.wmflabs integration-slave-trusty-1014.integration.eqiad.wmflabs integration-slave-trusty-1015.integration.eqiad.wmflabs integration-slave-trusty-1017.integration.eqiad.wmflabs integration-slave-trusty-1018.integration.eqiad.wmflabs integration-slave-trusty-1020.integration.eqiad.wmflabs integration-slave-trusty-1023.integration.eqiad.wmflabs
(some stuff snipped like making sure they all have the directory, that the find command is right, etc)
$ for i in $list; do echo $i; ssh -l root $i '(cd /mnt/jenkins-workspace/workspace; find . -mindepth 1 -maxdepth 1 -mmin +180 -exec rm -rf {} \;)'; done
integration-slave-precise-1001.integration.eqiad.wmflabs
integration-slave-precise-1002.integration.eqiad.wmflabs
integration-slave-precise-1003.integration.eqiad.wmflabs
integration-slave-precise-1004.integration.eqiad.wmflabs
integration-slave-precise-1014.integration.eqiad.wmflabs
integration-slave-trusty-1014.integration.eqiad.wmflabs
integration-slave-trusty-1015.integration.eqiad.wmflabs
integration-slave-trusty-1017.integration.eqiad.wmflabs
integration-slave-trusty-1018.integration.eqiad.wmflabs
integration-slave-trusty-1020.integration.eqiad.wmflabs
integration-slave-trusty-1023.integration.eqiad.wmflabs
$ for i in $list; do echo $i; ssh -l root $i df -h /mnt; doneintegration-slave-precise-1001.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 22G 328M 20G 2% /mnt
integration-slave-precise-1002.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 22G 282M 20G 2% /mnt
integration-slave-precise-1003.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 22G 257M 20G 2% /mnt
integration-slave-precise-1004.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 22G 782M 20G 4% /mnt
integration-slave-precise-1014.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 61G 1.2G 57G 3% /mnt
integration-slave-trusty-1014.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 61G 17G 42G 28% /mnt
integration-slave-trusty-1015.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 61G 19G 39G 33% /mnt
integration-slave-trusty-1017.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 61G 17G 41G 30% /mnt
integration-slave-trusty-1018.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 61G 11G 48G 18% /mnt
integration-slave-trusty-1020.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 21G 882M 19G 5% /mnt
integration-slave-trusty-1023.integration.eqiad.wmflabs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vd-second--local--disk 140G 18G 115G 14% /mnt

Event Timeline

ArielGlenn changed the title of this paste from untitled to integration diskspace cleanup.Feb 10 2016, 7:45 PM
ArielGlenn updated the paste's language from autodetect to text.
ArielGlenn edited the content of this paste. (Show Details)