You are not logged in.

#1 2011-05-12 00:13:56

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Pacman cache share over LAN is a pain!

Hi fellows. As Arch Wiki - Pacman Tips say, i setup a nfs server in my home server so all the laptops can upgrade packages more quickly and without increasing load in the servers.

It all sounds great, but turns out there is one big problem. When a client is using the server to upgrade, the integrity check of packages takes a very long time. And believe me, downloading them is even faster than the that.

Is there something I can tweak to make this faster?

This is my fstab line in each client:

myserver:/var/cache/pacman/pkg /var/cache/pacman/pkg nfs4  defaults 0 0

And this is the line of /etc/exports in the server:

/var/cache/pacman/pkg *(rw,async,subtree_check,no_root_squash)

Thanks for your help in advance!

Offline

#2 2011-05-12 01:20:57

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Pacman cache share over LAN is a pain!

You could try: http://xyne.archlinux.ca/projects/pacserve/
It doesn't use NFS but should be faster.

Last edited by Stebalien (2011-05-12 01:22:25)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2011-05-12 02:51:55

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: Pacman cache share over LAN is a pain!

Stebalien wrote:

You could try: http://xyne.archlinux.ca/projects/pacserve/
It doesn't use NFS but should be faster.

I thought about using it but i didn't wanted to depend on a extra package. Before using it, i want to know if my problem is easily solvable.

Offline

Board footer

Powered by FluxBB