Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 40253  / 3 Years ago, thu, may 20, 2021, 6:17:29

I am going to deploy Ubuntu server having following servers on it:




  • Bind server

  • DHCP server

  • LAMP Server

  • OpenSSH Server

  • Ldap server

  • Mongodb database

  • FTP server

  • Mail server

  • Samba server

  • NFS server

  • In the future, I want to set up Openstack for PAAS.



I currently have a Raid 5 filesystem with 10TB storage.



How should I set up my partition scheme?



I am looking to ensure that I don't have problems in future and that storage size can be easily expanded. Can you suggest a partition scheme giving specific percentage of storage to partitions like /, /boot, /var, /etc?


More From » server

 Answers
1

Before you decide on partitioning schemes it might help to actually understand the reasons for splitting various parts of the linux.



Firstly multiple partitions are 'safer' since if one filesystem is damaged, the others should be alright. This won't save you from a disk failure. Backups would, as might the parity scheme in your raid level.



Secondly it was a way to use multiple drives of different styles before LVM - this is moot for you



Source - Linux Installation and getting started



In short, the multi partition scheme is sort of a relic of older times, continued for legacy reasons. If you need to ask why, you're better off with a single partition.



In the modern context the smart partitioning method would be to use a single large partition (and a second one, optionally for swap, swap files would be an option). Use LVM so you can add disks if you can if you think you may need to add space. A single large partition means things will handle themselves as long as there's enough space, and you can backup /etc/ /user/local and /home, and use that and a list of installed packages should a bare metal recovery be needed.


[#34364] Saturday, May 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
olouredping

Total Points: 259
Total Questions: 100
Total Answers: 121

Location: New Caledonia
Member since Wed, Sep 15, 2021
3 Years ago
olouredping questions
;