Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-08-2009, 05:41 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
problem with raid 1 rebuilding on debian

Iam getting below error after executing below commands to rebuild RAID 1 on debian server

1) Take out the hard drives of the “bad” machine and put them into some other machine and delete the partitions and reformat them
2) Shutdown one known good machine
3) Take a hard drive out of the good machine and put it into the corresponding slot on the “bad” machine (i.e. slot 0 hdd must go into slot 0 of “bad” machine)
4) Put the wiped clean hard drives into the empty bays of both machines
5) Boot both machines
6) Setup the clean hdd with the proper partitions and add them to the raid (i.e. mdadm /dev/md0 –a /dev/sd#1)
7) After the raid has been recreated (cat /proc/mdstat) run grub on both machines
a. Run the following grub commands on both machines:
device (hd0) /dev/sda

root (hd0,0)

setup (hd0)

device (hd0) /dev/sdb

root (hd0,0)

setup (hd0)

Iam really confused for how to format.. I did only deletion of partitions and RAID1

Kindly reply.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about RAID rebuilding beadyallen Linux - Server 1 10-21-2008 06:34 PM
Problem rebuilding a RAID 1 DarkSun4241 Linux - Hardware 2 09-18-2008 08:24 AM
RAID boot problem with Debian mike3k Linux - Hardware 1 10-02-2004 06:05 PM
RAID 1 (mirror) problem installing debian vladimir-dk Linux - Hardware 0 09-08-2004 05:09 PM
raid rebuilding error wedgeworth Linux - Hardware 0 09-05-2003 01:21 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration