The ever lasting story: hard disk partitioning

Matt Rowley matt at arin.net
Sun Oct 22 20:06:15 UTC 2006


> /boot		<- 25 mb
> swap		<- 1 GB (server has 1 gb ram)
> /		<- 2 GB
> /usr/local	<- 500 MB
> /home		<- The rest
>
> 1) /var is on the root volume (/), which is 2 GB in size. Ofcourse,
> when the system is under attack or some other reason /var fills up, my
> / is full and this could lead to a dangerous situation (not being able
> to log in anymore). Also the logs are on the same volume. Would it be
> wise to create under /home for example /home/system/logs and let
> /var/log be a symlink to that?
>
> 2) /tmp can fill up too. I would consider mounting /tmp with tmpfs, 512
> MB in size, is that enough for server purposes? (Web/mail/general
> purpose)

I would definitely recommend that you break out /var and /tmp to be their 
own partitions.

--Matt






More information about the CRUX mailing list