Content-Length: 9640 | pFad | http://lwn.net/Articles/319325/

rpm/yum package repos via NFS [LWN.net]
|
|
Subscribe / Log in / New account

rpm/yum package repos via NFS

rpm/yum package repos via NFS

Posted Feb 13, 2009 23:28 UTC (Fri) by dowdle (subscriber, #659)
In reply to: A look at package repository proxies by yokem_55
Parent article: A look at package repository proxies

The /etc/yum.conf specifies what directory to look for packages in and although I haven't done it myself, I'm sure NFS mounting an updates repo dir on said directory would make each client machine happy. They'd still have to contact the repo servers for the metadata but when they checked what needed to be downloaded, they'd find everything already sitting there.

Another way would be just to mount things over NFS somewhere and then use file:// references in the .repo defs rather than http://. In that case the NFS mount would be used for both packages and repo metadata.


to post comments

rpm/yum package repos via NFS

Posted Feb 14, 2009 0:59 UTC (Sat) by JoeBuck (subscriber, #2330) [Link]

I don't think that yum's locking works correctly with a shared NFS mount for the package archive. Checking yum.pid to see if the process with the lock is still alive won't work right.

On the other hand, if yum commands are run in such a way that no two machines are running yum at the same time, things should be fine.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://lwn.net/Articles/319325/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy