Date: Thu, 19 Jan 2006 14:53:42 +0000 From: Thomas Hurst <tom.hurst@clara.net> To: freebsd-stable@freebsd.org Subject: Re: Gmirror'd SWAP: no dump? Message-ID: <20060119145342.GA86397@voi.aagh.net> In-Reply-To: <20060119123428.GD19305@voodoo.schug.net> References: <20060119121602.GC19305@voodoo.schug.net> <00c301c61cf2$8e9a7b70$68c8a8c0@lerctr.org> <20060119123428.GD19305@voodoo.schug.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* Christoph Schug (chris+freebsd-stable@schug.net) wrote: > IIRC I had the problem that 'gmirror insert' without '-h' not always > inserted the slice specified by the entire block device (e.g. > /dev/ad4s1 vs. /dev/ad4). Apparently there is some auto detection > code and/or gmirror cannot differ correctly, but that's just a > guess. Specifing '-h' fixed it in my case. As I understand it, gmirror writes its metadata on the last sector of the provider; when tasting devices it will look at the last sector of ad4, find the metadata and use that as the provider for your mirror; you can either hardcode the provider name there to override it, or make the slice 1 sector smaller so gmirror tastes ad4, finds nothing, then goes on to taste ad4s1 correctly. -- Thomas 'Freaky' Hurst http://hur.st/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060119145342.GA86397>