RE: *nix partitioning practices

Blake Pfankuch <bpfankuch-iDUpQSA8o47qlBn2x/[email protected]>
Newsgroups gmane.org.operators.internet-access
Message-ID <01759D50DC387C45A018FE1817CE27D755088D4B2F@CPExchange1.cpgreeley.com>
Having worked with systems though the years of 1926092730 partitions, ive started being as simple as I can possibly be.

Typically I do 2x physical memory to swap, 2gb to /root and the rest to /

If I have multiple disks in a server, and im going to have something extremely high IO, I might break out a partition and put it just on that disk.  As an example I have a production webserver that has /home/web mounted directly to a second disk due to the fact that with the web users home dir on the main disk the sql queries started to lag during periods of high traffic.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of jp
Sent: Tuesday, June 16, 2009 8:41 AM
To: [email protected]
Subject: Re: *nix partitioning practices

swap
/
/home

is my typical arrangement

Mail gets delivered to ~, so I don't need a big separate place for that
to accumulate. Logs can take up lots of space, but disk is cheap.

On Mon, Jun 15, 2009 at 10:46:17AM -0400, [email protected] wrote:
>
> Sorry if this is pretty basic, but I'd like to revisit it.  For years,
> I've been partitioning my FreeBSD servers pretty much like I used to
> partition my Solaris 2 servers way back.  I did this simply because it's
> what I was used to, but I realize that especially with the much larger
> disks we have now, this is worth changing.
>
> Figuring 500GB of unformatted storage (~465GB formatted), I am thinking
> along these lines:
>
> 8GB  - SWAP  (4GB RAM)
> 1GB  -  /    (root)
> 15GB - /var  (qmail puts everything in there)
> 10GB - /usr  (base binaries and ports)
> 10GB - /usr/local   (additional binaries I install)
> 200GB - /home    I used to just have one home fs, but I found that it
> 200GB - /home2    makes for very long amanda restores for a customer site
>
> The roughly 20GB left over could be used for adding swap at a later date,
> if neccessary.  Before now, I used to do as above, only with no separate
> /usr/local and only one /home.  The idea is for a quick recovery in the
> even a system has to be restored, and also to perhaps not have to back up
> /usr all the time.
>
> I'd like to get experienced thoughts on this.
>
> TIA,
>
> James Smallacombe                   PlantageNet, Inc. CEO and Janitor
> [email protected]                                                           http://3.am
> =========================================================================
> --
> Eat sushi frequently. - Avi
> [email protected] is the human contact address.
> [email protected] is the list posting address.
> See below URL for subscribe/unsubscribe and list options:
> http://inet-access.net/mailman/listinfo/list

--
/*
Jason Philbrook   |   Midcoast Internet Solutions - Wireless and DSL
    KB1IOJ        |   Broadband Internet Access, Dialup, and Hosting
 http://f64.nu/   |   for Midcoast Maine    http://www.midcoast.com/
*/
--
Eat sushi frequently. - Avi
[email protected] is the human contact address.
[email protected] is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list
-- 
Eat sushi frequently. - Avi
[email protected] is the human contact address.
[email protected] is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.