Multiple partitions during install of debian

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Multiple partitions during install of debian

Post by alex.barylski »

We have a Debian based web server which I installed using the multiple partitions (tmp, var, usr, home, whatever)

What is the difference in using one partition or multiple partitions? I was under the impression it was for performance and recommended for live web servers so log files and tmp files didn't bog the system down?

Does it make any difference to me as a web developer who occassional admin's the system?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Multiple partitions during install of debian

Post by Chris Corbyn »

It makes maintenance simpler. You can backup and restore partitions independently of each other and you can have different mount options for permissions etc on each partition. It won't make your day to day web development any easier no.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Multiple partitions during install of debian

Post by alex.barylski »

It doesn't impact performance though, having all files under a single partition? This was the impression I was under. Not sure how that would work. :P

I guess I thought that log files would constantly be added/growing/shrinking as would files in the var/ for a web server so I thought maybe having them on separate partitions would mean less fragmentation for the core partitions used by the OS itself, or something like that.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Multiple partitions during install of debian

Post by Christopher »

It does not impact performance, except for tools that work on partitions. That's sort of stating the obvious, but there are a number of tools that work on partitions. If you use those or need them for emergencies then partitions are a good choice. For performance, obviously multiple disks or RAID is the way to go.
(#10850)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Multiple partitions during install of debian

Post by alex.barylski »

Hmmm...OK good to know...thx :)
Post Reply