From: Wakko Warner <wakko@animx.eu.org>
To: ertzog <ertzog@bk.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hot IDE change
Date: Wed, 23 Jan 2002 17:07:13 -0500 [thread overview]
Message-ID: <20020123170713.A17310@animx.eu.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0201232301090.1053-100000@dial-up-2.energonet.ru>
In-Reply-To: <Pine.LNX.4.21.0201232301090.1053-100000@dial-up-2.energonet.ru>; from ertzog on Wed, Jan 23, 2002 at 11:05:19PM +0000
> This question is more about hardware, but is also related to Linux.
> If I have a harddisk, plugged into the motherboard (IDE cable and power),
> can I turn it off, plugging out first power cable, then IDE cable.
> Can it harm harddisk or motherboard?
> If I can do it, then will Linux detect it back, if I make this
> operation back: i.e. plug IDE cable, then power cable.
I've read what everyone else has said about this. The one guy talking about
the pins and power has some good points. For me, I've always yanked the ide
cable before the power and made sure the drive was powered and spinning
before applying the ide cable. I have a machine at work dedicated for this
kind of thing.
anyway, from the linux side, as others have said, make sure it's unmounted.
On my dedicated box at work, it's nfs mounted and the ide driver is a
module. I'm always sure to remove the modules before removing the disk.
When compiled in, it's trickier. the source to hdparm has a script in the
contrib directory that allows you to turn off and back on an ide controller.
It won't do that if the disk is currently in use. You have to do this
before it will find another drive (ideally, turning off that channel,
swapping drive, turning back on) I've used this on my laptop that has a
hotswap cdrom.
--
Lab tests show that use of micro$oft causes cancer in lab animals
next prev parent reply other threads:[~2002-01-23 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-23 23:05 hot IDE change ertzog
2002-01-23 20:12 ` Ed Sweetman
2002-01-23 20:56 ` Richard B. Johnson
2002-01-23 21:18 ` Matus Horvath
2002-01-23 21:25 ` John Heil
2002-01-23 22:07 ` Wakko Warner [this message]
2002-01-24 9:19 ` Allan Sandfeld
-- strict thread matches above, loose matches on Subject: below --
2002-01-23 21:14 Petr Vandrovec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020123170713.A17310@animx.eu.org \
--to=wakko@animx.eu.org \
--cc=ertzog@bk.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox