Create step-by-step guide for setting up raid1 on ubuntu 12.04
Closed - This job posting has been filled.
There is a single ubuntu 12.04 x64 system which is not used as a server but is being used professionally by its owner.
The current system has a common partition setup of ubuntu 12.04: One disk sda with primary partition sda1, extended partition sda2 which has a swap partition sda5.
A new secondary ssd disk identical with the original is going to be installed on the system and is currently empty and unformatted.
System must be setup with raid-1 WITHOUT formatting or losing data in any other way from the current running system.
The entire procedure will be tested and must be successful on a VirtualBox Virtual Machine which has a default Ubuntu 12.04 x64 installation (with most common options and all installed updates) and two identical virtual hard disk drives (e.g. 10GB each)
You are requested to deliver a Libre Office Writer document (.odt) which explains thoroughly and step-by-step the procedure (kind of "for dummies" tutorial). In fact the execution of this tutorial must be as easy as copy-pasting commands in the terminal. This tutorial must take into account all possible scenarios so that it can easily be applied to other Ubuntu 12.04 x64 systems which might have slightly different configurations. The document must be properly formatted and highlighted.
After applying the tutorial I must see the following behavior from system: The system must boot normally if I have both ssd drives on. The system must be able to boot normally if any of the drives is missing or had a failure. Optionally the system must throw a warning upon boot if the raid-array is degraded.
I am attaching a text file (raid1.txt) with all the notes I have kept in my own attempt to setup raid1 on this system and I consider this a enormous help on your attempt to accomplish the above task.
No need to remind you that any failure in the procedure described by your tutorial on the production machine will have a tremendous impact on the user even if a backup of critical files has already been made. It is a fact that setting up this fully custom-setup ubuntu system from scratch is a very time consuming job.
Please do not hesitate to ask me for any additional explanations.