<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
And <i>ALWAYS</i> back up first.  Run a cmuExport on all sites, and mysqldump on all databases.  Copy all data off box first -- just to be safe!
<br />
<br />Chuck
<br /><font size="2">
<br />
<br /><b>---------- Original Message 
-----------</b>
<br />
From: Chris Gebhardt - VIRTBIZ Internet <cobaltfacts@virtbiz.com> 

<br />
To: blueonyx@mail.blueonyx.it 

<br />
Sent: Sun, 06 Apr 2014 23:11:29 -0500 

<br />
Subject: [BlueOnyx:15111] Re: DegradedArray event on /dev/md0 

<br />

<br />> 

On 4/6/2014 9:08 PM, RC Barker wrote: 
<br />> 

> Get this when trying to add what am I missing? 
<br />> 

> mdadm hotadd /dev/md0  /dev/sda1 
<br />> 

> mdadm: An option must be given to set the mode before a second device is 

<br />> 

> listed 
<br />> 


<br />> 


<br />> 

> mdadm /dev/md0 -a /dev/sda1 
<br />> 

> mdadm: cannot find /dev/sda1: No such file or directory 
<br />> 
<br />> 

OK... did you partition the new drive first?   You'll need to make sure  

<br />> 

that you do that. 
<br />> 
<br />> 

NOTE: Don't just copy and paste this, because if you get it wrong,  
<br />> 

you'll wipe out your remaining good disk.  Make sure you edit to fit  

<br />> 

your particular installation & needs. 
<br />> 
<br />> 

This will copy your partition table on /dev/sda to /dev/sdb: 
<br />> 

sfdisk -d /dev/sda | sfdisk /dev/sdb 
<br />> 
<br />> 

If your bad disk is /dev/sda and your good one is /dev/sdb, then you'd  
<br />> 

want to turn that around appropriately.   (ie: swap positions of the sda  

<br />> 

and sdb in the above statement). 
<br />> 
<br />> 

Again, make sure that you get it right, because I'm just trying to help  

<br />> 

you with the command syntax here and can't be responsible for its  
<br />> 

misuse.  Nobody, least of all you, wants to see your next post be "Now 
 
<br />> 

all my data is gone." 
<br />> 
<br />> 

--  
<br />> 

Chris Gebhardt 
<br />> 

VIRTBIZ Internet Services 
<br />> 

Access, Web Hosting, Colocation, Dedicated 
<br />> 

<a target="_blank" href="http://www.virtbiz.com/">www.virtbiz.com</a> | toll-free 
(866) 4 VIRTBIZ 
<br />> 

_______________________________________________ 
<br />> 

Blueonyx mailing list 
<br />> 

Blueonyx@mail.blueonyx.it 
<br />> 

<a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a> 

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>

</BODY>
</HTML>