From owner-freebsd-questions@FreeBSD.ORG Sun Mar 16 20:10:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31E26106564A for ; Sun, 16 Mar 2008 20:10:18 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6661E8FC1A for ; Sun, 16 Mar 2008 20:10:17 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so3298640rvb.43 for ; Sun, 16 Mar 2008 13:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=acnQRr8qb16fCjsJsluCDjjC+CALHJXt1tC+gTJ4d14=; b=XQm+9Ze0YmzMUx7YPoIqyNFYHt0lgk13Ld3RfZYcdX7KkxYpj8kLTDyD6XPHxovjMz2cgWd+N5elzmszgVu5ys4s0e3J5nWDk137r6zz8aSLZ1kaWDJyo/26HPeArYyTiGZlp6oYNd29h+266Y8zSw1qnoNR2NCpNqRw8hbwneI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=je2rvcrTpI8eDO/23V42WSa4uE9A2kHU4DwcxefJ7j/SkB/cWKpi1AbnPbb+DgK7IyI/Mk2rK5PElFDZVgtTFSuAA7A6nFnhIXAid1/zmHkRS9UvXM2CWoxxtdNVLC6oZvq4ahu0Qq+rpqoUfEvDCKA9UW5SRCpFZPW6Fyf1KXM= Received: by 10.141.171.6 with SMTP id y6mr7282096rvo.174.1205698216465; Sun, 16 Mar 2008 13:10:16 -0700 (PDT) Received: by 10.141.170.5 with HTTP; Sun, 16 Mar 2008 13:10:16 -0700 (PDT) Message-ID: Date: Sun, 16 Mar 2008 16:10:16 -0400 From: "illoai@gmail.com" To: "Omar Siddique" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Shuffling GEOM mirror components X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2008 20:10:18 -0000 On 16/03/2008, Omar Siddique wrote: > Hi folks, > > I've been using GEOM mirror, and plan to expand my usage. I was wondering > how easy it is to deal with physical moves of the component drives of a > mirror. > > Eg, I have this GEOM mirror, and I migrate the hardware. What's now ad6 > becomes ad4 and ad7 becomes ad6. What's the recommended way to do this, > or does it "just work" when GEOM discovers the providers in their new > locations? > > > gmirror status > Name Status Components > mirror/odata COMPLETE ad6 > ad7 > > I checked manpages and handbook but didn't see any info there. > > (running on FreeBSD 6.3-RELEASE) geom tastes every hard drive it can for that bacony goodness in the last few tracks and is, in that way, as automagical as you could want. Since all the mirrhour info is contained in these meta-data (including the massively overbitted $id_number of any additional providers) as long as they're there, it should attach just fine. Nice way of solving that old: "My scsi controllers probe in dif'rent order every boot and da6 bekommt da9 some- times, help?" -- --