From owner-freebsd-fs@FreeBSD.ORG Wed May 2 00:57:53 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 4D36E106566C for ; Wed, 2 May 2012 00:57:53 +0000 (UTC) (envelope-from rincebrain@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F41CE8FC08 for ; Wed, 2 May 2012 00:57:52 +0000 (UTC) Received: by qcsg15 with SMTP id g15so63989qcs.13 for ; Tue, 01 May 2012 17:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=g2srQJ+hw436P8vNz8OlysN+0+lCBFJyC13O77uYmNo=; b=SWh8tf6sqBngZNhaLaGo8Jx4AgizGcTfy4mjTvFNqV6Jzvm2t2L+0hTcRM09yQ+03i cwKwna89/K1klg8UmJTXQ8SuZf0dGBmIeLBWQMrTw2+GrRIUzVlUbK4IX3Ezwbwq1h7l SMcQxiy5Wi6MCGf9OeXJShskj/atT4RwBtxuAxX6IfOYQwSVUv4mensi9YbzT2a6YE6K ONDTernkic3nwA4VAUqpHjQZ01w6GxMOKwBZq0ybw/I0Iwn7kIQBa3vDlDRSvrOYutDc GuI6tgDcmpfwDY1GWcgVwquv7Q1UxtEum41GS1BzoslmbLjXS5rCqZFikS/JeqQwiZLI cbdA== MIME-Version: 1.0 Received: by 10.229.134.207 with SMTP id k15mr6869721qct.78.1335920272137; Tue, 01 May 2012 17:57:52 -0700 (PDT) Sender: rincebrain@gmail.com Received: by 10.229.233.10 with HTTP; Tue, 1 May 2012 17:57:52 -0700 (PDT) In-Reply-To: <20120501221536.4F8E4106564A@hub.freebsd.org> References: <20120501221536.4F8E4106564A@hub.freebsd.org> Date: Tue, 1 May 2012 20:57:52 -0400 X-Google-Sender-Auth: X6WkJJaR04lICrkmzg9Betv0zE4 Message-ID: From: Rich To: Simon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 02 May 2012 00:57:53 -0000 What card is this? - Rich On Tue, May 1, 2012 at 6:15 PM, Simon wrote: > > Sorry, I meant to say zpool offline. > > After I take the drive out marked as offline, and put it back in, the sys= tem spits > the following: > > ahd0: someone reset channel A > ahd0: WARNING no command for scb 242 (cmdcmplt) > QOUTPOS =3D 283 > >>>>>>>>>>>>>>>>>>>>Dumpt Card State Begins>>>>>>>>>>>> > ahd0: dumping card state.... followed by a lard amount of data. > > It then freezes and won't executed any new commands. > > beta_srv# uname -a > FreeBSD beta_srv 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan =A03 07:15:2= 5 > UTC 2012 =A0 =A0 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC= =A0i386 > > beta_srv# dmesg | grep ses > ses0 at ahd0 bus 0 scbus0 target 6 lun 0 > ses0: Fixed Processor SCSI-2 device > ses0: 3.300MB/s transfers > ses0: SAF-TE Compliant Device > > Thanks, > Simon > > On Tue, 1 May 2012 14:26:35 -0700, Freddie Cash wrote: > >>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 lega= cy >>> hardware RAID cards that don't properly perform, or at all, patrol-read= s + >>> 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. =A0The correct process is: > >>zpool offline zroot >> >> >> >>zpool replace zroot > >>"zpool detach" is only used for mirror vdevs. > >>-- >>Freddie Cash >>fjwcash@gmail.com > > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"