From owner-freebsd-current@FreeBSD.ORG Mon Aug 1 15:33:37 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D73AC16A41F for ; Mon, 1 Aug 2005 15:33:37 +0000 (GMT) (envelope-from justin@redwiredesign.com) Received: from smtp.bulldogdsl.com (cht-smtp-001.bulldogdsl.com [83.146.21.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 736EB43D45 for ; Mon, 1 Aug 2005 15:33:37 +0000 (GMT) (envelope-from justin@redwiredesign.com) Received: by smtp.bulldogdsl.com (Postfix, from userid 1002) id CB73C1EF439; Mon, 1 Aug 2005 16:33:35 +0100 (BST) Received: from justin (office.redwiredesign.com [212.158.253.186]) by smtp.bulldogdsl.com (Postfix) with ESMTP id 1BA0D1EF415 for ; Mon, 1 Aug 2005 16:33:35 +0100 (BST) From: "Justin Finkelstein" To: Date: Mon, 1 Aug 2005 16:33:24 +0100 Organization: Redwire Design Limited Message-ID: <006701c596ae$5eb31e00$0b02a8c0@justin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on smtp.bulldogdsl.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 Subject: Hot-swap SATA and atacontrol 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: Mon, 01 Aug 2005 15:33:38 -0000 Hi I'm trying to find out about the safety of hot-swappable sata devices when not using a raid configuration. What I'd like is to be able to remove a hot-swap drive while the system's powered up. The drive has its own sata channel, so I issue the following commands: umount /dev/ad2s1d - to dismount the drive atacontrol detach 1 - to stop all further ata commands going to the device This appears to work just fine, but I'd like a second opinion. Any thoughts? j. Redwire Design Limited Studio 12 37 Tanner Street London SE1 3LF [ www.redwiredesign.com ] [ 020 7403 1444 ] - voice [ 020 7378 8711 ] - fax