[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openbsd partitions suggestion



On Thu, Jul 31, 2003 at 12:24:51PM -0600, Jack J. Woehr wrote:
> "Gëzim Hoxha" wrote:
> 
> > I have a machine with 13GB that I want to install
> > openbsd on. In this machine I want apache, a mail
> > server, ftp server, mysql, php, perl, and other things
> > for a website. It's just gonna be a dedicated web
> > server basically. I want to hear some suggestions as
> > to how to devide the space up (for /var , /usr/,
> > /home, etc.) and I'm thinking of leaving 3GB or
> > so...free for later use.
> 
> Here's a 20G machine. 2G swapfile not shown. The / partition
> is way big, 256M is plenty. /usr/obj is also way big. System
> has already been rebuilt there, you can see how empty it is.
> 
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/wd0a     1015237    42639   921837     4%    /
> /dev/wd0i     2030307     2728  1926064     0%    /home
> /dev/wd0d     2030307   280524  1648268    15%    /usr
> /dev/wd0j     3128622   122681  2849510     4%    /usr/local
> /dev/wd0f     2030307   276834  1651958    14%    /usr/obj
> /dev/wd0g     4060887   608453  3249390    16%    /usr/ports
> /dev/wd0e     2030307   427401  1501391    22%    /usr/src
> /dev/wd0h     2030307     6994  1921798     0%    /var

For comparison, here's another mixed-use, multiuser machine that serves
webpages, handles mail, and provides networked storage to a half-dozen
active users.

Filesystem  512-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a      1014940   136144   828050    14%    /
/dev/wd0d     10152858  1443336  8201880    15%    /home
/dev/wd0e     10152858  1821486  7823730    19%    /var
/dev/wd0f     16412350  3356086 12235648    22%    /usr
/dev/wd1a      2030474       14  1928938     0%    /tmp
/dev/wd1b       197934   137566    50472    73%    /var/log
/dev/wd1d     17141134 10032458  6251620    62%    /home/public

Two quirks of note: /var/log is on a differnt spindle from /var to help
keep the logging from interfering with normal operations. /home/public
is a big samba share common to all users.

-- 
73. I will not agree to let the heroes go free if they win a rigged contest, 
    even though my advisors assure me it is impossible for them to win.
                --Peter Anspach's list of things to do as an Evil Overlord



Visit your host, monkey.org