Off Topic: Partitioning (was: Re: [olug] Upgrade HD ?)

Michael Peterson Wireless mikejack at stratomail.com
Tue Aug 5 12:39:42 UTC 2003


I usually go with the following separate partitions on a production system.
/boot 100 MB
swap  2.5 times size of RAM with max size of 2 GB
/     256 MB or greater
/var  256 MB or greater
/usr  6 GB or greater
/home remainder of drive

-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf Of
Christopher Cashell
Sent: Tuesday, August 05, 2003 12:25 AM
To: Omaha Linux User Group
Subject: Off Topic: Partitioning (was: Re: [olug] Upgrade HD ?)


At Mon, 04 Aug 03, Unidentified Flying Banana Jay Swackhamer, said:
> 2. partition the new drive the way that you would like it
>   i.e.
>    250MB   /boot
>    10Gig   /
>     5gig   /home
>     1gig   swap
>    1000000g  /opt

I know this is pushing towards off topic, but I just wanna throw out that I
*strongly* suggest always having a separate /var partition, or at least a
separate /var/log partition (or both).

I've seen (on more than one occasion) where a machine without a separate
(/var|/var/log) partition ended up dying because, for one reason or another,
log files grew to the point where the root partition ran out of space.  The
Kernel doesn't like it when that happens. ;-)

[Snip.]

>   cd ${LV_MOUNT1}; find . -xdev -depth -print | cpio -pdm ${LV_MOUNT2}

This is a good safe way to copy files and retain attributes/information.

> Jay Swackhamer

-- 
| Christopher
+------------------------------------------------+
| A: No.                                         |
| Q: Should I include quotations after my reply? |
+------------------------------------------------+

_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug




More information about the OLUG mailing list