Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 21:48:07 -0600
From:      Eric Crist <mnslinky@gmail.com>
To:        "firmdog@gmail.com" <firmdog@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?)
Message-ID:  <3DEDBF29-E158-4355-867E-ABB31591667B@gmail.com>
In-Reply-To: <fa1676af0711271824nf33e5dch8a29dcbb35f5b613@mail.gmail.com>
References:  <fa1676af0711271108o2bc1744apf1003bd1c637234c@mail.gmail.com> <200711271803.23264.josh@tcbug.org> <fa1676af0711271824nf33e5dch8a29dcbb35f5b613@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 27, 2007, at 8:24 PM, firmdog@gmail.com wrote:

> On Nov 27, 2007 7:03 PM, Josh Paetzel <josh@tcbug.org> wrote:
>
>> On Tuesday 27 November 2007 01:08:49 pm firmdog@gmail.com wrote:
>>> Why was the device removed completely?
>>>
>>>
>>> Can I simply do this?  (want to be sure as this box is remote)
>>>
>>> gmirror forget data
>>>
>>> atacontrol attach ata0
>>>
>>> gmirror insert data ad0
>>
>> IDE devices generally aren't hot swappable, so you're going to have  
>> to
>> take
>> the box down to replace the failed drive (that's why it detached  
>> from the
>> bus).  Once you do that you can rebuild the gmirror.
>>
>
>
> I don't want to hot swap...I want to get the existing bad drive back  
> into
> the mirror and see how long it lasts before gmirror breaks again.
>
> Can I use atacontrol to get the drive back in the system?
>
> Thanks,
> Andy

You can, only if the two drives are on different channels.  If you  
have ad0 and ad1, you're probably out of luck.

-----
Eric F Crist
Secure Computing Networks





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DEDBF29-E158-4355-867E-ABB31591667B>