Date: Tue, 18 Jan 2005 22:36:19 -0600 From: Doug Poland <doug@polands.org> To: Christian Hiris <4711@chello.at> Cc: questions@freebsd.org Subject: Re: gmirror: replacing failed disks Message-ID: <20050119043619.GA97100@polands.org> In-Reply-To: <3096.69.48.112.135.1106060568.squirrel@69.48.112.135> References: <20050116201414.GA76014@polands.org> <200501162315.01954.4711@chello.at> <20050118035422.GA41480@polands.org> <200501180614.46957.4711@chello.at> <3096.69.48.112.135.1106060568.squirrel@69.48.112.135>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 18, 2005 at 09:02:48AM -0600, Doug Poland wrote: > > >> GEOM_MIRROR: Component ad4 (device gm0s1) broken, skipping. > >> GEOM_MIRROR: Cannot add disk ad4 to gm0s1 (error=22). > > > > You can set 'kern.geom.mirror.debug=2' in /boot/loader.conf. This > > tells you more about what happens. I tested all this at a very early > > stage of development, so gmirror's behaviour might have changed. > > There is also a small chance that some bits in my brain got lost > > since I tested his :) > > > I set this while the OS is running. GEOM_MIRROR responds every 5 > seconds.... > > GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. > GEOM_MIRROR[2]: Metadata on ad6 updated. > GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. > GEOM_MIRROR[2]: Metadata on ad6 updated. > > Can I get gmirror to attempt to connect to ad4 again? I tried an > atcontrol reinit 2, that didn't do it. I also tried gmirror rebuild > gm0s1 ad4, but gmirror said: "No such provider: ad4". > Sorry to reply to my own post, but when I rebooted the box, this is what I see in /var/log/messages concerning gmirror: ... snip ... Jan 18 21:06:10 sgwww02 kernel: ad4: 76319MB <WDC WD800JD-00HKA0/13.03G13> [155061/16/63] at ata2-master SATA150 Jan 18 21:06:10 sgwww02 kernel: ad6: 76319MB <WDC WD800JD-00JNA0/05.01C05> [155061/16/63] at ata3-master SATA150 Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Device gm0s1 created (id=594613568). Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Device gm0s1: provider ad4 detected. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Device gm0s1: provider ad6 detected. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Component ad4 (device gm0s1) broken, skipping. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Device gm0s1: provider ad6 activated. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 launched. Jan 18 21:06:10 sgwww02 kernel: Mounting root from ufs:/dev/mirror/gm0s1a Jan 18 21:06:10 sgwww02 kernel: em0: Link is up 100 Mbps Full Duplex Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:10 sgwww02 kernel: em0: Link is up 100 Mbps Full Duplex Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:10 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:17 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:17 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:17 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:17 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:22 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:22 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:22 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:22 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:32 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:32 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:32 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:32 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:46 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:46 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:46 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:46 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:52 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:06:52 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:06:52 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:06:52 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:07:02 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:07:02 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:07:02 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:07:02 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. Jan 18 21:07:12 sgwww02 kernel: GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. Jan 18 21:07:17 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as clean. Jan 18 21:07:17 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. Jan 18 21:07:17 sgwww02 kernel: GEOM_MIRROR[1]: Disk ad6 (device gm0s1) marked as dirty. Jan 18 21:07:17 sgwww02 kernel: GEOM_MIRROR[2]: Metadata on ad6 updated. and on and on... Not sure what to do to get gmirror to recogonize this disk. -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050119043619.GA97100>