[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] badiane: Problem

On Nov 01, 2001  10:57 -0500, gdurand tekmd com wrote:
> I have created five volume groups (vg0 - vg4) to hold respectively /var,
> /home, /home/music, /usr, /usr/local.

Just as an FYI - this is a very bad setup.  You should have 1 (or maybe 2)
VGs set up for these filesystems.  For a normal system, having a single
VG is far more flexible.  You can then "share" all of the unused PEs and
add them to whatever LV needs them.  If you have separate VGs, then you
are not much better off than having DOS partitions.

> Oh!  I had mounted the lv's on temp mount points /var2/, /home2/ etc and
> copied the original's data over and umounted so that upon remount they would
> again be avail able.

I would also suggest that you create these LVs as small as possible.  On
Debian in particular, you can have /usr almost 100% full, and only extend
it as necessary to install new packages.  Same with /home and /home/music -
give yourself a "reasonable" amount of free space in each, and leave the
rest unallocated, so you can add it where it is needed later.

Cheers, Andreas
Andreas Dilger

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]