Am Dienstag, 26. April 2005 15:34 schrieb ext Dave Nebinger:
>
> IMHO LVM2 is only valuable for creating partitions that need to cross
> disks (i.e. you have 2 100g disks but need a 200g partition).  Using lvm2
> simply to allow for future partition growth is overkill...  No flames
> here please, I did say it is my opinion only ;-)

NOT a flame, but another IMHO: I think that a logical volume manager is also 
valuable if you have only one disk, because you don't need to bother with 
partitioning or think about partition sizes. I usually create 2 partitions, 
one of about 32M for /boot, the second spawns the rest of the disk and 
holds my logical volumes (even / and swap). This way you can start with 
small volumes and grow them as needed, or add new ones. And what if you add 
a 2nd disk later? Just add it to the existing volume group, et voila.

> > I have 768MB of RAM and so far I haven't seen it use any swap. So I'm
> > planning on a 256MB swap partition. Also, there will be a /boot which
> > would be about 50MB.
>
> You've got 80g, so double ram (the normal recommendation) shouldn't hurt
> you too much.  If you ever get to the point that you run out of swap,
> you'll regret not having enough.

No, he wouldn't, because he uses LVM. He can simply grow the swap volume.

> As far as partitioning schemes, I come from the background that a full
> filesystem (especially /) comes at bad times and requires too much time
> to attempt to recover.

> To that end, I usually have around 10 different partitions:
>
>   1. / - large enough to hold the basic root entities (/etc, /bin, /sbin,
> and /lib).
>   2. /boot - 100M because I like to keep working kernels around for
> awhile. 3. /usr - Large enough to hold the /usr contents minus
> /usr/portage. 4. /usr/local - Separated to ensure that local installs
> don't kill the /usr partition.
>   5. /usr/portage - Keeps portage out of the /usr tree and simplifies
> /usr/portage partition resize when needed.
>   6. /opt
>   7. /var
>   8. /tmp
>   9. /var/tmp - Separated from /var so that temp space usage doesn't
> interfere with the spool (etc.) contents normally in /var.
>  10. /home

ACK (s%partition%volume%g).

Bye...

        Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachment: pgphtPloSwSZa.pgp
Description: PGP signature

Reply via email to