Based on recommendations here is how I'm going to partition the two FreeBSD servers that I'm installing in my lab.
mail, print, web, and file server Part Size / 200M /usr 15G - Ports live in usr /tmp 256M (swap) 2G - paging file /var 10G - print spool, db files, other log files?? /var/mail 10G - for all mail files and easy backup /www 5G - Web server - I'm going to have a lot of content /home 50G - for all user files *The rest of the space I'll leave unused in case I need to grow a partition Firewall/Router Part Size / 200M /tmp 256M /usr 7G swap 512M /var 2G On 10/16/05, John Oxley <[EMAIL PROTECTED]> wrote: > > On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote: > > Part Size > > / 10G - for both the / and /usr files > > (swap) 2G > > /var 10G - Web server, print spool, other log files?? > > /var/mail 10G - for all mail files and easy backup > > /home 50G - for all user files > > /home/teo 40G - For my files and easy backup > > *The rest of the space I'll leave unused in case I need to grow a > partition > > I'm new to FreeBSD/*Nix so all criticism is welcome. > > Teo > > Keep / small, around 200MB, and split user from this. You'll understand > why as soon as something nasty happens while you're writing to /usr and > the machine falls over. You can still boot because / is mainly static. > > put 10-20 gigs in usr. When you build ports, they use space in /usr (by > default. You can change this) which is why I say 20 gigs. > > 256M in /tmp is fine > > /var you want to be quite big if you're running a production server or a > mysql box, because db files and logs and mail etc. go to /var by > default. I find it easier to make /var big than create symlinks or > modify where things go. > > Splitting /var and /var/mail is a good idea because if /var fills up > with logs then you'll still receive mail. For the same reason its a > good idea to make /var/db/mysql separate as well. The problem you run > into there is say you've put 10 gigs for each and you have 3 gigs of > logs, 5 gigs of mail and need 12 gigs for your database, then you loose > the flexibility. > > I put my web pages in /usr/local/www/virtual/ so that comes under /usr. > > You may want to put 90 gigs straight into /home and then setup quota's > so your users don't use up your disk space. > > My 2 cents. > > -John > > -- > John Oxley > Systems Administrator > Yo!Africa > E-Mail: john at yoafrica.com <http://yoafrica.com> > Tel: +263 4 858404 > echo '9k[l:l;s<s=0l>x]s"[1+l<dd*l=d*-l;+ds<rl=2**l:+ds=d*rd*+4<-d15>>] > s>[q]s-[d77/3*2-s;47l"x-P1+d78>`]s`0[d23/.5-3*s:0l`xr10P1+d24>$]ds$x'|dc > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"