From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 13:24:38 2003 Return-Path: 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 0337A16A4CE for ; Sat, 22 Nov 2003 13:24:38 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6603B43F3F for ; Sat, 22 Nov 2003 13:24:36 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu163-100-105.nc.rr.com [24.163.100.105]) hAMLOUFm021806; Sat, 22 Nov 2003 16:24:35 -0500 (EST) Message-ID: <3FBFD40C.6020703@mindcore.net> Date: Sat, 22 Nov 2003 16:24:28 -0500 From: Scott W User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Toomas Aas References: <200311222031.hAMKVwm2006917@lv.raad.tartu.ee> In-Reply-To: <200311222031.hAMKVwm2006917@lv.raad.tartu.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: (Semi)hot swap IDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 21:24:38 -0000 Toomas Aas wrote: >Hello! > >I'm looking for a cheap solution to back up a FreeBSD 4.8 machine. >Cheap meaning that tape drives are out of question. Even external >FireWire drives are deemed a bit too expensive by the folks for whom >I'm doing this research. > >This leaves one option I can think of - standard IDE drive in one of >those removable HDD trays. We'd probably use two drives, one being >active in the machine and the other being kept somewhere out of the >house for safety. The machine has an integrated Promise TX2 controller >and two 80 GB drives are currently configured as RAID1 attached to this >controller. There are two additional (non-RAID) IDE channels on the >motherboard, one of them has CD-ROM attached to it and the other is >free - I could attach the backup HD to that. > >I've done some web searching and I'm getting controversial results. >Most of the info I find seems to indicate that IDE devices cannot be >hot-swapped. At the same time some vendors are trying to sell stuff on >their web pages which they advertise as "hot swap IDE drive bays". I >remain skeptical. > >If the majority is right and IDE drives cannot be hot swapped, this >would indicate that we would need to power down the machine every time >we want to change the backup HDs. This would be less than perfect, but >since we are cheap we could live with it. > >OTOH I read 'man atacontrol' and saw that there are commands like >'atacontrol detach' and 'atacontrol attach' which seem to be meant for >detaching/attaching IDE devices while the machine is running. Does this >mean that I could actually run 'atacontrol detach ', swap the >drive and then run 'atacontrol attach ' and be able to use the >second HD after that? Is anyone doing something like that? >-- >Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ >* I don't know whether to kill myself or go bowling > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Tomas- this may not be of much help, but hopefully some at least. I dislike IDE and tend ot avoid it like the plague when possible, but: 1. The 'generic' removeable drive trays for IDE that use a normal IDE controller (like attaching to the slave or secondary channel on most onboard IDE), with another disk or device attached that's being used, do not support removeable devices. It's _extremely_ likely that you'll hang the IDE bus. 2. Having mentioned #1 already, it's _possible_ that using a secondary controller (unsure if this can be the second channel of onboard or not, but NOT simply the slave of a given channel with another device), and atacontrol, it appears (no, I have not tried this), you can bring the controller itself (or channel?) offline, attach or remove the drive, and then reattach it. I'd like to hear more details on this one myself, and may have a system I can test it on if I get too bored, but have long ago chucked my IDE trays.. 3. Using one of the relatively inexpensive IDE RAID controllers, with an enclosure, should allow you to remove and add drives without issues. 4. Other ideas- backup to a single network fileserver equipped with RAID or additional drives for backup only. other network system- direct to tape USB hard drive caddies- have seen these, but not used, converts IDE drives to USB device, can re-use existing IDE drives for backup via USB port. Scott