So my idea is to set up 2 nodes on the same array, but on separate partitions. Example is 1 x RAID 6 array with 12 disks of 4 TB each. That would account for 40 TB of storage. It is an Ubuntu 20.04 and here is my partitioning plan:
/ - 13 GB (5 GB should be enough because I usually mount /tmp, /var/tmp, /home/$user/.cache and /var/cache as tmpfs, but just in case)
/boot - 1 GB
/var/log - 2 GB (optional)
SWAP - 8 GB (because RAM on the machine is 32 GB and I do not care about hibernation) - please note SWAP is not in the middle of the logical volume of the RAID array - is not the same as placing it this way on a single disk - for as fast access as possible because of less needle movement.
/node0 - 1/2 of what is left
/node1 - 1/2 of what is left
How would you approach this, Linux guys? Is there any better way according to your knowledge and experience? Would you advise using noatime,nodiratime options in fstab, no matter these are HDDs?
Next step: attach modular storage arrays (RAID6) for extra nodes on the same server…
Partitioning plan:
/node3 - 1/2 of the MSA volume
/node4 - 1/2 of the MSA volume
More arrays…
/node5
/node6
…
Note: these are SAS-2 drives - 6Gbps