From: "Stanislaw Senotrusov" <senotrusov@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] pvresize, resize 8e Linux LVM partition
Date: Fri, 4 Aug 2006 14:16:20 +0900 [thread overview]
Message-ID: <ebf0fc470608032216o231ad8aeyb4279e2b670fad08@mail.gmail.com> (raw)
In-Reply-To: <200608031154.32467.peregrine@openbrainstem.net>
On 8/4/06, Lamont R. Peterson <peregrine@openbrainstem.net> wrote:
> Here is how I would do it:
>
> 1. Kickstart install of new box (sets up LVM, includes packages, etc.)
> 2. Run a script to install all of the needed configuration files for all the
> services the new server needs (could be run as part of the Kickstart).
> 3. Copy the data the services will be "serving" to the new machine.
>
> There are lots of ways to do step 3. Personally, I like to avoid as much of
> computational overhead as possible at this stage, so I like NFS mounting and
> "cp -a". Plain, simple, fast and comprehensive. YMMV.
Thank you for the letter, Lamont!
Procedure you described requires a so much time to complete.
Tomorrow I end up the following pipeline:
1. Create only one 4Gb plain root partition (no LVM) which holds a
entire system and my application. It's used in a development and test
environment. The actual stored data is about a 1.5 Gb. I am pretty
sure the base system it never fills entire 4 Gb in my case.
2. To build a production server I am bytecopy the root partition to a
new box (only a few minutes), boot from it, create LVM in a free space
and moves application from root to LVM.
Production database now have space to grow. Also I get rid of equal
UUID problem.
Additionally there is no need for kickstart process is VM environment
- I just need to setup OS one time, and then when I need another box I
just clone initial setup - it takes a few second. For testing and
development VM overhead is ok.
--
Stas Senotrusov
next prev parent reply other threads:[~2006-08-04 5:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 5:27 [linux-lvm] pvresize, resize 8e Linux LVM partition Stanislaw Senotrusov
2006-08-03 17:54 ` Lamont R. Peterson
2006-08-04 5:16 ` Stanislaw Senotrusov [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-03 8:18 Stanislaw Senotrusov
2006-08-03 11:27 Stanislaw Senotrusov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebf0fc470608032216o231ad8aeyb4279e2b670fad08@mail.gmail.com \
--to=senotrusov@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).