[KLUG Members] Disk partition
Bryan-TheBS-Smith
members@kalamazoolinux.org
Sat, 29 Dec 2001 16:52:19 -0500
Scott Thurmond wrote:
> I have a 20Gb drive that I run Linux on. Is there a performance
> reason to carve the disk up into
> /
> /home
> /usr
> /var
> /tmp
> /...
> Is it acceptable to have just a swap partition and a "/" partition?
> And on the subject of swap space, is the general rule to create a swap space
> 1.5 times the amount of RAM in the machine?
I documented my methodical approach in this E-mail back in November:
http://www.matrixlist.com/pipermail/leaplist/2001-November/015760.html
You should _always_ "strive" to separate out /var and /tmp. They create
and delete lots of little files regularly so they'll fragment quite
easily. I've seen people get frustrated trying to figure out why their
disk is "full" when they are only using 37% of their data blocks. A
quick "df -i" shows that they've used 100% of their inodes and 9 times
out of 10 its the /var directory who is the culprit.
If you really want to minimize your number of partitions, separate out
/var and use a symlink to /var/tmp from /tmp.
-- TheBS
--
Bryan "TheBS" Smith mailto:b.j.smith@ieee.org chat:thebs413
Engineer AbsoluteValue Systems, Inc. http://www.linux-wlan.org
President SmithConcepts, Inc. http://www.SmithConcepts.com
------------------------------------------------------------------
Linux strives to solve computing issues, not ones Windows created.