From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,26951bca97dd63cb X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-01-13 19:36:02 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mail From: "Byron Ala" Newsgroups: comp.os.linux.alpha References: Subject: Re: Hot Swap Hard Drive - How To? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sun, 14 Jan 2001 03:34:57 GMT NNTP-Posting-Host: 24.156.70.237 X-Complaints-To: abuse@home.net X-Trace: news3.rdc1.on.home.com 979443297 24.156.70.237 (Sat, 13 Jan 2001 19:34:57 PST) NNTP-Posting-Date: Sat, 13 Jan 2001 19:34:57 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.os.linux.alpha:1906 I am assuming that you have a 3 channel Mylex card for your hotswap config. If you do not have a Mylex ( DAC960 for Alpha ) then all bets are off. Make sure that when you run the RA200RCU in " ALPHABIOS " that controller settings are set for recovery. Then, there is nothing for the software to do. As far as it is concerned, it only sees what you've told the controller to let it see. If you want to add a drive, you will have to bring down the system and rerun RA200RCU. If this is not your configuration, and you are using a third party RAID controller, this won't help you. If you have a normal SCSI controller and you want to be able to hat swap drives, you are taking your chances. The act of inserting or removing a drive in one of these, causes SCSI Bus transitions, which can corrupt your data during the transfer. If you stop all I/O on that bus before you remove or insert a drive, you are safe. Do not expect any software to recognize the new drive though. You will have to create the device drivers before you can do anything with it. Marble Head wrote in message news:Xns90268C5B7nobodynowherecom@16.121.112.222... > I have a machine running dual ev6, that has all the appropriate hardware > for hot swapping hard drives. > Running RH 6.2, using the smp kernel. > > I would like to add and remove a hard drive on the fly. When I plug it in, > the hardware reacts, but the software doesn't. > > Can anybody tell me how (if) to let the kernel know that there is another > hard drive, and then how to tell the kernel to stop using it, so it can > safely be removed? > > Of course, I am familiar with mount, umount, swapon, swapoff. It's just a > matter of having the kernel (or scripts) do something for me, and I don't > know what... > > Thanks in advance.