Feeback on partitioning

Jerry McAllister jerrymc at clunix.cl.msu.edu
Mon Oct 17 10:28:48 PDT 2005


> 
> Teo De Las Heras <teoheras at gmail.com> writes:
> 
> > I'm getting ready to set up a single system as a mail, print, web, and file
> > server. I may be installing other applications but nothing as intense as
> > Xorg. If at all, I'll probably just install some network monitoring tools.
> > I'm placing all of these roles on a single system because it is only for my
> > lab. I have a 160 GB to use and I'm thinking about laying out the partitions
> > as follows:
> >  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.

You can only grow a partition if there is empty space contiguous with
that partition.   So, rather than leave chunks of empty space between
each partition just in case, I would just make one large partition at
the end and then move things that get too big there and symlink them.

The major considerations with partition size are a small root to
make it easier for recoveries if there is a problem and to increase
the probability of being able to do a minimal (single user) boot if
there are problems, enough swap space, keeping things that might
grow uncontrollably isolated from critical stuff such as root and
nowdays, /usr and the final one is breaking things up in to chunks
that suit your backup scheme/media.

////jerry

> 
> It should work fine.
> Make sure your backup scheme will work with it.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list