Changes
Jump to navigation
Jump to search
Web Server Documentation (view source)
Revision as of 17:11, 17 February 2016
, 17:11, 17 February 2016→Configuring RAID 1 on Web Server (2/17/2016): Success!
The first RAID device (/dev/md0) we set to use as an ext4 filesystem and mounted /boot to it, and the second RAID device (/dev/md127) we set to use as an ext4 filesystem and mounted / to it (we tried this before, but it failed to install the kernel). This time, it failed to install the bootloader, but it never prompted me to choose where to install the bootloader (usually it asks whether you'd like to install the bootloader to the master boot record).
'''Second partitioning attempt:'''
First hard disk (/dev/sda):
New idea: ditch the idea of RAID on the boot partitions (we'll put the bootloader on one of the boot partitions and then we can try to set up RAID once we've got the thing booting into Linux), so leave the partitions as above ("Second Partitioning Attempt"). Only make one software RAID device (/dev/md0): RAID1, 2 active devices (/dev/sda3 and /dev/sdb2), 0 spare devices. Then configure the first RAID device partition: use as ext4 filesystem, mount point /, format data on the partition.
'''Third partitioning attempt:'''
First hard disk (/dev/sda):
One RAID device (/dev/md0): RAID1, 2 active devices (/dev/sda3 and /dev/sdb3), 0 spare devices. set partition: use as ext4 filesystem, mount point /
'''Fourth partitioning attempt:'''
First hard disk (/dev/sda):
Third RAID device (/dev/md2): RAID0, 2 active devices (/dev/sda2 and /dev/sdb2). set partition: use as swap area
'''Fifth partitioning attempt(make sure all software RAID devices are removed, delete all partitions, create new partition tables):'''
First hard disk (/dev/sda):
First RAID device (/dev/md0): RAID1, 2 active devices (/dev/sda3 and /dev/sdb3), 0 spare devices. set partition: use as ext4 filesystem, mount point /
install GRUB bootloader to /dev/sda and /dev/sdb. It works!
Database server drive partition specs: