|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Partitioning for web/mailserver?
In short. I'm back to OpenBSD and for my purpose i have two hard drives. One is 120 Gb and the other 80 Gb. Both are Seagate Barracuda's. And the server itself is a AMD 3000+ with 1536 Mb RAM.
I was thinking of partitioning the disks something like this: Disk 1 - 120 Gb disk =============== / (root) (1Gb) SWAP (1536 Mb) /tmp (1536 Mb) /var (remaining disk space) /usr (8 Gb) /home (5 Gb) Disk 2 - 80 Gb disk =============== /var/www (remaining disk space) SWAP (1536 Mb) So, "mail" in /var and "the webs" in /var/www. I know its a lot of space for mail which probably never will be used. But what the heck! It could of course be an idea to make /var/www on the remainder of the 120 Gb, and /var on the remainder of the 80 Gb disk. I mean it will probably be more "web" then "mail" if you get my drift. Any objections or other suggestions? Last edited by DrKrall; 19th November 2009 at 11:28 PM. |
|
|||
Or how about this partition scheme?
Disk 1 - 120 Gb disk =============== / (root) (1Gb) SWAP (1536 Mb) /tmp (1536 Mb) /var/www (remaining disk space) /usr (8 Gb) /home (5 Gb) Disk 2 - 80 Gb disk =============== /var (remaining disk space) SWAP (1536 Mb) Would it be any problems of having /var on the second disk? If not, this would probably be the best choice, i think. |
|
|||
If you ever want to debug a crash, allocating 1x the amount of RAM may be insufficient. The rule of thumb is 2x RAM + 1MB. More information can be found on the crash(8) manpage.
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mailserver for websites | xCipherx | FreeBSD Ports and Packages | 4 | 13th April 2010 03:56 PM |
partitioning scheme for a firewall? | Timmy66 | OpenBSD Security | 1 | 19th September 2009 01:28 PM |
AMD64 - Hard Drive Partitioning | Turquoise88 | General software and network | 8 | 11th September 2009 05:58 AM |
Is partitioning still important in installation? | Mantazz | FreeBSD Installation and Upgrading | 14 | 16th January 2009 08:35 AM |
freebsd mailserver | Demodog | FreeBSD Ports and Packages | 19 | 10th June 2008 07:25 PM |