I have a system with the following components:
- RAM -> 32GB (swap filed is advisable to be DOUBLE the RAM size so 64/65GB)
- sda -> Samsung 500GB SSD -> Raid disc 1 -> RAID-1 member 0 === soft raid
- sdb -> Samsung 500GB SSD -> Raid disc 2 -> RAID-1 member 1 === soft raid
- sdc -> WD 1TB HDD
- sdd -> Seagate 2TB HDD
Install Linux distro + apache web + php + mySQL (+ future mail server) onto system. Have system available for web-hosting -> for web-development portfolio.
What I've tried already:
As mentioned above I have 2 x 500GB SSD's. SO why not run them in RAID-1. I don't have to, but their available so why not? ok, so its software raid, but if 1 drives fails, at least there's 1 another copy available.
When I first tried install Debian 9.5, I originally set the sda - 500gb SSD, and sdb - 500gb SSD, as RAID 0, in the BIOS. Debian DID NOT SEE the drives. Back into BIOS remove RAID, re-start Debian Install -> NOW SEE's DRIVES. I got up and running on my local host. However, after a reboot, I couldn't get into the system any more (password fail). Since nothing on it, I chose to re-install.
This time, I tried the Ubuntu server ISO. And here's where all the questions come from: In the ubuntu install sequence. It wanted me to start doing disc partitioning. So it wants me allocate
/, ... I did the following:
- gave it 1GB for
/boot, but I was NOT able to put it on the RAID.
- In the documentation it said you normally want DOUBLE your RAM for swap file size. I have 32GB so double is 64GB. Which I partitioned on both drives in RAID. So I ended up with RAID 1 - 0 -> 64GB (swap file) and the Raid 0 - 1 (435GB) balance for OS/Server, apps.
How do I put the
/boot partition on the RAID-1?