I need to set up RAID1 mirror on a currently running web server with 100 domains, 500 mail accounts. Here is what we have:
Linux 7.3 with standard kernal 2.4
pretty much standard install, few things added from standard, nothing big
1 80Gb IDE HDD (hda) partitioned as follows:
1 Linux 1 6 /boot
2 Linux swap 7 134 swap
3 Extended 135 10011
5 Linux 135 389 /
6 Linux 390 772 /usr
7 Linux 773 1410 /var
8 Linux 1411 10011 /home
1 new 80Gb IDE HDD (hdc) identical to hda, not yet partitioned
I am accessing the server (leased, dedicated) remotely with SSH, as root.
No tape backup
Personalities : [raid0] [raid1] [raid5]
read_ahead not set
unused devices: <none>
Here is what we want to do:
We need to keep everything mirrored so that if one or the other hard disks fails, we will neither lose data nor have to take more than a short time to recover with a new hard disk.
What I want is a step by step guide for partitioning the new hard disk and setting up the necessary filesystems (ext2, ext 3, LINUX raid????) or devices, then creating the raidtab file and any other files that need to be created or edited or updated (fstab?), then starting the thing and making sure it is running.
I hope this is enough to get us going... THANKS!