Resize Partition??
Hugh Crissman
hcrissman at secure-mind.net
Fri Jul 15 01:33:03 UTC 2005
* Dick Davies <rasputnik at hellooperator.net> [2005-07-14 22:31:00]:
> The only snag is that the kernel needs to know WTF a LVM volume is to mount
> root :) - generally that means having LVM modules in your initrd, or building
> it into the kernel.
>
> Linux LVM (plus reiserfs) is a *big* plus in my book, the flexibility of not
> having to know in advance how big /home will ever need to be is much appreciated :)
I agree. LVM is what needs to be done. Now the problem is the logistics.
I just installed a machine from scratch w/ LVM. Not to bad. But the
question is...
What steps do I need to take to setup LVM on an existing production system
w/ minimal downtime? Here is what I have gleaned from docs I have read.
Step:
1. Backup Data
2. Boot off LiveCD(knoppix) and partition(100mb for /boot and
the rest for LVM) hard drive.
3. Create and Initialize Volume Group
4. Create Logical Volumes(LV)
5. Apply filesystem to LVs (ReiserFS) seems to be a strong
contender.
6. Mount filesystem and restore backed up files.
7. Edit fstab to mount appropriately at boot.
8. Edit initrd to include LVM modules (not so sure on this one)
How does that sound. Am I leaving anything out?
Thank,
Hugh Crissman
More information about the ubuntu-users
mailing list