From owner-freebsd-fs@FreeBSD.ORG Fri Aug 21 03:36:34 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA3F5106568D for ; Fri, 21 Aug 2009 03:36:34 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (email.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id AAB8B8FC16 for ; Fri, 21 Aug 2009 03:36:34 +0000 (UTC) Received: by email.octopus.com.au (Postfix, from userid 1002) id A701917195; Fri, 21 Aug 2009 13:38:07 +1000 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 Received: from [10.1.50.60] (ppp121-44-56-25.lns10.syd7.internode.on.net [121.44.56.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id 3636B173B2; Fri, 21 Aug 2009 13:38:00 +1000 (EST) Message-ID: <4A8E15F9.6000303@modulus.org> Date: Fri, 21 Aug 2009 13:35:21 +1000 From: Andrew Snow User-Agent: Thunderbird 2.0.0.14 (X11/20080523) MIME-Version: 1.0 To: Randy Bush References: <4A8E0C80.9030908@modulus.org> <4A8E0F39.6070407@modulus.org> <4A8E1347.3020301@modulus.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs Subject: Re: re-adding a replacement into a pool of mirrors X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 03:36:35 -0000 Randy Bush wrote: >>> # zpool attach tank da0s3 da1s3 >>> cannot attach da1s3 to da0s3: permission denied >> What about attach -f ? > > # zpool attach -f tank da0s3 da1s3 > cannot attach da1s3 to da0s3: permission denied I think this stage should be working, unless something else in the system is already using da1s3 or has it opened. Can you check through your system to see if any other parts of eg. geom have decided to take da1s3 for their purposes?