RBW wrote:
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
...
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...
...
So I am looking for any hints or tips that others may have experienced
or considered.
TIA,
RBW
I have a 100 GB drive in my laptop. It's dual-boot with XP Pro getting
about 30 GB, and Fedora Core 4 getting the rest. I realize this is
roughly 1.5 times the capacity you have but it's still representative of
what kind of proportions I'd probably use with only 40 GB for Linux.
Leaving out any real philosophical or emotional reasons motives, her is
how my Linux partitions are set up (from df):
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 9694844 8114124 1080300 89% /
/dev/hda2 69995 51842 14539 79% /boot
/dev/mapper/VolGroup00-LV_home
20314748 2374068 16892104 13% /home
/dev/mapper/VolGroup00-LV_tmp
4062912 41056 3812144 2% /tmp
/dev/mapper/VolGroup00-LV_usrlocal
24916624 257476 23373004 2% /usr/local
/dev/mapper/VolGroup00-LV_var
4062912 539840 3313360 15% /var
The swap partition is ~1 GB (for 512 MB RAM), which is probably too big
for what I use the laptop.
Also this is a full install of FC4. (i.e. the "Install everything"
option). Given the above usage after a year's use, it looks like
/usr/local might someday give up some room for /home, although I'll
probably wish I'd put / into the LV also.
I'll see how fat FC5 is when it hits gold next month.
--
Best Regards,
~DJA.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list