From: Allan Sandfeld <linux@sneulv.dk>
To: linux-kernel@vger.kernel.org
Subject: Re: hot IDE change
Date: Thu, 24 Jan 2002 10:19:19 +0100 [thread overview]
Message-ID: <E16Tg2R-0001w5-00@Princess> (raw)
In-Reply-To: <Pine.LNX.4.21.0201232301090.1053-100000@dial-up-2.energonet.ru> <20020123170713.A17310@animx.eu.org>
In-Reply-To: <20020123170713.A17310@animx.eu.org>
On Wednesday 23 January 2002 23:07, Wakko Warner wrote:
> > 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.
Maybe ask it to spin down before cutting the power will be even better?
Also the cable issues are not a problem if you have a controller meant for
hotplugging (IDE RAID-controllers)
-Allan
next prev parent reply other threads:[~2002-01-24 9:22 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
2002-01-24 9:19 ` Allan Sandfeld [this message]
-- 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=E16Tg2R-0001w5-00@Princess \
--to=linux@sneulv.dk \
--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