Question: Configure Software RAID 1 on Debian Lenny

Discussion in 'Technical' started by ZeroEnna, Oct 8, 2010.

  1. ZeroEnna

    ZeroEnna Member

    Hello everybody,

    I recently installed Software RAID on a test server in a virtual machine, according to this Tutorial:

    http://www.howtoforge.org/software-raid1-grub-boot-debian-etch-p2

    I was wondering if there's a more easy way to install grub.

    instead of opening the grub-shell and entering four commands, a second solution was offered on an other Bulletin Board.

    Simply enter grub-install /dev/sda, respectively /dev/sdb

    Will this cause the same or am I going to "loose" the RAID.

    I also tried to do this:

    sfdisk -R /dev/sdb

    which returns a "device busy" error. is sfdisk -d /dev/sda | sfdisk /dev/sdb equal to sfdisk -R /dev/sdb.

    I would like to use Software RAID 1 in a productive environment, so I want to solve all questions first.

    Bye there,

    Zero
     
  2. falko

    falko Super Moderator Howtoforge Staff

    This should work as well.

    Please use
    Code:
    sfdisk -d /dev/sda | sfdisk /dev/sdb
    instead.
     

Share This Page