why ubuntu LTS installs all in a single partition?

Colin Watson cjwatson at ubuntu.com
Sat Aug 3 01:28:35 UTC 2013


On Sat, Aug 03, 2013 at 02:18:03AM +0100, Colin Watson wrote:
> On Fri, Aug 02, 2013 at 08:11:22PM +0200, Mauro Sanna wrote:
> > On 2 August 2013 17:11, Colin Watson <cjwatson at ubuntu.com> wrote:
> > > On Fri, Aug 02, 2013 at 02:22:48PM +0200, Mauro Sanna wrote:
> > > > Yes I know it is comfortable to have only a single partition but I knew
> > > > that partitions are made ​​for greater security.
> > >
> > > This is a myth.  If you need security against users filling your
> > > partitions, use quotas.
> > 
> > And if I need protection against faulty applications that fill the var/log?
> > I I use only one partition those app logs fill all the disk and inhibit
> > server functionality.
> > Instead if I keep /var or /var/log in a separate partion I don't have this
> > risk.
> 
> Feel free to set such things up if you feel it's a risk for you, but I
> stand by the defaults as reasonable ones.

... and personally I would suggest instead using decent monitoring
software that can tell you about filesystems that are close to being
full before it becomes an issue.  I bet you still don't want to lose
logs due to /var/log filling up; and using a separate partition is
painfully inflexible in the event that you need to grow it.

If you do need to split off filesystems on a server, then at least use
LVM rather than plain partitions to do it.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list