
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E8EFF594123A76E2DDCFA99 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/08/2012 01:32 PM, Itamar Heim wrote:
Hi Karsten, =20 any chance you can fix your backup script with this cleanup?
The script on linode01.ovirt.org has been running a clean-up script since (it appears) March. But I I forgot that the backup original starts on gerrit.ovirt.org by making the tarballs locally before rsyncing, and yes, those directories were full of cruft. I added lines to the two backup scripts to first clean out anything older than 7 days: # Cleanup any backups older than a week find $BACKUPDIR -type f -mtime +7 |grep -v ^\.$| xargs rm -rf That is a slightly different command, but it's the one used on linode01 and I think mburns suggested it previously, as well. :) I tested the command, which cleaned up both directories (40+ GB returned). We should check tomorrow to be sure the version in the cronjob worked as expected. - Karsten
thanks, Itamar =20 =20 -------- Original Message -------- Subject: Re: [Engine-devel] No disk space in gerrit server? Date: Fri, 07 Sep 2012 12:38:33 -0400 From: Mike Burns <mburns@redhat.com> To: Itamar Heim <iheim@redhat.com> CC: Selvasundaram <sesubram@redhat.com>, infra <infra@ovirt.org> =20 On Fri, 2012-09-07 at 19:29 +0300, Itamar Heim wrote:
On 09/07/2012 06:03 PM, Selvasundaram wrote:
The following error seems to be no disk space in gerrit server.
Counting objects: 62, done. Delta compression using up to 4 threads. Compressing objects: 100% (23/23), done. Writing objects: 100% (38/38), 9.28 KiB, done. Total 38 (delta 9), reused 0 (delta 0) error: unpack failed: error No space left on device fatal: Unpack error, check server log To gerrit.ovirt.org:ovirt-engine ! [remote rejected] HEAD -> refs/for/master (n/a (unpacker error))=
error: failed to push some refs to 'gerrit.ovirt.org:ovirt-engine'
-- Regards Selvasundaram _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
fixed. moving to infra anyone can take a stab at the backup process to do some cycling of thi= s folder /home/gerrit2/backups/gerrit2-home? =20 I've used something like this before: =20 find /path/to/backup/directory -name 'backup_prefix*' -a -mtime +7 -exe= c rm {} \; =20 This will wipe all backups older than 7 days. =20 Mike =20 _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra =20 =20 =20 =20
--=20 Karsten 'quaid' Wade, Sr. Analyst - Community Growth http://TheOpenSourceWay.org .^\ http://community.redhat.com @quaid (identi.ca/twitter/IRC) \v' gpg: AD0E0C41 --------------enig7E8EFF594123A76E2DDCFA99 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFQTfne2ZIOBq0ODEERAhMKAJwLDomAqpsRHdS9kB11md297ZJ+eACfa1BE tgXLX3IDLS6lJ7VDVvQ3/8M= =TkXa -----END PGP SIGNATURE----- --------------enig7E8EFF594123A76E2DDCFA99--