<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Benjamin Smith wrote:
<blockquote cite="mid200505181141.43260.ben@schoolpathways.com"
 type="cite">
  <pre wrap="">It appears that it's simply not possible to "add" drives to a RAID 1 array. 
raidreconf does not support RAID 1. 

I had to start from scratch, reinitialize the array with both drives, run 
mke2fs, and recopy the data back over from the original drive. It took 
another 17 hours to copy everything, (ugh) but it's all up and working fine 
now. 

Thanks! 

-Ben 

On Tuesday 17 May 2005 15:15, Scott Silva wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Benjamin Smith wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">I have a server that does backups, and I want to replace an existing 160 
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->GB 
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">drive, with a RAID 1 300 GB array. 

I don't have enough IDE slots to mount all at the same time. So, I 
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->installed a 
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">single 300 GB HDD, configured it as /dev/md0 RAID 1, made a filesystem, 
mounted, and copied all the data over. It's seen and mounts fine with all 
data present. 

Now, I've removed the original 160 GB HDD, and put the other new 300 GB in 
it's place. 

I've tried and tried, and I can't get the 2nd 300 GB drive to sync up to 
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->the 
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">first 300 GB drive. It keeps seeing it as a spare... 

What am I missing? 

1st 300 GB partn in array (with data on it) /dev/hdh1 
2nd 300 GB partn in array (seen as spare) /dev/hde1 
      </pre>
    </blockquote>
    <pre wrap="">
Did you properly partition the new drive as type fd (linux raid)?

Maybe you should use mdadm. I have had better luck with it over raidtools.
you would use ;

sfdisk -d /dev/hdh |sfdisk /dev/hde

to clone the partition data, then

mdadm -a /dev/md0 /dev/hde1


    </pre>
  </blockquote>
</blockquote>
I know you can create a raid1 array with only one drive and add the
other drive later, because I have done it.<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
   ,---.____________      _        ============   .
 /'                  \   |  \       I_  O  _I_,==.:
| A beer doesn't get  &gt;--|===`-----'I `---' I |  |:
| upset if you come  /  _ \         I       I |  |:'
| home with another /  (   `-,----============:__;:
| beer!            /  (_    O   __)       \_      :
| ,,---.__________/     (______)          (_)
:/

</pre>
</body>
<p>This Message has been scanned for <br>
viruses and dangerous content by<br>
the San Gabriel Valley Water Co.<a href="http://www.mailscanner.info">MailScanner</a><br>
and is believed to be clean.</p>
</html>