Re: [Vserver] hashify and filesystem

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 28 Dec 2005 - 05:49:21 GMT
Message-ID: <20051228054921.GD16013@MAIL.13thfloor.at>

On Wed, Dec 28, 2005 at 01:40:50AM -0300, Daniel Ortiz wrote:
>
> Hi

> I am writing from Chile (sorry my english), I am newbie in the vserver
> wordl and i begining to play whit this, I search the documentations
> and in the mail archives but nothing can answers my questions:

we have absolutely no problem with your english
we have a problem with thread hijacking!

i.e. if you post a new question/issue/whatever, please
start a new thread, and do not just hit the reply
button for any email from an ongoing thread ... thanks!

> i Have a litle question about the hashify and filesystem.
>
> First my sistem:
>
> Debian sarge
> Linux 2.6.12.4-vs2.0 (patched)
> vserver 0.30.209.
>
> In this moment I created 2 vserves (vserver1 ans vserver2), but i want
> to minimize the space in the HD, i begin to study the hashify feature,
> but i cant understand some things:
>
> 1.- "In each used filesystem which contains unifyable files, create a
> hash directory and link it into the database-directory"
>
> This means that the .hash directory must be created in the vdir
> directory of the vserver that have the files to unify, for example if
> I want to unify the fylesistem of my vserver1:
>
> mkdir -p /etc/vservers/.defaults/apps/vunify/hash

> mkdir -p /vservers/vserver1/vdir/.hash

> ln -s /vservers/vserver1/vdir/.hash
> /etc/vservers/.defaults/apps/vunify/hash/0

> mkdir -p /etc/vservers/vserver2/apps/vunify

> vserver vserver2 hashify

well, yes, unification (this is vunify _and_ vhashify)
works via 'hard links', so the unified files have to
reside on the same physical partition ...

> 2.- The host (my really machine) contains all the things that i want
> to unify (apache, ssh, mysql, and another stuffs) ¿can I unify that?

in theory yes, but it would require you to put the
guests on the same partition, which is probably not
the best idea (thinking of context tagging and such)

> 3.- and...the unify feature with hashify means that if I have some
> software installed i dont need to install again in some vserver?
> The software in question is fully accesible from the vserver and
> configurable accords the requirements of the vserer usser? The
> veserver configurations of the unify software dont are in trouble with
> the root or main configuration of the software?

ahem, no, the unification is just to save disk space
and it can be done at any time (i.e. could be considered
something like 'compress your files', except that it
doesn't compress anything :) but it has nothing to do
with the software or packages installed in your guests

> Thank you in advance...sorry my english and happy new year

best wishes,
Herbert

> Zaterio
> Nbu nodo barrio universitario
> Abako
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Dec 28 05:49:55 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 28 Dec 2005 - 05:50:01 GMT by hypermail 2.1.8