Date: Fri, 02 Mar 2001 10:55:44 -0800 From: "Riley J. McIntire" <rjmcintire@earthlink.net> To: FreeBSD Questions <freebsd-questions@FreeBSD.org>, chris@northernbrewer.com Subject: RE: Hot swap IDE device? Message-ID: <NCBBLBILEPCHLFJAPIIPAEOIFFAA.rjmcintire@earthlink.net> In-Reply-To: <3A9FDC18.3D1728A6@ecenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBLBILEPCHLFJAPIIPAEOIFFAA.rjmcintire>
