"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, tag@lists.linuxgazette.net
LinuxCare, https://www.linuxcare.com/


(?) Partitioning Advice

From Stock Watch on Fri, 15 Oct 1999

Greetings James,

Hi, I'm Wong. I need your advice on how to partition a 6.2GB hard disk so that it can optimize the usage of Linux. This is my first time installing Linux. I intend to set it as a full Linux server. The main purpose of the Linux server is to act as a mail server besides doing other functions. I also learn that it need a swap partition. Please advice. Thanks in advance.

Cheers, Wong

(!) This is a very common question. There are differing views and philosophies on the subject as well.
Here's my suggestions:
		/boot	 	  31Mb
		/		 127Mb
		(swap)		 127Mb
		/usr		1635Mb (1.5Gb)
		/tmp		 127Mb
		/home		2047Mb  (2Gb)
		/var		(rest: ~3Gb)
... and on some systems I'd add other filesystems on another drive. For example a filesystem on /var/spool/mail can be mounted with the "sync" (insuring that all writes to that filesystem are done synchronously --- minimizing the damage down by a power failure).
This set of values is based on years of experience. It leaves plenty of room for extra kernels, initrd images and System.map files on /boot, gives plenty of room for paging (swap). /usr is big enough to install LOTS of software. If this was going to be used exclusively as a mail server then you don't need anywhere near that much space on /usr. Of course you shouldn't need anywhere neer 3Gb for normal mail and POP services either.
That should get you started. If you find that you do manage to outgrow your disk space, you can add additional drives pretty easily. I've described that process in previous Answer Guy columns.


Copyright © 1999, James T. Dennis
Published in The Linux Gazette Issue 48 December 1999
HTML transformation by Heather Stern of Starshine Technical Services, https://www.starshine.org/


[ Answer Guy Current Index ] [ Index of Past Answers ] greetings 1 2 3 5
5 6 7 8 9
10 11 12 13 14 15 16 17 18
19 20 21 22 23 24 25 26 27
28 29 30 31 32 33 34 35 36
37 38 39 40 41 42 43 44 45
46 47 48 49 50 51 52 53 54
55 56 57


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Linux Gazette FAQ ] [ Next Section ]