(Previously responded directly by accident)

> Hi Jason
>
> > "JUST a server"? What sort of server? How much hard
> > drive space do you have?
>
> I want to run a web server (apache), have support for
> perl, php, mysql, and these things. I've got 13GB of
> space...
> What do you suggest?

/       500MB
/boot   100MB (usually not mounted)
/home   8GB
/usr    1.5GB (mounted read-only)
/var    3GB

Of course, it really depends on the expected size of your database and web
site. A 3GB /var will give you plenty of space for compiling and a fairly
large database. But then you may expect a fairly static size web site with a
large database, in which case it would be better to 3GB for /home and 8GB for
/var. If your not certain on the sizes, then I would suggest similar to the
following:

/       500MB
/boot   100MB (usually not mounted)
/home   10GB
/home/mysql (standard directory)
/usr    1.5GB (mounted read-only)
/var    1GB
/var/lib/mysql (symlinked to /home/mysql)

You even do something similar with /usr/portage, meaning you would only have
to remount /usr read-write if there were actual updates to be made and drop
/usr down to 500MB as well. I'm not certain of the size of /usr without
XFree86, but 1GB would definately be more than enough if you move
/usr/portage/distfiles somewhere else.

One benefit of symlinking /var/lib/mysql (I think that's where the database
 is stored - it is with postgresql but you will need to confirm it) is that
 all data requires backup would be in /home. Secondly, if you worried about
 the stability of different filesystems, you could put a "more stable"
 filesystem on /home and "faster" filesystems on the other partitions.

*DISCLAIMER* I've never set up a server using Gentoo. I have set up systems
with several partitions and not ran out of space. Use information at own
risk, blah, blah, blah...

The best place I've seen for information regarding partitioning is in the
FreeBSD installation guide. It goes through the pros and cons in a fairly
general way. You should probably check that out and there's a fairly
extensive thread on filesystems in the Gentoo forums. Check those out and you
should be right. Good luck!

Jason


--
[EMAIL PROTECTED] mailing list

Reply via email to