Subject: Re: [vserver] incompatible new vserver guest layout
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 9 Sep 2008 11:46:39 +0200

On Mon, Sep 08, 2008 at 01:42:40PM +0200, Eugen Leitl wrote:
> On Mon, Sep 08, 2008 at 01:05:56PM +0200, Peter Mann wrote:
> 
> > i had similar problem with rsync copy to other machines ... 
> > now i'm using rsync with --numeric-ids 
> > (don???t map uid/gid values by user/group name)
> 
> That was the problem. I used rsync --numeric-ids -a -e ssh v74
> root@li:/var/lib/vservers in the past, tar only locally (as a
> backup). Just copied over by rsync, no problems. I presume the tar
> --numeric-ids and --preserve-permissions would have worked as well.

yep, I think so ...

> > maybe you must use tar with --numeric-owner
> > (always use numbers for user/group names)
> > 
> > this depends on host system - if you have identical uid for postfix
> > on both host and guest, there is no problem, but postfix uid is
> > generated by installing postfix package 
> 
> Thanks, it seems my migration can move smoothly now.
> Btw, those of you who use vhashify
> 
> lithium:/var/lib/vservers# vserver v74 hashify
> Failed to initialize unification for vserver
> 
> Is there a trick to it? 

http://linux-vserver.org/Frequently_Asked_Questions#How_do_I_manage_a_multi-guest_setup_with_vhashify.3F

make sure you did the mkdir/ln part properly

> Needs more than one vserver in the target partition?

no really, but with a single guest per partition,
there is no benefit in unification, only potential
drawbacks

HTH,
Herbert

> -- 
> Eugen* Leitl <a href="leitlhttp://leitl.org">leitl</a> http://leitl.org
> ______________________________________________________________
> ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
> 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE