<div dir="ltr"><div><div><div><div><div>Okay, so I'm quite sick of these "full disk on linode01" issues.<br><br>So, I propose the following solution:<br></div><br></div>- A maintainer of jenkins publish-rpms-nightly disable the copy of several versions of the each RPM (preferably only the latest, do we really need more, its a nightly build afterall)<br>
</div>- A maintainer of jenkins publish-rpms-nightly TRY to make a link to the files instead of copying them.<br><br></div>- Until this is done, we can clear some disk (3 GB+) by doing something like the following:<br></div>
# cd /var/www/html/releases/nightly<br>
<div># for yfile in $(for xfile in $(for file in $(find . -type f -name "*.rpm") ; do echo $file | cut -d"." -f 1-2 ; done | sort -u) ; do ls ${xfile}* | sort -n | head -n-2 ; done) ; do echo rm $yfile ; done<br>
<br></div><div>This will effectively remove every RPM except the last two revisions of each package. (Well, obviously you need to remove that very last "echo" in the line, just putting it there not to ruins someones afternoon).<br>
<br></div><div>- What I propose other then this is just putting the backups somewhere else. <br></div><div>We should have sufficient space for this on another host. <br>If not, give ma thumbs up and I'll host the backups somewhere else for us until we've gotten it in order. <br>
<br></div><div>Any thoughts?<br><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 7:18 AM, Karsten 'quaid' Wade <span dir="ltr"><<a href="mailto:kwade@redhat.com" target="_blank">kwade@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05/01/2013 11:51 PM, Eyal Edri wrote:<br>
<br>
>><br>
</div><div class="im">>> What does /jenkins do? I find lots of RPMs in sub-directories that are<br>
>> apparently dailies for the last month. Can we sweep them out to get some<br>
>> breathing room?<br>
><br>
> this is a temp place for publishing nightlies, but i think it may not be deleted probperly.<br>
> i added a remove function to the move cron script 'move_jenkins_nightly' to delete all content after it's published.<br>
> (deleting current data released 13GB).<br>
<br>
</div>Looks like we have the same problem again - that directory structure is<br>
filled with many versions of similar files, and the disk is full again.<br>
I freed up enough space to keep Mailman running for now.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Karsten 'quaid' Wade<br>
</font></span><div class="HOEnZb"><div class="h5"><a href="http://TheOpenSourceWay.org" target="_blank">http://TheOpenSourceWay.org</a> .^\ <a href="http://community.redhat.com" target="_blank">http://community.redhat.com</a><br>
@quaid (<a href="http://identi.ca/twitter/IRC" target="_blank">identi.ca/twitter/IRC</a>) \v' gpg: AD0E0C41<br>
<br>
</div></div><br>_______________________________________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/Alexander Rydekull
</div>