Now ,the directory is:<br>-----------------------------------------<br>[root@localhost mock]# du -hs *<br>651M&nbsp;&nbsp;&nbsp; gtes11.2-build-10-9<br>18M&nbsp;&nbsp;&nbsp;&nbsp; gtes11.2-build-13-10<br>5.6M&nbsp;&nbsp;&nbsp; gtes11.2-build-15-15<br>549M&nbsp;&nbsp;&nbsp; gtes11.2-build-1-6<br>
5.5M&nbsp;&nbsp;&nbsp; gtes11.2-build-16-15<br>18M&nbsp;&nbsp;&nbsp;&nbsp; gtes11.2-build-18-18<br>18M&nbsp;&nbsp;&nbsp;&nbsp; gtes11.2-build-19-18<br>579M&nbsp;&nbsp;&nbsp; gtes11.2-build-21-20<br>560M&nbsp;&nbsp;&nbsp; gtes11.2-build-22-20<br>3.5G&nbsp;&nbsp;&nbsp; gtes11.2-build-23-26<br>548M&nbsp;&nbsp;&nbsp; gtes11.2-build-2-6<br>
567M&nbsp;&nbsp;&nbsp; gtes11.2-build-3-6<br>583M&nbsp;&nbsp;&nbsp; gtes11.2-build-5-9<br>562M&nbsp;&nbsp;&nbsp; gtes11.2-build-6-9<br>670M&nbsp;&nbsp;&nbsp; gtes11.2-build-9-9<br>6.2M&nbsp;&nbsp;&nbsp; gtes11.3-build-24-28<br>6.1M&nbsp;&nbsp;&nbsp; gtes11.3-build-25-28<br>637M&nbsp;&nbsp;&nbsp; gtes11.3-build-26-30<br>609M&nbsp;&nbsp;&nbsp; gtes11.3-build-28-30<br>
3.5G&nbsp;&nbsp;&nbsp; gtes11.3-build-30-30<br>3.0G&nbsp;&nbsp;&nbsp; gtes11.3-build-31-30<br>1.8G&nbsp;&nbsp;&nbsp; gtes11.3-build-32-32<br>1.8G&nbsp;&nbsp;&nbsp; gtes11.3-build-34-32<br>583M&nbsp;&nbsp;&nbsp; gtes11.3-build-35-33<br>562M&nbsp;&nbsp;&nbsp; gtes11.3-build-37-33<br>888M&nbsp;&nbsp;&nbsp; gtes11.3-build-39-34<br>
852M&nbsp;&nbsp;&nbsp; gtes11.3-build-40-34<br>408M&nbsp;&nbsp;&nbsp; moblin2-build-41-38<br>417M&nbsp;&nbsp;&nbsp; moblin2-build-42-39<br>539M&nbsp;&nbsp;&nbsp; moblin2-build-43-39<br>==========================<br><br><br>My builder is ok:<br>--------------------------------------------------------------------------------<br>
[root@localhost mock]# koji list-hosts<br>Hostname&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enb Rdy Load/Cap Arches&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Last Update<br>kojibuilder1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp; 0.0/2.0 i386,x86_64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-05-25 19:08:25<br>kojibuilder2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Y&nbsp;&nbsp; Y&nbsp;&nbsp;&nbsp; 0.0/2.0 ia64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-05-29 14:18:59<br>
kojibuilder3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Y&nbsp;&nbsp; Y&nbsp;&nbsp;&nbsp; 0.0/2.0 x86_64,i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-06-02 10:09:00<br>==============================================================<br><br>Why ? Because I use a special disk space,and I use Selinux, So I modified the /var/lib/mock to /dist/mock on kojihub and kojiweb and kojibuilder3 host. but the kojibuilder2&#39;s mock directory is /var/lib/mock ,a link to /dist/mock on it&#39;s host.<br>
<br>the kojihub and kojiweb and kojibuilder3&#39;s /mnt/koji directory is modified to /data/koji also . but the other kojibuilder*&#39;s directory is /mnt/koji by nfs mount.<br><br>Why ? It isn&#39;t change or removed after 1 days.<br>
<br>Thanks! <br><br><br><div class="gmail_quote">2009/6/1 Mike Bonnet <span dir="ltr">&lt;<a href="mailto:mikeb@redhat.com">mikeb@redhat.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">À wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,everybody!<br>
<br>
My koji server has setup ok. but the mock dir is more and more large. How to<br>
remove it ?<br>
I mean if koji has this feature,I doesn&#39;t to do it myself. Is anyone can<br>
help me ?<br>
<br>
my mock directory info :<br>
------------------------------------<br>
651M &nbsp; &nbsp;gtes11.2-build-10-9<br>
18M &nbsp; &nbsp; gtes11.2-build-13-10<br>
5.6M &nbsp; &nbsp;gtes11.2-build-15-15<br>
549M &nbsp; &nbsp;gtes11.2-build-1-6<br>
5.5M &nbsp; &nbsp;gtes11.2-build-16-15<br>
18M &nbsp; &nbsp; gtes11.2-build-18-18<br>
18M &nbsp; &nbsp; gtes11.2-build-19-18<br>
579M &nbsp; &nbsp;gtes11.2-build-21-20<br>
560M &nbsp; &nbsp;gtes11.2-build-22-20<br>
3.5G &nbsp; &nbsp;gtes11.2-build-23-26<br>
548M &nbsp; &nbsp;gtes11.2-build-2-6<br>
567M &nbsp; &nbsp;gtes11.2-build-3-6<br>
583M &nbsp; &nbsp;gtes11.2-build-5-9<br>
562M &nbsp; &nbsp;gtes11.2-build-6-9<br>
670M &nbsp; &nbsp;gtes11.2-build-9-9<br>
6.2M &nbsp; &nbsp;gtes11.3-build-24-28<br>
6.1M &nbsp; &nbsp;gtes11.3-build-25-28<br>
637M &nbsp; &nbsp;gtes11.3-build-26-30<br>
609M &nbsp; &nbsp;gtes11.3-build-28-30<br>
3.5G &nbsp; &nbsp;gtes11.3-build-30-30<br>
3.0G &nbsp; &nbsp;gtes11.3-build-31-30<br>
1.8G &nbsp; &nbsp;gtes11.3-build-32-32<br>
1.8G &nbsp; &nbsp;gtes11.3-build-34-32<br>
583M &nbsp; &nbsp;gtes11.3-build-35-33<br>
562M &nbsp; &nbsp;gtes11.3-build-37-33<br>
888M &nbsp; &nbsp;gtes11.3-build-39-34<br>
852M &nbsp; &nbsp;gtes11.3-build-40-34<br>
408M &nbsp; &nbsp;moblin2-build-41-38<br>
417M &nbsp; &nbsp;moblin2-build-42-39<br>
==================================<br>
</blockquote>
<br></div></div>
kojid manages the cleanup up the /var/lib/mock directory for builds it runs. &nbsp;Buildroots for successful builds will be cleaned up almost immediately. &nbsp;Buildroots for unsuccessful builds will be cleaned up after 4 hours, to give you a chance to debug the failure or copy relevant data out of the buildroot for later analysis.<br>
<font color="#888888">
<br>
--<br>
Fedora-buildsys-list mailing list<br>
<a href="mailto:Fedora-buildsys-list@redhat.com" target="_blank">Fedora-buildsys-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-buildsys-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-buildsys-list</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>À<br>msn &nbsp;<a href="mailto:lijian.gnu@gmail.com">lijian.gnu@gmail.com</a><br><br>