Comments on How To Set Up Software RAID1 On A Running LVM System (Incl. GRUB2 Configuration) (Debian Squeeze)

How To Set Up Software RAID1 On A Running LVM System (Incl. GRUB2 Configuration) (Debian Squeeze) This guide explains how to set up software RAID1 on an already running LVM system (Debian Squeeze). The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one).

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

Hi All,

First, Falco,a big thank you for this great tutorial!
I wanted to move my TrunKey Linux 12 fileserver  - which is basically a Debian Squeeze - to RAID1. Since the box is productive in an office, I wanted the whole process to be tested in a VirtualBox machine first, and if OK, easily execute it on the physical machine as well ... as fast as possible to reduce downtime.

So I've put together all the commands in this tutorial  into a script. It was tested and working on a VirtualBox TurnKey fileserver machine, and since the procedure will be quite the same on the physical box, I will do the same on it after a data backup.

In practice this script had to be cut into 3 parts because of the 2 reboots needed during the procedure.

Please feel free to use them, but I highly recommend to get familiar with the usage of the script in a VirtualBox Debian Squeeze, and you should only do it on the Prod physical machin e after.

You can download the script(s) here:
https://www.dropbox.com/sh/n1trc69jukfo41r/HJMi3x-q-a

By: Jonas

I just followed this Tutorial for setting this up on a wheezy distro. Eyerything worked brilliantly, excellent tutorial!

Just one issue: Editing the /etc/mtab seems to be unnecessary, it´ s being generated automatically also i wasn´ t even able to edit it.