From owner-freebsd-current@FreeBSD.ORG Tue Jun 28 15:09:30 2011 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 1094C1065670 for ; Tue, 28 Jun 2011 15:09:30 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id C41D48FC14 for ; Tue, 28 Jun 2011 15:09:29 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1QbZuq-0008BF-FH>; Tue, 28 Jun 2011 17:09:28 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1QbZuq-0000x0-D9>; Tue, 28 Jun 2011 17:09:28 +0200 Message-ID: <4E09EEA8.9020006@zedat.fu-berlin.de> Date: Tue, 28 Jun 2011 17:09:28 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110627 Thunderbird/3.1.11 MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: CAM/SATA: attach/detach problems with harddrive 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: Tue, 28 Jun 2011 15:09:30 -0000 Hello. Several maintenance of a ZFS pools has to be done and my intention was to swap the 2TB hd disk (WDC WD20EARS-00MVWB0) with a 3TB hd disk (WD30EZRX). zfs umount works well, zpool export POOL also worked well, but I didn't find any "detach command" within camcontrol (I use the new AHACI/CAM layout in the kernel on FreeBSD 9.0-CURRENT/amd64 r223597, so my harddrives all show up as ada0 to ada4. Since the box has a IcyDock 5-Slot backplane attached to the ICH0R chipset and camcontrol doesn't reveal any detach command like atacontrol did, I trusted in hotplugging capabilities and simply pulled the disk. All right, the box reported a lost device but did not crash. The I inserted the new drive. Entered camcontrol rescan all and camcontrol devlist showed up the new device. But I can't do anything with the drive. Even with the former device inserted again, rescaned etc., a zpool import command get stuck as well as any diskinfo -ctv ada4 issued to the device. The drive shows up in camcontrol devlist, but seems inoperable. What I'm doing wrong? Oliver