I'm installing Debian Wheezy on a 50 GB partition of a 500 GB Seagate SATA hard disk with 2 GB RAM. I want to use following partition scheme, but stuck at:How much (in percent) of disk space should be given to following partitions?The order in which partitions should be created?So that system runs very fast and smooth. //boot/home/tmp/usr/var/srv/opt/var/www/usr/localSWAPMACHINE INFORMATIONDebian Wheezy 64 Bit Update up to DateRole of Machine ServerMain SoftwareBind9, Apache2, Mysql-Server, PHP5500 GB Seagate SATA Hard Disk2 Partitions 50 GB & 450 GB I do not want touch 450 GB Partition (sda2) however I can take 50 GB more from sda2 if required
Partition scheme for installation of Debian
debian;partition;system installation
Because you are creating all the Debian partitions on the same disk, there is no performance gains to be made by different partition layouts. The only gains are for risk reduction (because putting everything in / can put you in a bad place [tm] if that partitions disk space is all used up). I would suggest: / 1G /boot 100M /usr 10G /var 15G /home 20G swap 4GPlace all of /home's space into /usr if you do not plan to have many users/require large space for home directories./ a 1G / is generous as most of your operating install will land in /usr. Some libraries will end up in /lib but will only be a few hundred Megabytes in size for most servers. If you are paranoid increase the size of /. /var tends to be your non-volatile data area, log files, pid files, crontabs, transient mail queues, non-volatile tmp directory and so forth. /home is more for the benefit of users, but if in a server role there is nothing to stop you from configuring apache to look in /home/www instead of /var/www, or to symlink over to the /home partition from /var/www.I've ran my servers in this setup for a number of years and have only had to vary the formula for specific server roles (database servers, large volume mail servers).