Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Grzegorz Nosek
2006/6/3, Bruno <[EMAIL PROTECTED]>: This mail of the thread I mentionned has a patch: http://list.linux-vserver.org/archive/vserver/msg13024.html Note that it may or may not work... Never tried it myself. I've been looking at this patch some time ago. Most of the diff is migration from semap

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Bruno
On Saturday 03 June 2006 15:49, Grzegorz Nosek wrote: > 2006/6/3, Bruno <[EMAIL PROTECTED]>: > > Tokkee already adjusted unionfs so that it's VServer compatible. > > That was around mid of April. > > > > See the thread following this email: > > http://list.linux-vserver.org/archive/vserver/msg13021

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Grzegorz Nosek
2006/6/3, Bruno <[EMAIL PROTECTED]>: Tokkee already adjusted unionfs so that it's VServer compatible. That was around mid of April. See the thread following this email: http://list.linux-vserver.org/archive/vserver/msg13021.html Are you sure? From what I've seen vanilla unionfs does not work

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Bruno
On Saturday 03 June 2006 14:15, EKC wrote: > Recursively creating hard-links to files in the parent vserver's > directory tree and running 'setattr --iunlink ' does seem > to be the most straightforward solution to rapidly cloning a vserver. > This approach has the added benefit (I think) of suppor

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread EKC
Recursively creating hard-links to files in the parent vserver's directory tree and running 'setattr --iunlink ' does seem to be the most straightforward solution to rapidly cloning a vserver. This approach has the added benefit (I think) of supporting making copies of vservers that are themselves

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Grzegorz Nosek
2006/6/3, Bruno <[EMAIL PROTECTED]>: I don't know if vhashify and friends of util-vserver keep some state of their operations (like a DB of hashed files) AFAIK they just store files in a directory tree with their sha1 hashes as file names What may be useful is e.g. an adjusted 'cp' tool that

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Bruno
On Saturday 03 June 2006 12:09, Grzegorz Nosek wrote: > 2006/6/3, EKC <[EMAIL PROTECTED]>: > > Hello, > > > > Given a running vserver , I would like to create > > multiple instances of the running parent vserver as > > quickly as possible. > > > > Currently, I am doing this by: > > ==Creating the

Re: [Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-03 Thread Grzegorz Nosek
2006/6/3, EKC <[EMAIL PROTECTED]>: Hello, Given a running vserver , I would like to create multiple instances of the running parent vserver as quickly as possible. Currently, I am doing this by: ==Creating the parent vserver:== 1) Building the from scratch using: 'vserver parent_vserver deboo

[Vserver] Transparently Creating Multiple Instances of Vservers Using COW?

2006-06-02 Thread EKC
Hello, Given a running vserver , I would like to create multiple instances of the running parent vserver as quickly as possible. Currently, I am doing this by: ==Creating the parent vserver:== 1) Building the from scratch using: 'vserver parent_vserver debootstrap...' 2) Running 'vserver paren