From owner-freebsd-questions Fri Mar 2 11: 2:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 83D9737B71C for ; Fri, 2 Mar 2001 11:02:41 -0800 (PST) (envelope-from rjmcintire@earthlink.net) Received: from emilyd ([64.161.77.242]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0G9L00M9638VAN@mta6.snfc21.pbi.net> for freebsd-questions@FreeBSD.org; Fri, 2 Mar 2001 10:55:44 -0800 (PST) Date: Fri, 02 Mar 2001 10:55:44 -0800 From: "Riley J. McIntire" Subject: RE: Hot swap IDE device? In-reply-to: <3A9FDC18.3D1728A6@ecenet.com> To: FreeBSD Questions , chris@northernbrewer.com Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Seems to me your kit makes IDE a "hot-swap" bus. As long as you umount the drive before you power it down and mount it after you power it up you should be ok. man fstab. I would suggest an entry in /etc/fstab with the "noauto" option. The drive won't be mounted at boot then. eg: /dev/ad1s1e /some_mnt_dir ufs rw,noauto 2 2 You can then mount it with mount /some_mnt_dir and unmount with umount /some_mnt_dir hth, Riley > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Porter > Sent: Friday, March 02, 2001 9:45 AM > To: Artem Koutchine > Cc: Christopher Farley; freebsd-questions@FreeBSD.ORG > Subject: Re: Hot swap IDE device? > > > Well, besides the implications of damaging the drive, which we'll assume > is "fixed" because of the "kit", > there's the fact that the drives are mounted. I would think that with > some hacking, > you could get the drive to work like a cdrom. With a cdrom you can > unmount, change, and mount a new one. > The only problem then, I would think, would be the BIOS freaking out > because you just swapped > a 500MB drive for a 7TB drive :) I would have no clue how to go about > this, my assumption is that you'd have > to have a program that manipulate the BIOS, or a program to "bypass" > anything the BIOS cares about. I don't even know > how much the BIOS has to do with the computer once it is fully booted, > so these are just speculations. > Michael Porter > ocean@ecenet.com > > Artem Koutchine wrote: > > > This is a bad idea. IDE is not a plug-n-play (or to say > > it right: HOT SWAP) bus. You might disconnect > > a drive more or less safely, but reconnecting a drive into > > a working system can cause all kinds of troubles. And it > > has nothing to do with FreeBSD. It is related to > > electric schematic and interface standards. If you need > > hot swap try: SCSI, USB, FireWire??? drives. > > Regards, > > Artem > > > > > Is there any way to get FreeBSD to add/remove an IDE device from a > > > running system? > > > > > > I'm experimenting with a $15 removable IDE hard drive kit. I would > > > ideally like to be able to power down the drive, remove it, insert > > > a new drive (possibly a different manufacturer/capacity), power it > > > up, and force FreeBSD to recognize the new IDE device. > > > Is this possible? > > > I assume I can swap identical drive models endlessly, and FreeBSD > > would > > > be none the wiser. However, two years down the road, it will be > > impossible > > > to replace a broken drive with the identical model. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message