From: nobody@nowhere.com (Marble Head)
Subject: Re: Hot Swap Hard Drive - How To?
Date: 17 Jan 2001 15:25:33 GMT [thread overview]
Message-ID: <Xns902C62974nobodynowherecom@16.121.112.222> (raw)
In-Reply-To: 87ofx8xvw4.fsf@zazu.vip.fi
Paavo Hartikainen <pahartik@sci.fi> wrote in <87ofx8xvw4.fsf@zazu.vip.fi>:
>Marble Head writes:
>
>> 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?
>
>These work fine on my AXPpci 33 with built-in SCSI controller (and on
>my SPARCstations) for finding SCSI devices that were not available
>when the kernel was started:
>
> echo "scsi add-single-device 0 1 2 3" > /proc/scsi/scsi
> echo "scsi remove-single-device 0 1 2 3" > /proc/scsi/scsi
> # with "0 1 2 3" replaced by your "Host Channel Id Lun"
>
>Device information shows up on "dmesg" and "/proc/scsi/scsi" after
>successful probe. I do not have SCA hardware, so it is not
>recommended to connect and disconnect SCSI devices while the system is
>up and running.
>
>Look at lines 1666 and 1720 on Linux 2.4.0 source file
>"/usr/src/linux/drivers/scsi/scsi.c" or lines 2363 and 2421 on Linux
>2.2.18 source.
>
Byron and Paavo, thank you both very much.
I have a DS20, and until now I never questioned the wisdom of
adding/removing a drive with the system running. Mostly because another
sys admin showed me how to do it on Tru64.
...
I'll go do some more research, and try to get a grip on this.
Thanks again.
prev parent reply other threads:[~2001-01-17 15:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-11 18:30 Hot Swap Hard Drive - How To? Marble Head
2001-01-14 3:34 ` Byron Ala
2001-01-15 23:01 ` Paavo Hartikainen
2001-01-17 15:25 ` Marble Head [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox