From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] my project
Date: Thu, 4 Mar 2010 21:44:42 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.1003042137100.30097@bmsred.bmsi.com> (raw)
In-Reply-To: <1267750775.2916.23.camel@portuga-desktop>
On Thu, 4 Mar 2010, Afonso Henriques Silva Leite wrote:
> So guys, what do you think? Can I solve my problem with lvm? I mean, I
> remember reading a warning to do not use lvm with root partitions. It's
> impossible to do it?
LVM works fine for the root partition. There are a few operations
that require booting from a LiveCD (like shrinking the root LV), but
I've never had to do them.
LVM does not currently work for the *boot* partition (although the
grub guys are working on that).
It will not be easy to convert your disk to LVM, however. You should
get another 40G disk (I have a stack of them, having recycled all
my 10s and 20s). Install the new disk as primary, and the old as secondary.
Install an LVM friendly distro like Fedora on the new disk with "Custom Disk
Layout". Allocate a 300M /boot partition, and the remainder as an LVM PV.
Allocate a 10G LV for system, a swap LV, and a large data LV mounted on the
same directory as your current system. After installing and updating, copy
your data directory over with rsync.
Once your root is in LVM, it is very easy to enlarge while mounted
and the system is cranking!
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
prev parent reply other threads:[~2010-03-05 2:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 0:59 [linux-lvm] my project Afonso Henriques Silva Leite
2010-03-05 2:44 ` Stuart D. Gathman [this message]
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=Pine.LNX.4.64.1003042137100.30097@bmsred.bmsi.com \
--to=stuart@bmsi.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).