From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 12 May 2005 - 23:15:19 BST
On Thu, May 12, 2005 at 11:16:49AM -0600, smagnuson_at_forzani.com wrote:
> Herbert,
> You are correct. Sorry for misquoting you.
> Now I'm back to my usual state: Dazed and confused
>
> Here are my vservers
> ls -l /vservers/
> total 20
> drwxr-xr-x 17 root root 4096 Apr 8 11:36 vcrux01
> drwxr-xr-x 17 root root 4096 Apr 8 11:36 vcrux02
> drwxr-xr-x 17 root root 4096 Apr 22 08:02 vcrux03
>
> Which of the following is correct syntax for the above example? A,B,C,D, or E :)
> A) setattr --barrier /vservers
> B) setattr --barrier /vservers/
> C) setattr --barrier /vservers/vcrux02
> D) setattr --barrier /vservers/vcrux02/
> E) setattr --barrier /vservers/vcrux02/..
> A and B need be run only once
> Repeat C,D,E for each vserver
basically C and D are bad ;)
A and B are (at least on 'sane' filesystems) identical
E is the only one really required ...
> I have been using C. Is this an issue?
> So far things have been running fine.
well, then I'd say, in your case, no ;)
> sig
>
> -----Original Message-----
> From: Herbert Poetzl [mailto:herbert_at_13thfloor.at]
> Sent: Thursday, May 12, 2005 10:45 AM
> To: Magnuson, Sig
> Cc: vserver_at_list.linux-vserver.org
> Subject: Re: [Vserver] Official copy method?
>
>
> On Thu, May 12, 2005 at 08:28:36AM -0600, smagnuson_at_forzani.com wrote:
> > I was originally doing it that way but Herbert recommended this way.
> > I have not experienced any issues so far.
>
> what I recommended was to use:
>
> setattr --barrier /vservers/vcrux02/..
>
> instead of
>
> setattr --barrier /vservers
>
> (spot the dots ;)
>
> and it is because /path/to/.. is not necessarily the
> same as /path
>
> HTH,
> Herbert
>
> > sig
> >
> > -----Original Message-----
> > From: vserver-bounces_at_list.linux-vserver.org
> > [mailto:vserver-bounces_at_list.linux-vserver.org]On Behalf Of Björn
> > Steinbrink
> > Sent: Thursday, May 12, 2005 8:21 AM
> > To: vserver_at_list.linux-vserver.org
> > Subject: Re: [Vserver] Official copy method?
> >
> >
> > Hello,
> >
> > On 2005.05.12 07:48:27 -0600, smagnuson_at_forzani.com wrote:
> > > * Set up vserver barrier
> > >
> > > sudo showattr -d /vservers/vcrux02
> > > ---bui- /vservers/vcrux02
> > > sudo setattr --barrier /vservers/vcrux02
> > > sudo showattr -d /vservers/vcrux02
> > > ---Bui- /vservers/vcrux02
> >
> > the barrier flag is supposed to be set on /vservers (i.e. the directory
> > directly above the vserver's root directory). Not sure if setting the
> > flag on the vserver's root itself may cause problems with 2.6 kernels.
> >
> > HTH
> > Björn
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver