How should hard drive be partitioned for Plesk Linux installation?




  • Avatar

    This resources are too small, servers run out of spaces in 1 month

  • Avatar
    Bato Tsydenov


    In this article there are only recommendations how to partition hard drive for Plesk server.

    Additionally to find the top files consuming the disk space use the following command:
    du -ah /var | sort -n -r | head -n 5

  • Avatar

    These are terrible instructions! It wasted a lot of my time. You can't even upgrade Centos with a boot partition that small. Here's what your figures should be!

    SWAP - unless you are critically under supplying RAM half not double of your RAM is enough...

    /boot - 256MB !!

    / - 15 to 20GB (recommend larger if you have the room)

    /tmp - 4GB

    /var - the rest, as much as you can...

    Also, if you configure using LVM, resizing (up or down if you use ext4) is easy and fast. BUT you can't LVM /boot and since it's the first partition on the disk, having it undersized is a real pita so make sure you use 256MB !!

    Rant out. Hopefully useful to someone else...

  • Avatar
    Alexandr Nikolaenko

    Hello @ziegi

    Thank you for your input, the article has been updated.

Please sign in to leave a comment.

Have more questions? Submit a request