Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using this tutorial: http://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-system-incl-grub2-configuration-debian-squeeze

Unfortunately the above tutorial is outdated for Ubuntu 12.04. It was written for 10.04.

Ubuntu 12.04 after a regular installation has 3 partitions: The main one, a swap partition, and an extended one. I don't know what the last one is used for!

So when I am executing fdisk /dev/sdb I cannot convert the extended partition to a linux raid autodetect. The error message says that this conversion is invalid and that I should delete the partition first!

What should I do? My ultimate goal is to setup a raid-1 system with the disk that already has ubuntu fully setup and a new disk that is currently empty. The one disk must be the mirror of the other so I imagine all partitions of the second disk must match the partitions of the first disk and each one should have a corresponding raid-1 partition.

Thank you!

share|improve this question
    
Even older: beginlinux.com/server_training/server-managment-topics/… BUT... the commands on both links look as they are still valid for 12.10 (since it is all command line). And ... may luck be on your side;) –  Rinzwind Dec 5 '12 at 11:41
    
Thanks for your response but unfortunately this link does not help. Maybe the commands have remained the same but the way ubuntu works have changed a lot. A new tutorial/wiki on 12.04 is definately needed and I will update my own IF I manage to make everything work.. –  George Pligor Dec 6 '12 at 17:25
    
I found out that the sdb2 partition is an extended partition which actually contains the sdb5 partition which is the swap. Is this true? If it is true, does this mean that I only need to create two partitions for raid-1 ?.. –  George Pligor Dec 7 '12 at 18:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.