I'm doing a clean install of CentOS 8 minimal, and by default it suggests these paritions:
swap swap 4G
/boot ext3 512M
/ ext4 2014G
/home ext4 all
(this is with a pair of 4TB NVMe drives in software RAID 1)
I understand the need/benefit of separate swap/boot/data partitions, but what's the reasoning to have two separate data partitions?
My gut instinct is to restructure it as
swap swap 4G
/boot ext3 512M
/ ext4 all
But I assume CentOS knows better than I do and there's a good reason for the separate /home
partition.
This will be a webserver and database server. Traditionally I've stored web files in /var/www/sites, and database in /var/lib/mysql.
/home (as a directory, not a separate parition), in my experience, is essentially empty other than .bashrc, .vimrc etc, and occasionally a temporary landing place if I FTP files to the server.
Am I doing it wrong? confused
Thank you!