Re: [Vserver] How do I unify my guests?

From: John Francis Lee <jfl_at_robinlea.com>
Date: Sat 24 Dec 2005 - 23:50:21 GMT
Message-Id: <1135468222.5667.402.camel@ws8.kic.muangchiangrai.net>

On Ê., 2005-12-24 at 17:25 +0100, Enrico Scholz wrote:
> jfl@robinlea.com (John Francis Lee) writes:
>
> > I have succeeded in building an FC4 vserver host with several guest
> > servers.
> >
> > I would like to "unify" them, share as many files among them as possible
> > via hardlinks.
> >
> > [root@gw ~]# /lib/util-vserver/vunify -nv dhcp-dns
> > Failed to initialize unification for this vserver
> >
> > What do I need to do here?
>
> 1. I would not use vunify because it requires a reference vserver with
> the same software; 'vhashify' does not have this limitation.
>
> 'vunify' is more efficiently in ideal case ('vhashify' over a single
> vserver will increase needed space). But this ideal case is difficultly
> to reach so that 'vhashify' is more simple to use.
>
>
> 2. for 'vhashify', just do
>
> | mkdir /etc/vservers/.defaults/apps/vunify/hash /vservers/.hash
> | ln -0s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root
> --> do this once
>
> | mkdir /etc/vservers/.../apps/vunify # vhashify reuses vunify configuration
> --> do this for every vserver
>
>
> 3. vserver ... hashify
>
>
>
> Enrico
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

Thank you. With six vservers, my /vservers partition went from ~150,000
to ~80,000 blocks used.

-- 
John Francis Lee
1/9-10 Thanon Trairat
Muang Chiang Rai 57000
Thailand
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 24 23:50:49 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 24 Dec 2005 - 23:50:55 GMT by hypermail 2.1.8