Re: ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?)



On Nov 27, 2007, at 8:24 PM, firmdog@xxxxxxxxx wrote:

On Nov 27, 2007 7:03 PM, Josh Paetzel <josh@xxxxxxxxx> wrote:

On Tuesday 27 November 2007 01:08:49 pm firmdog@xxxxxxxxx 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


_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: geom - help ...
    ... gstripe st1 da1 da2 ... gmirror drive st1 st2 ... easier and faster--you only need to rebuild component mirror (which involves ... I have three drives (two of which were scavenged from other ...
    (freebsd-questions)
  • Re: gmirror setup
    ... the article depicts creating the gmirror immediately following ... also, the doc didnt mention it, but if you do use to differing disk sizes, ... If there is a data error, gmirror will faithfully replicate that error on the other drive. ... You may not find out that a drive has failed until both drives fail especially if you're not keeping a close eye on your daily reports, ...
    (freebsd-questions)
  • gmirror + usb problem
    ... Two usb attached WD myBook 500gb external drives. ... Nothing seems to entice the second provider to sync up. ... I have tried setting gmirror to auto rebuild and manual, ... GEOM_MIRROR: Device ext0: provider da0 detected. ...
    (freebsd-stable)
  • Re: Increase Disk Size in a gmirror RAID1
    ... What I've done so far is to forget da1 from the gm0 mirror, restart, and put the 73GB into drive bay two. ... Then shutdown, remove the 36GB da0, put in the second 73GB drive, boot and them get gmirror to sync things from the 73GB drive. ... Now, since gmirror applied its slice and disklabel partition, checking disk usage shows that the system sees the disk still as a 36GB and the /web partition I wanted to increase was still at 18GB, instead of the 51GB I needed. ... Restart the server and once booted back in get both bigger drives in sync with gmirror and everything is good to go! ...
    (freebsd-questions)
  • Re: gmirror: replacing failed disks
    ... The technique I've used to build the gmirror can be found ... > has hot-swappable drives, so all I need to do is pull a drive out while ... > One disk failed. ... slicetable (on ad4) geom will recognice that the missing disk has been ...
    (freebsd-questions)