From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 17:25:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57754CEE for ; Fri, 5 Dec 2014 17:25:57 +0000 (UTC) Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13D16AB9 for ; Fri, 5 Dec 2014 17:25:56 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id w8so716747qac.37 for ; Fri, 05 Dec 2014 09:25:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=uLnc4V1UT2nrT/VZZV+NNFbbaiNLBMph2QzwSujGUbc=; b=fRWUMXRSP0PtMJ9u1aGwS0DiIK/coUsnpNOUrABEa497JJOAh9LsHIm0dgwgJxy1f/ J8x9fgEyPXD5bqD5/oUnRSjAaB/vO5CGm82bZ/cGEF9d7EKp0qMd0kaGgEIVPf8+BWhj vmQuWZ/NQpBJmlLXdbmYmQH7cgEOx8slmGA2HSY7oES6fdAYsliIiCvYTNipPFwkRd+B NUet+bkk1K5jVeAGCo9glmDCgr+wcJKrlhHtxLq2OeHmbXX61uQwbWekwYhv3Ws8Be3O oZQbASOPRgb+IzL2973PbdWTkaaGK329lgU+GbRQeTlLbw2jGvRh0JT2FN+H5EXL8D67 Yvbg== X-Gm-Message-State: ALoCoQk3ucngVVwYENr0unLdLNKSbvIkZb8fjLo3bUhgCVQcUVczBSvrrYc1t5apf8iMq0oh0JV2 X-Received: by 10.224.75.193 with SMTP id z1mr26999779qaj.91.1417800355547; Fri, 05 Dec 2014 09:25:55 -0800 (PST) Received: from mbp-1.thecreativeadvantage.com (mail.thecreativeadvantage.com. [96.236.20.34]) by mx.google.com with ESMTPSA id s19sm30291092qay.6.2014.12.05.09.25.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Dec 2014 09:25:54 -0800 (PST) Message-ID: <5481EAA9.5020006@kraus-haus.org> Date: Fri, 05 Dec 2014 12:26:01 -0500 From: Paul Kraus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Problem adding second mirror to zpool References: <20141205015642.GD29540@weller-fahy.com> <20141205111900.GA98593@weller-fahy.com> In-Reply-To: <20141205111900.GA98593@weller-fahy.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2014 17:25:57 -0000 On 12/5/14 6:19, David J. Weller-Fahy wrote: > * David J. Weller-Fahy > [2014-12-04 21:03 -0500]: >> #v+ >> root@nastie:~ # zpool attach pool \ >> /dev/gptid/c6ede2a4-78a6-11e4-8646-0014222d98da \ >> /dev/gptid/fadbb43d-7aa2-11e4-8452-0014222d98da >> cannot attach /dev/gptid/fadbb43d-7aa2-11e4-8452-0014222d98da to \ >> /dev/gptid/c6ede2a4-78a6-11e4-8646-0014222d98da: no such device in >> pool >> #v- >> >> Can anyone tell me how to add the last drive (ada1) without losing the >> data on the drive? > > Apologies: I just re-read this, and it doesn't say what I thought it > said. To rephrase: Can anyone tell me how to add ada1p1 to the pool > without losing the data that is on ada3p1 (which is already in the > pool)? I don't care about the data on ada1p1, because I just formatted > the darn thing. The error is about the first device not being in the zpool, so I would first make sure that I shell completed the device name (path) instead of cut and paste or typing. A hidden character (backspace maybe) could make this fail. If that fails I would try exporting the importing the zpool. I saw your comment about size, but error is not related to size of the new device, but that the zpool command cannot find the existing device in the zpool to attach the new one to. You _may_ still have a space issue, but that is not this error. -- -- Paul Kraus paul@kraus-haus.org Co-Chair Albacon 2014.5 http://www.albacon.org/2014/