Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 18:03:20 -0600
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-hackers@freebsd.org
Cc:        "firmdog@gmail.com" <firmdog@gmail.com>
Subject:   Re: ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?)
Message-ID:  <200711271803.23264.josh@tcbug.org>
In-Reply-To: <fa1676af0711271108o2bc1744apf1003bd1c637234c@mail.gmail.com>
References:  <fa1676af0711271108o2bc1744apf1003bd1c637234c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart8908120.kgiLXA6sxj
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 27 November 2007 01:08:49 pm firmdog@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=3D28892960
> 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=3D6).
> ad0[WRITE(offset=3D13881704448, length=3D12288)]
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D6).
> ad0[WRITE(offset=3D14795718656, length=3D2048)]
> Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D6).
> ad0[WRITE(offset=3D770891776, length=3D16384)]
> 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=3D5).
> ad0[WRITE(offset=3D14793195520, length=3D2048)]
>
> 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=
=20
the box down to replace the failed drive (that's why it detached from the=20
bus).  Once you do that you can rebuild the gmirror.

=2D-=20
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB

--nextPart8908120.kgiLXA6sxj
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHTLBLJvkB8SevrssRAhHAAJ9XXuGXa7OE9fkNo6cv1aG4SU0GAgCeJMaX
dvgfvtdYZcFYq1XlVhTC06M=
=OWgC
-----END PGP SIGNATURE-----

--nextPart8908120.kgiLXA6sxj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711271803.23264.josh>