From owner-freebsd-questions@FreeBSD.ORG Thu Oct 5 08:33:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 439B716A40F for ; Thu, 5 Oct 2006 08:33:03 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30C6643D6A for ; Thu, 5 Oct 2006 08:32:53 +0000 (GMT) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id DA64E31C999 for ; Thu, 5 Oct 2006 10:34:02 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75708-04 for ; Thu, 5 Oct 2006 10:34:02 +0200 (SAST) Received: by sirian.hst.org.za (Postfix, from userid 1004) id B084E31C997; Thu, 5 Oct 2006 10:34:02 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 22C9031C991 for ; Thu, 5 Oct 2006 10:34:02 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: FreeBSD Questions list Date: Thu, 5 Oct 2006 10:34:35 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610051034.35795.jonathan@hst.org.za> X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on sirian.hst.org.za X-Spam-Level: X-Spam-Status: No, hits=-4.4 required=7.0 tests=BAYES_00, REMOVE_REMOVAL_2WORD autolearn=no version=2.61 X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Removing removable ATA hard drives 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, 05 Oct 2006 08:33:03 -0000 I recently bought a drive caddy for an ATA hard drive. The unit is in two parts: a cassette, into which can be fitted a standard ATA hard drive, and a carrier permanently fitted into a standard drive bay. The carrier includes a power keyswitch for the drive bay. I installed it, brought the box (running 4.9) back up, and then switched on the power to the drive. FreeBSD didn't recognise the drive even after an atacontrol reinit of the channel. I then dropped the box and brought it back up with the keyswitch for the drive in the ON position. It now recognises the drive (could this be BIOS-related?). Is it safe to simply switch the power to the drive off using the keyswitch and then remove the cassette with the server running but the drive bay powered down? Do I need to do anything other than ensure that the drive is unmounted at the time? And having done that, if I replace the drive and then reapply power using the keyswitch, would I need to do anything to get FreeBSD to notice the return of the device? I'm reluctant to experiment any more than I have done: the server the drive bay has been fitted to is our live fileserver, with 120GB of user data on two drives on the other ATA channel. Jonathan