Re: [vserver] Path Weirdness With yum and tmpfs

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Wed 29 Sep 2010 - 19:24:04 BST
Message-ID: <42475.192.168.102.6.1285784644.squirrel@intranet>

Gordan Bobic wrote:
> I'm trying to put:
> /vservers/.pkg/*/yum/cache
> /vservers/.pkg/*/yum/lib
> on tmpfs because my tiny vserver has a CF for a disk, so minimizing
> writes is pretty important. But something odd is happening. When I run
> yum update, the files end up in the underlying cache directory on disk,
> rather than in the tmpfs mounted on that path.

If /vservers/.pkg is the mount point, make sure that is in
/etc/vservers/.defaults/namespace-cleanup-skip or the equivalent on the
per-guest level.

> I'm _guessing_ that might be due to the yum-hack.conf. Can anyone assess
> that guess and perhaps suggest a fix/workaround?
>
> TIA.
>
> Gordan

-- 
Daniel Hokka Zakrisson
Received on Wed Sep 29 19:24:22 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 29 Sep 2010 - 19:24:22 BST by hypermail 2.1.8