[WBEL-users] Adding to RAID 1, only sees new partition as spare...
{Scanned} {Scanned}
Scott Silva
ssilva at sgvwater.com
Wed May 18 15:06:25 CDT 2005
Benjamin Smith wrote:
>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:
>
>
>>Benjamin Smith wrote:
>>
>>
>>>I have a server that does backups, and I want to replace an existing 160
>>>
>>>
>GB
>
>
>>>drive, with a RAID 1 300 GB array.
>>>
>>>I don't have enough IDE slots to mount all at the same time. So, I
>>>
>>>
>installed a
>
>
>>>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
>>>
>>>
>the
>
>
>>>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
>>>
>>>
>>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
>>
>>
>>
>>
I know you can create a raid1 array with only one drive and add the
other drive later, because I have done it.
--
,---.____________ _ ============ .
/' \ | \ I_ O _I_,==.:
| A beer doesn't get >--|===`-----'I `---' I | |:
| upset if you come / _ \ I I | |:'
| home with another / ( `-,----============:__;:
| beer! / (_ O __) \_ :
| ,,---.__________/ (______) (_)
:/
This message has been scanned for viruses and
dangerous content by the San Gabriel Valley Water Co.
MailScanner, and is believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://beau.org/pipermail/whitebox-users/attachments/20050518/41c28900/attachment.htm
More information about the Whitebox-users
mailing list