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

Josh Paetzel josh at tcbug.org
Tue Nov 27 16:26:59 PST 2007


On Tuesday 27 November 2007 01:08:49 pm firmdog at gmail.com wrote:
> This just happened on my server:
>
> Nov 22 03:21:11 sockeye kernel: ad0: TIMEOUT - WRITE_DMA retrying (2
> retries left) LBA=28892960
> Nov 22 03:21:11 sockeye kernel: ad0: WARNING - removed from configuration
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Device gm0s1: provider ad0
> disconnected.
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=6).
> ad0[WRITE(offset=13881704448, length=12288)]
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=6).
> ad0[WRITE(offset=14795718656, length=2048)]
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=6).
> ad0[WRITE(offset=770891776, length=16384)]
> Nov 22 03:21:11 sockeye kernel: ata0-master: FAILURE - WRITE_DMA timed out
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=5).
> ad0[WRITE(offset=14793195520, length=2048)]
>
> Now the ad0 Master drive no longer exists:
>
> -su-2.05b$ sudo atacontrol list
> ATA channel 0:
>     Master:      no device present
>     Slave:  acd0 <SONY CD-ROM CDU5212/5YS1> ATA/ATAPI revision 5
> ATA channel 1:
>     Master:  ad2 <WDC WD800JB-00JJA0/05.01C05> ATA/ATAPI revision 6
>     Slave:   ad3 <WDC WD400BB-75FRA0/77.07W77> ATA/ATAPI revision 6
>
>
> What is the relationship between atacontrol and gmirror?
>
>
> 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.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20071128/458e8630/attachment.pgp


More information about the freebsd-hackers mailing list