I'm looking at my options for implementing LVM on my laptop which has a @40GB HD. At the time I originally partitioned the drive 3 years ago I had for the first time not made the usual multiple partitions one would make such as found in this article ( http://pw1.netcom.com/~kmself/Linux/FAQs/partition.html ) where I normally would have done something like what is shown at the very bottom of the page ( I didn't do what I normally would have done because I was really comfortable with journaling file systems and wasn't thinking of LVM 3 yrs ago).

What I do have is the following:

$ fdisk -l
Disk /dev/hda: 40.0 GB, 40007761920 bytes
16 heads, 63 sectors/track, 77520 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       25372    12787456+  83  Linux
/dev/hda2           25373       77520    26282340    5  Extended
/dev/hda5           25373       27907     1277136   82  Linux swap / Solaris
/dev/hda6           27907       77520    25005141   83  Linux

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1             12386752   7827676   3919704  67% /
/dev/shm                355048         0    355048   0% /dev/shm
/dev/hda6             24612312  19173028   5439284  78% /home

I will have need to stretch into the nearly 4GB that is available on "/" which is why this issue has come up. I can symlink over on "/" to what I need to work on but I also want to investigate how I can get from where I am to LVM.

The biggest thing I notice so far from the docs is that I don't necessarily want to have /root inside the LVM structure with a boot loader ( http://www.tldp.org/HOWTO/LVM-HOWTO/benefitsoflvmsmall.html ). This may be a deal breaker from what I see so far...

If it can't be done relatively painlessly and with minimal risk to data I had the thought that I will mirror the entire 40GB later then just reformat and/or reinstall my distro with LVM and bring things back up to par that way.

So I am looking for any hints or tips that others may have experienced or considered.

TIA,
RBW


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to