From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 14:51:35 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3479E1065670 for ; Thu, 1 Dec 2011 14:51:35 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id E45068FC08 for ; Thu, 1 Dec 2011 14:51:34 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 01 Dec 2011 09:51:34 -0500 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr16.lnh.mail.rcn.net (MOS 4.3.3-GA) with ESMTP id BLH47552; Thu, 1 Dec 2011 09:51:33 -0500 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 01 Dec 2011 09:51:33 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20183.38005.426992.346403@jerusalem.litteratus.org> Date: Thu, 1 Dec 2011 09:51:33 -0500 To: Polytropon In-Reply-To: <20111201120444.b4eb5ce1.freebsd@edvax.de> References: <20182.39340.354254.608836@jerusalem.litteratus.org> <4ED735CD.7030505@cyberleo.net> <20111201120444.b4eb5ce1.freebsd@edvax.de> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: questions@freebsd.org Subject: SOLVED: problem formating disk with gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 14:51:35 -0000 Polytropon writes: > > If I remember correctly, the old ATA subsystem (ad*) does not support > > hotswap notification, so the kernel will not see a device change until > > reboot or reinit. You should probably be using AHCI (if the driver > > supports your chipset) or very careful use of atacontrol detach, attach, > > or reinit. > > I'm not fully sure if this applies here, but there are > the following commands: > > atacontrol attach channel > atacontrol detach channel > atacontrol reinit channel > atacontrol spindown device [seconds] > atacontrol list > > It seems as they are intended to support "manual hotswapping" > to be done with SATA. See "man atacontrol" for details. I did: >> atacontrol detach ata0 >> atacontrol attach ata0 and the disk showed up correctly. Proceeded to partitioning and newfs, and - I have a working disk. Thanks, everyone, for the help. Robert Huff