Subject: Re: [vserver] Very serious hashify mysql/innodb conflict causes major data loss
From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
Date: Tue, 09 Jun 2009 12:53:17 -0400

On Tue, 2009-06-09 at 08:34 -0500, Corey Wright wrote:
<snip>
> per-guest customized vhashify exclusions (on debian)
> http://linux-vserver.org/alpha+util-vserver
> (that's the link i have in my notes from a few years ago and there's
> probably something more relevant if you search the wiki)
> 
> # base guest-specific exclusions on the default list
> cp
> -av /usr/lib/util-vserver/defaults/vunify-exclude /etc/vservers/<vserver>/apps/vunify/exclude
> # add all files under /usr/src
> echo '/usr/src/*' >>/etc/vservers/<vserver>/apps/vunify/exclude
> # view test run of vhashify to see what excluded/included
> vserver <vserver> hashify -nv | less -S
> # hashify
> vserver <vserver> hashify
> 
> yeah, what i learned the hard way the first time i customized vhashify
> exclusions (like you learned the hard way about vhashify in general) is
> that the per-guest list *supplements* the default list, it doesn't
> *compliment* it.  otherwise you are going to have fun unhashifying your
> guest if you just put "/opt" in /etc/vservers/<vserver>/apps/vunify/exclude
> (though look at the wiki and mailing list for how to do it as you won't be
> the first ;-).
> 
> corey
Thanks! That saved me some serious grief - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society