On Wed, Oct 19, 2005 at 04:57:00PM -0700, Steven Truong wrote: > Thanks Mr. Poetz. I am by no mean suspecting your methods in anyway > regarding building/cloning guest servers. > > Btw, thanks to smagnuson. I just finished cloning guest servers. > > Now, I am into figuring out how to unify all these things. Silly right? > Because we use hard copy so in a scence it does not waste too much space. > However, after cloning, my 2 guest servers use about twice the previous > space.
hmm, with the given commands, you did a plain copy (I guess) so no shared data, unification of the guest with vunify or even better vhashify is a second step you want to do before starting the guest ... alternatively with the CoW features of 2.1.x, you can simply change the cp -va to cp -la, and make sure that the guest has _all_ files marked as unified, the CoW link breaking will take care of the rest, but keep in mind, it's a development/experimental feature :) > Anyway, space is not so much an issue for me, I can live with the > current settings, however, it would be great to know. > > Best regards, > Steven. > > PS. It've seemed like when I tried to access the mailing list, I've not seen > the most up to date messages. It's been like around this time of day, the > mailing list got updated. I did not subcribe to receive directly from the > mailing list, so I did not see all the answers. Cheers. Paul's archives should be almost realtime ... best, Herbert > On 10/19/05, Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > > On Wed, Oct 19, 2005 at 10:23:25AM -0700, Steven Truong wrote: > > > Hi, Mr. Poetzl. Thanks for answering my question. > > > > > > Regarding the user-space command, ah, maybe I did not think > > > it through when I wrote that. But my concern is that once you > > > hard copy a guest server, then you still need to copy/create > > > /etc/vservers/newtest, where newtest is the name of the newly copied > > > server /vservers/newtest. Basically, by copying by hand, users have to > > > take of these steps??? > > > > > > Or should you suggest to use vserver-copy, then delete > > > /vservers/newtest, then hard-copy. Because my guess is that > > > vserver-copy would take care some of the works regarding configuration > > > files. > > > > no forget about vserver-copy, you create the config with > > the skeleton build method, the only missing thing then is > > the actual guest data, which you copy over with the cp -a > > > > > I have troubles carrying out some of the steps because I just don't > > > know which of which is legacy or new. I have tried to absord as much > > > infor as possible but I am sure I might forget some of the readings. > > > > it's quite simple actually ... > > > > LEGACY: util-vserver 0.3x, vserver 0.3x, 2.4 kernel + vs1.0/vs1.2 > > this uses the 'single file' config with IPROOT and friends > > > > New/Current: util-vserver 0.30.20x, 2.6 kernel +vs2.0 > > note: (alpha) util-vserver and newstyle work quite fine > > on 2.4 kernels too ... > > > > > Could you suggest or point to document(s) that describe(s) correct > > > ways of doing these things? > > > > most tool info is on http://linux-vserver.org/alpha+util-vserver > > > > > Thanks for sharing your knowledge. > > > > you're welcome! > > > > best, > > Herbert > > > > > Steven. > > > > > > On 10/19/05, Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > > > > > > On Tue, Oct 18, 2005 at 04:55:24PM -0700, Steven Truong wrote: > > > > > Hi, all. Thanks for your answers. Thank *smagnuson and* Mr. Poetzl . > > As > > > > Mr. > > > > > Poetzl suggested by those two commands, then we just build one guest > > > > server > > > > > and then (hard) copy by: 'cp -va' the whole guest server to the new > > one. > > > > Is > > > > > it possible that we bypass the user-space commands/utilities to > > clone a > > > > > guest this way? If so, then wonderful. > > > > > > > > what do you mean by bypass user-space commands? > > > > > > > > > Btw, is it the best possible and portable way? > > > > > > > > please elaborate! > > > > > > > > best, > > > > Herbert > > > > > > > > > Thanks. > > > > > > > > > > On 10/18/05, Steven Truong <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi, all. It is a good idea to build a guest server with basic all > > > > around > > > > > > apps and then clone this basic server to other guest of the same > > > > > > distribution, in my case FC4. Then for each clone, I would be able > > to > > > > add > > > > > > specific apps to it. > > > > > > > > > > > > For this matter, I could not find enough information to try. It > > seems > > > > like > > > > > > for Gentoo distribution > > > > http://www.gentoo.org/doc/en/vserver-howto.xmlshows that you can tar > > the > > > > whole guest server and then reuse this tarball. > > > > > > > > > > > > I also found vserver-copy and read the man page and tried this on > > my > > > > > > configured guest server. I got the following error trying to copy > > my > > > > lanweb > > > > > > FC4 guest server to a newtest guest server: > > > > > > > > > > > > vserver-copy -v lanweb/ newtest > > > > > > I: vserver-copy: called on abc-25 at Tue Oct 18 12:28:25 PDT 2005 > > > > > > newtest > > > > > > E: vserver-copy: Vserver file "/etc/vservers/lanweb/.conf" does > > not > > > > exist > > > > > > > > > > > > Coudl somebody tell me what .conf file and where/how to > > configure/find > > > > it? > > > > > > Is it the same file with /etc/vservers/lanweb/lanweb.conf file. > > > > Currently, I > > > > > > disabled/do not have this lanweb.conf file. > > > > > > In the man page, it also mention about /etc/vservers/vserver.conf > > and > > > > with > > > > > > my current settings, I don't have this file either. > > > > > > > > > > > > Could someone give me some information regarding all of these > > .conf > > > > files? > > > > > > > > > > > > > > > > > > Thank you in advance for all your helps. > > > > > > Steven. > > > > > > > > > > > > > > > _______________________________________________ > > > > > Vserver mailing list > > > > > [email protected] > > > > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > > > > > > > > > > _______________________________________________ > > > Vserver mailing list > > > [email protected] > > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
