From owner-freebsd-fs@FreeBSD.ORG Wed May 2 16:46:38 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97562106566B for ; Wed, 2 May 2012 16:46:38 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id 236708FC08 for ; Wed, 2 May 2012 16:46:38 +0000 (UTC) Received: (qmail 60229 invoked by uid 110); 2 May 2012 16:46:37 -0000 Received: from ool-4571afe7.dyn.optonline.net (HELO desktop1) (simon@optinet.com@69.113.175.231) by cobra.acceleratedweb.net with SMTP; 2 May 2012 16:46:37 -0000 From: "Simon" To: "freebsd-fs@freebsd.org" Date: Wed, 02 May 2012 12:46:30 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: <20120502013129.093C51065670@hub.freebsd.org> MIME-Version: 1.0 Message-Id: <20120502164638.97562106566B@hub.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 16:46:38 -0000 Am I the only one using this SCSI card and ZFS? does anyone use any type of Adaptec U320 SCSI card? I hardly doubt the behaviour I'm experiencing is strictly related to ahd driver. When I first read about ZFS I've built up high hopes, but now they are slowly fading away. -Simon On Tue, 01 May 2012 21:31:20 -0400, Simon wrote: >ahd0: >on board of Super X5DPR-8G2+ motherboard. >Also would like to add that when I plug a drive into this running machine, it >prints the following, but does not come up under /dev unless I issue reset >using camcontrol. >ahd0: Someone reset channel A >(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 1 10 23 f0 0 0 80 0 >(da0:ahd0:0:0:0): CAM status: SCSI Status Error >(da0:ahd0:0:0:0): SCSI status: Check Condition >(da0:ahd0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,1 (Power on occurred) >(da0:ahd0:0:0:0): Field Replaceable Unit: 1 >-Simon >On Tue, 1 May 2012 20:57:52 -0400, Rich wrote: >>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 system spits >>> the following: >>> >>> ahd0: someone reset channel A >>> ahd0: WARNING no command for scb 242 (cmdcmplt) >>> QOUTPOS = 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 3 07:15:25 >>> UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >>> >>> 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 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 >>> >>> >>> >>> _______________________________________________ >>> 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" >_______________________________________________ >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"