:: Re: [devuan-mirrors] ..mirror size,…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: onefang
Fecha:  
A: devuan-mirrors
Asunto: Re: [devuan-mirrors] ..mirror size, was: Removing oldoldstable from package mirror
On 2022-09-12 15:02:31, Arnt Karlsen wrote:
> On Mon, 12 Sep 2022 14:34:19 +0200, Arnt wrote in message
> <20220912143419.1c489605@dvn>:
>
> > On Mon, 12 Sep 2022 21:59:39 +1000, onefang wrote in message
> > <20220912115939.3dbcevx737idptru@???>:
> >
> > > On 2022-09-12 19:40:48, Matthias Kruk wrote:  
> > > >    Hello there,
> > > >    I was wondering, is there a simple way to remove oldoldstable
> > > > from a package mirror and exclude it from the synchronization
> > > > process? I suppose it should be possible by adding an exclude
> > > > pattern to the rsync command line, but maybe someone who is more
> > > > familiar with the repository structure can tell me what exactly
> > > > should and should not be excluded? The reason I'm asking is
> > > > because during the past months I have been repeatedly running out
> > > > of storage on my mirror, making the mirror unusable because the
> > > > release files are outdated. I increased the storage size a couple
> > > > of times, but unfortunately this is not an option anymore. Thanks
> > > > and best regards Matthias    

> > >
> > > Have you tried rsyncs --delete option? That will delete from your
> > > mirror anything that got deleted on pkgmaster.
> > >
> > > Every now and then someone asks me about the mirror size getting
> > > bigger all the time. That answer usually fixes things for them.
> >
> > ..for GPL compliance, keep the sources for another 3 years.
> > You are "distributing" the binaries "under the GPL" until you
> > remove the binary packages. Set an e.g. 5 minute deadline
> > for binary removal "if anyone wants them", then set (and post)
> > a source removal date 3 years after that 5 minute deadline.


The --delete tends to remove old binaries that have been replaced by new
binaries, and same with their sources. Also removes old no longer needed
metadata files.

If pkgmaster isn't hosting the files, the mirrors don't have to either.

> > ..debian moves their old stuff to http://archive.debian.org/


Devuan also moves old stuff to https://archive.devuan.org/

> ..mirror sizes: 'du -sch /srv/devuan/devuan /srv/devuan/merged' ?
> My estimate is 2.2TB for /srv/devuan/merged.


Think you mean 2.2 GB, which is what I measured. That's just the
metadata though, the actual packages are 61 GB right now.

> Debian's total is 4.44TB plus their http://archive.debian.org/.


--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.