From owner-freebsd-fs@FreeBSD.ORG Fri Aug 21 04:30:33 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 B9E73106568E for ; Fri, 21 Aug 2009 04:30:33 +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 791DB8FC51 for ; Fri, 21 Aug 2009 04:30:33 +0000 (UTC) Received: by email.octopus.com.au (Postfix, from userid 1002) id B29D217E45; Fri, 21 Aug 2009 14:32:04 +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 C4C4A171A7; Fri, 21 Aug 2009 14:32:00 +1000 (EST) Message-ID: <4A8E22A1.4080903@modulus.org> Date: Fri, 21 Aug 2009 14:29: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> <4A8E15F9.6000303@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 04:30:33 -0000 Randy Bush wrote: >>> # 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? > > not that i can see. It might be worth zeroing the whole disk with dd if=/dev/zero of=/dev/da1s3 bs=64k, and then see if you can re-attach.