From owner-freebsd-fs@FreeBSD.ORG Tue May 1 21:26:43 2012 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 42C391065674 for ; Tue, 1 May 2012 21:26:43 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id EEDC28FC14 for ; Tue, 1 May 2012 21:26:42 +0000 (UTC) Received: by qabg1 with SMTP id g1so2574328qab.13 for ; Tue, 01 May 2012 14:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pP6lmtFLTmDJAyW2fN2CjYelUNNkzTLoUTLRuZSTOMw=; b=lJXPJQUf8vF5YwiozkJ74vbNulOKKYiS4tRpc5EC2Wq3KPlSphK/TGk7+hclvFYTPp GdoRbqU9bNcYA5NHfh6LhLPX09egtNyQ8nfzVmDrYH1I5J0fXPr7832/sMu9l5ELf5Jr aNgPzAfXE2cm5MVdj9Rd1t+K//jxqEDdD3UTs7hyyTjP10q7hoWb+0Y5SBxfFRmFKHxU oeOSQiz6EDQYYhmSdSLFnSQwwj029mZgXvTdImaQusS7M9f0vWNFJWwdYrwBJETI28KD uzpPR0bGUf10NUz+pNppWiYmU73jdloDNX+mhIW6vjjkbm9MYW4y50K5eAdRZaHPetbD 5W3g== MIME-Version: 1.0 Received: by 10.229.135.137 with SMTP id n9mr7095091qct.48.1335907595786; Tue, 01 May 2012 14:26:35 -0700 (PDT) Received: by 10.229.191.82 with HTTP; Tue, 1 May 2012 14:26:35 -0700 (PDT) In-Reply-To: <20120501210429.D4F6910657EB@hub.freebsd.org> References: <20120501210429.D4F6910657EB@hub.freebsd.org> Date: Tue, 1 May 2012 14:26:35 -0700 Message-ID: From: Freddie Cash To: Simon Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-fs@freebsd.org" Subject: Re: Replacing dead drives in ZRAID2 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: Tue, 01 May 2012 21:26:43 -0000 On Tue, May 1, 2012 at 1:57 PM, Simon wrote: > I decided to give ZFS ZRAID2 a shot after getting fed up with some legacy > hardware RAID cards that don't properly perform, or at all, patrol-reads + > consistency checking. So... > > I can't seem to figure out the proper way to replace a dead drive in a running > system with SCSI+SES enclosure. I tried: > > zpool detach zroot baddrive > camcontrol stop baddrive You can't detach drives from raidz vdevs. The correct process is: zpool offline zroot zpool replace zroot "zpool detach" is only used for mirror vdevs. -- Freddie Cash fjwcash@gmail.com