From owner-freebsd-current@FreeBSD.ORG Fri Jan 22 21:18:14 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39020106568B; Fri, 22 Jan 2010 21:18:14 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 786C88FC1F; Fri, 22 Jan 2010 21:18:13 +0000 (UTC) Received: by bwz5 with SMTP id 5so1494797bwz.3 for ; Fri, 22 Jan 2010 13:18:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.16.194 with SMTP id p2mr1952836bka.32.1264195092177; Fri, 22 Jan 2010 13:18:12 -0800 (PST) In-Reply-To: <4B597CBB.5040900@omnilan.de> References: <4B55D9D4.1000008@FreeBSD.org> <4B597CBB.5040900@omnilan.de> Date: Fri, 22 Jan 2010 22:18:11 +0100 Message-ID: <367b2c981001221318q6a59913av14cceca4a2dab132@mail.gmail.com> From: Olivier Smedts To: Harald Schmalzbauer Content-Type: text/plain; charset=ISO-8859-1 Cc: Alexander Motin , FreeBSD-Current , FreeBSD Stable Subject: Re: Pack of CAM improvements X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 21:18:14 -0000 2010/1/22 Harald Schmalzbauer : > Alexander Motin schrieb am 19.01.2010 17:12 (localtime): > ... >> >> Patch can be found here: >> http://people.freebsd.org/~mav/cam-ata.20100119.patch >> >> Feedback as always welcome. > > Again, thanks a lot for your ongoing great work! > The patch doesn't cleanly apply with vpo, but I don't use vpo so I didn't > care. Since r202799 it applies cleanly to 8-STABLE. > Otherwise I couldn't find any problems. > The system detects reinserted SATA drives on ICH9 fine. > > This was tested on a zfs backup server which went to the backbone yesterday, > so I can't physically remove any devices any more for testing... > > But I had some questions about zfs raidz states. I think that isn't a matter > of atacam but if I removed one disk, zpool status still showed me the ada3 > device "online". > After reinserting (and proper detection/initialisazion with cam, ada3 was > present again) and zpool clean, it set the devicea as UNAVAIL sinve I/O > errors. > I coudn't get the device into the pool again, no matter what I tried. > Only rebooting the machine helped. Then I could clean and scrub. > > What are the needed steps to provide a reinsterted hard disk to geom? With > the latest patches I don't need to issue any reset/rescan comman, right? > So it's a zfs problem, right? My mistake in understanding? > > Thanks, > > -Harry > > -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."